Blog: Excerpt with shortcode instead of featured image

This topic has 7 replies, 3 voices, and was last updated 4 years, 10 months ago ago by Martin

  • Avatar: kikjou
    Martin
    Participant
    August 16, 2020 at 10:52

    Hi,
    I would like to run shortcodes on the blog page that are located in the excerpt of single post. Addtionally, the featured image should be removed from the blog page.

    Shortcode are enabled for excerpts, however, their content does not show up, as I was used to from the Classico theme.

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

    Could you advise how to completely enable shortcodes on the blog page and how to disable the display of the featured image on the blog page?

    Best regards
    Martin

    6 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 16, 2020 at 15:58

    Hello,

    Please provide temporary wp-admin and FTP access, so we can take a closer look.

    Regards

    Avatar: kikjou
    Martin
    Participant
    August 16, 2020 at 18:34

    Hello,
    you can find the credentials in the private content area, thank you!
    Regards
    Martin

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    August 17, 2020 at 16:27

    Hello,

    You forgot about FTP access. Provide FTP host, username and password.
    Also, tell me what shortcode do you plan to show in the excerpt? Is it shortcode generated by some plugin? Wich one?

    Regards

    Avatar: kikjou
    Martin
    Participant
    August 17, 2020 at 17:42

    Hello,

    sorry, here you go.

    at the moment from these 2 different plugins. It could also be woocommerce or other shortcodes.

    Image Map Pro [Graeserkombi_0001]

    Product Table [product_table include=”8570,6560,6486,6485,6482,6615,6626″ columns=”image,name,att:bluetezeit,att:hoehe-max” search_box=”false” reset_button=”false” lightbox=”true”]

    It worked in Classico. After having migrated to xstore I didn’t have shortcodes enabled right away. As expected, the shortcodes were showing as code. After enabling shortcode in the excerpt, the code text disappeared, but the shortcodes weren’t (visibly) executed.

    Best regards

    Martin

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    August 17, 2020 at 18:21

    Hello,

    Thank you. I have passed your issue to our developers. I’ll inform you once they check the issue.

    Regards

    Avatar: kikjou
    Martin
    Participant
    September 18, 2020 at 07:13

    Hello,
    thank you, very much appreciate. In the meantime I could achieve the same thing with Elementor’s blog feature, so on my side the topic can be closed.
    Best regards

  • Viewing 7 results - 1 through 7 (of 7 total)

The issue related to '‘Blog: Excerpt with shortcode instead of featured image’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.