Slider use automatic excerpt whilst rest of website uses manual

  • Anonymous

    #8885

    Hi,

    First time caller, long time listener 😉

    I’m currently fixing up my homepage, and using excerpts from my posts. The first part of all my posts start with an ‘important message block’, then the rest of the article follows after that.

    I’ve been creating my excerpts manually, and at first on my homepage, the important message block was only in text, and not displaying the box. I’ve since added the code add_filter('the_excerpt', 'do_shortcode'); to the functions.php and very nicely, the excerpts now display the message block and a little bit of extra text underneath.

    The problem now is that the important message block is now displaying in the slider, which I’ve set to show featured image and excerpt. Is there a way for the slider to only show an automatic excerpt of the post rather than my manual one, as the automatic ones used to work perfect for the job before.

    Thanks, Sam

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.