We're merging with GenerateBlocks! Learn more here.

[Support request] move css style outside the post content?

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support move css style outside the post content?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29657
    rly
    Participant

    Hey guys

    we are using wp show posts pro and love it so far.
    We are using WP discourse plugin to display the post in our forum.
    But the <style> tag of wp show posts pro within the posts causes issues.
    Unfortunately discourse doesn’t support style tags and just prints the contents of it in the post.

    is there any way to move the wp show posts pro css style tag and its contents outside the post content for example into external fine or before the body tag?

    #29668
    elvin
    Moderator

    Hi there,

    This can’t be done on the current version, unfortunately. But Tom is working on this for the next version as it’s already been brought up to him before.

    From Tom:

    there’s no way to only enqueue CSS in the <head> if a shortcode exists on a page like there is with a block. it’s one of the things we’ll be able to improve with the block version

    We can’t give out any ETAs for the fix release, but we announce things on this page.
    https://wpshowposts.com/category/development/

    #29738
    rly
    Participant

    awesome!

    Is there any way to subscribe to the feed via email?

    #29770
    elvin
    Moderator

    awesome!

    Is there any way to subscribe to the feed via email?

    Not at this moment, unfortunately. I’ll ask Tom if we could make a mailing list.

    I’ll let you know. Thanks. 🙂

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