Rendering Shortcodes in the Manual Excerpt Field

Posted in: Newspaper
Post count: 14

Adding the lines

add_filter( ‘the_excerpt’, ‘shortcode_unautop’);
add_filter( ‘the_excerpt’, ‘do_shortcode’);

in the theme’s functions.php file doesn’t seem to work anymore. I would like to add a shortcode from TablePress but only the code text is shown, e.g., [table id=16 /]

Post count: 22421

How are you implementing the shortcode into the pages?
Shortcodes need to be implemented trough the column text element like so: https://www.screencast.com/t/LFAFqmzqyfIO

Thank you!

Post count: 14

I trying to make a table (and a short paragraph) appear as an excerpt on a page of posts such as, https://www.ipqpubs.org/category/warning-letters/ using a manual excerpt entry, like this:

http://www.screencast.com/t/8IfYt2oBi

Thank you!

Post count: 20688

Hi,

That doesn’t seem to work, maybe try something like this
https://www.screencast.com/t/YUpB6j5cRNki
That could work, give it a try.

Thanks

Post count: 14

Dang, that worked. Sweet!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.