This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: Add shortcode to blog teaser page

#1760
Jason Bobich
Keymaster

When you’re displaying the “full content” option, this is fairly common in displaying a classic blogroll. The way WordPress is setup, is you’re supposed to use the tag within your post where ever you want it to be cut off over in the blogroll.

http://codex.wordpress.org/Customizing_the_Read_More#Having_a_custom_text_for_each_post

Alternatively, WordPress does not process shortcodes in the_excerpt function. This is nothing specific to the theme. So unless you want to add this functionality via customization, this is not going to be possible.

I suppose you could do it theoretically from your Child theme’s functions.php like this:

add_filter('the_excerpt', 'do_shortcode');