How set a display condition for Banner

Hello, I currently have my banner (slider revolution) displaying on all blog posts. I want to set a condition that removes it from certain blog posts (not to be confused with pages). Here is a copy of the code I currently have running that needs to be adjusted in the themes file…

image

Thank you

Hey Brian,

Regretfully, this involves custom development so this is outside the scope of our theme support.

What I can do is lead you to the right direction. You need to update the if conditions in your code and use the is_single WordPress function like if ( is_single() && !(is_single(2)) ). 2 in the sample code is your post ID. In case you don’t know how to get the post ID, check out this article: https://theme.co/docs/how-to-locate-post-ids

Please just note that we will not support issues that will arise from the use of custom code nor will we provide enhancements. If you have issues with your custom code, you need to consult with your personal developer.

Hope that helps and thank you for understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.