[Resolved] Post Excerpts pulling in Soliloquy info as well

Home Forums Support [Resolved] Post Excerpts pulling in Soliloquy info as well

Home Forums Support Post Excerpts pulling in Soliloquy info as well

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #818816
    willworksdesigns

    Hi Tom,

    I’m having an issue with Soliloquy (slider) code showing up in my post excerpts when I view posts as an archive. The posts themselves consist of a two column layout with a Soliloquy slider on the left and text content on the right. The posts are fine when viewed as posts but view a category archive and the excerpts show the slider code. Here’s a screenshot image on Dropbox for reference:

    1. The archive view:
    https://www.dropbox.com/s/w9wajf6hznhvzna/Screen%20Shot%202019-02-23%20at%206.33.20%20AM.png?dl=0

    2. The post view:
    https://www.dropbox.com/s/j1tjgqqjuxpugcn/Screen%20Shot%202019-02-23%20at%207.10.26%20AM.png?dl=0

    Thanks for any light shed on this issue!

    #818928
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    WordPress excerpts strip HTML from the content. In this case, it’s stripping the <style> tag of the slider, and showing the CSS.

    I’m not sure of a specific solution, unfortunately. One possibility is to include a custom excerpt using the Excerpt metabox. That way WordPress won’t pull the slider into the excerpt at all.

    #818978
    willworksdesigns

    Thanks for the explanation and the suggested solution, Tom. Sounds like a viable workaround. I’ll give it a go.

    #818984
    willworksdesigns

    Hi Tom,

    For anyone interested in a plug-in based solution to this issue…

    This plugin adds a rich-text post excerpt box for each post that replaces the standard post excerpt:
    https://en-ca.wordpress.org/plugins/rich-text-excerpts/

    It takes a second to set-up and works like a charm as shown in this image of a post using rich-text excerpt and another post not set-up to use it:
    https://www.dropbox.com/s/u441lkt7wsqgbep/Screen%20Shot%202019-02-23%20at%2010.13.38%20AM.png?dl=0

    Best,
    WV

    #819158
    Leo
    Staff
    Customer Support

    Thanks for sharing!

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