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

    I have a popular problem: shortcodes are not work in excerpts. I tried to add this code to functions.php, but it changed nothing:

    add_filter('the_excerpt', 'do_shortcode');
    add_filter('widget_text', 'do_shortcode');

    Could anybody help me, please?


    Hey aserakov!

    Are you using the advanced layout editor for your posts? If so then you’ll need to add the shortcodes to the “Excerpt” field when editing your post. If you do not see the excerpt field then click on “Screen Options” in the top right hand corner and check it to display.

    If your using a different element then send us a link to your page so we can get a better idea.



    Hi, Elliott!

    For add excerpts I use excerpt field. Problem with shortcodes, which I type to this field —it’s not converted to text on the site.

    Here’s how it looks in the admin panel:

    And this is how it looks on the website:




    Where did you get the shortcode? Is that from a plugin? Please give us a link to the actual page, we would like to check it. I tested one of the theme’s shortcodes in the excerpt field and it works fine.

    Best regards,

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

You must be logged in to reply to this topic.