Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4730

    How would I add short code to a post and have it display on the front page. It does work but you have to click the post title to the full story to see. I would like to have it display in the post on the front page.

    Thanks

    #47341

    Hey,

    as far as I know excerpts will strip html tags and shortcodes by default. You can try plugins like: http://wordpress.org/extend/plugins/advanced-excerpt/ to activate html styling, etc.

    #47342

    Thanks. Like I said tho the short code does work when you go to the full story. With your theme if you post a image it will not show up on the front page but it will on the full story. It seems if I can remove the excerpt from the front page it should fix my problem maybe?

    Thanks

    #47343

    You can change following code in index.php to get the full content . Replace:

    <?php the_excerpt() ?>

    with:

    <?php the_content() ?>

    however the advanced excerpt solution would be better imho.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘short code on blog/post’ is closed to new replies.