Home Forums Weaver Show Posts & Show Sliders Hide Content Slider Without Posts

This topic contains 2 replies, has 2 voices, and was last updated by  AlanW 4 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #59575

    AlanW
    Participant

    Hi,

    When there are no posts of a given category, the Weaver Show Slider plugin simply displays “No posts found.”

    Is there a way to do either of these things if there are no posts?

    1) Prevent the slider from showing up at all.

    2) Display a custom message.

    Your help is appreciated.

    (Great plugin by the way!)

    #59576

    Weaver
    Keymaster

    Not at this time.

    Unfortunately, due to all the server issues we’re having, I really don’t have time to fix that at the moment.

    However, whenever I do release an updated version of Weaver Show Posts, which should happen in a month or so to update for WP 5.2, the ‘No Posts found” message will be filtered through a filter called ‘wvr_show_posts_no_posts’. There are plugins that allow you to add filters (PHP code), and you could use this mechanism to change the message to whatever you like – including an empty string.

    #59577

    AlanW
    Participant

    Very well. Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.