Tagged: ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #334076

    Hi guys,

    if i add a shortcode to the main field (body text) before any text, excerpt will not be displayed on a (blog grid) page. If i manually add text to the excerpt field, it works, but i’d like to have it work regardless.

    Any clues?

    Thanks,

    Tomaž

    #334078

    PS: I added

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

    to my child theme, but to no avail.

    #334834

    Hi!

    Please go to Enfold theme options > Blog Layout and choose “Use the advance layout editor to build your own blog layout (simply edit the page you have chosen in Enfold->Theme Options as a blog page)” then create your blog page like any other page

    Best regards,
    Yigit

    #334963

    Hi Yigit,

    Thank you for the response, but i’m afraid i fail to see how this is an answer to my question. Perhaps if you could provide extra pointers?

    My settings are already as per your suggestion. For blog posts where i’m not using shortcodes, the excerpt is displayed normally (auto-generated), whereas for posts where i have shortcodes, it is not.

    This, i believe, is a known WordPress issue, and one which i have previously solved by applying the two filters mentioned above. However, it didn’t work with my current setup with the Enfold theme, and i was wondering whether you perhaps had any additional pointers in this regards?

    Kind regards,
    Tomaž

    #336508

    Hey Tomaz!

    the_excerpt() is not used by Enfold when a Grid layout is set, that’s why the filters are not working. Nevertheless, i think those excerpts should work fine regardless of wether the post has shortcodes or not, can you please create us a WordPress administrator account? post it here as a private reply.

    Regards,
    Josue

    #336686
    This reply has been marked as private.
    #337149

    Hi!

    Thank you for the screenshot. Please refer to this link: https://kriesi.at/support/topic/shortcodes-in-textausschnittenfixe-hoehe-bei-eintraege-slider/#post-267770

    Regards,
    Ismael

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.