Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #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.




    as far as I know excerpts will strip html tags and shortcodes by default. You can try plugins like: to activate html styling, etc.


    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?



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

    <?php the_excerpt() ?>


    <?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.