Support » Plugin: WP Notification Bars » Hide Notification Bar on specific Posts or Pages

  • Resolved Ritesh Saini

    (@impunk)


    Hello,

    I see there is an option to hide the bar on homepage, posts, or pages but I couldn’t find any option to hide it on a particular post and not all the posts.

    I’m using this bar to promote a specific post so certainly, I don’t want the bar to appear when the user is on that specific post. How do I do it?

    Thanks in advance,
    Ritesh Saini

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author MyThemeShop

    (@mythemeshop)

    Hello Ritesh Saini

    Sorry for any inconvenience that might have been caused due to that.

    Are you still facing the issue?

    Looking forward to helping you. Thank you.

    Hey @impunk,

    instead of configuring the target-post via
    Edit Notification Bar > CONDITIONS

    you can simply open the post or page where you want to display your specific notification bar. As soon as you switch to edit-mode you will find the field for “Notification Bar” in the right sidebar underneath the “Parent Attributes”.

    If it’s not being displayed, just enable it via “Screen Options” in the upper right corner, left to the “Help” section.

    Hope this helps …

    Ciao,
    Sascha

    One more thing: If it’s possible, pls add “SOLVED” to the title of this support-request, so that other users will find this solution more easily

    • This reply was modified 5 years, 5 months ago by presscode.
    Thread Starter Ritesh Saini

    (@impunk)

    Hey @saschinger

    Thanks for your response. I want to hide the bar on a specific WordPress post. I understand that editing the post and adding the notification bar to it specifically is possible. But my task is to hide it on that specific post.

    Can’t find any way to do so.

    Regards,
    Ritesh Saini

    Thread Starter Ritesh Saini

    (@impunk)

    Hello @mythemeshop

    Yes, I’m still facing the issue. There is no option to hide the bar on a specific post.

    Waiting for a solution. Regards

    Oh, I have misunderstood you, thought you wanted to “publish” a bar on a specific post instead of hiding it, sorry.

    I’m afraid that “hiding the bar from specific posts” is a not feature that the plugin provides by default.

    But you can still use CSS in order to hide the bar on specific post:

    1 – Fetch the id of the post that should not display the bar. In edit-mode of the post you find the id in the URL. Google for this if you have difficulties to find out post id.
    2 – Open Customizer > Additional CSS and enter this code:

    /* hiding wp-notification-bar from post */
    .postid-1234 .mtsnb-top{
    	display: none;
    }

    In this code you just need to replace ‘1234’ with the post-id that you have determined previously. I hope this is the correct code …

    Thread Starter Ritesh Saini

    (@impunk)

    Yes, I’ve tried the CSS method and it works perfectly. But that’s the last resort. I was expecting @mythemeshop to add this functionality to the plugin only.

    Anyway, thanks for the help and support. I really appreciate that 🙂

    my pleasure 🙂

    Regarding the feature to be added I think, if they didn’t promise to deliver this feature, I would be careful with expectations, because it’s a free plugin and plugin-developers have no obligation to provide new features.

    If they don’t get paid for their plugins, they’re not even obligated to deliver updates at all. We should be thankful for what we get 🙂

    Thread Starter Ritesh Saini

    (@impunk)

    Yes, I totally understand. It was just a basic feedback for the future feature suggestion. No hard feelings at all 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Hide Notification Bar on specific Posts or Pages’ is closed to new replies.