Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
-
Author
-
touren
ParticipantThank you soooooo much!!
with
COPY CODEif (!is_front_page() && !is_page('8175') && !is_page('8121') && !is_page('7344')){ putRevSlider('headerbanner'); }
everything is working fine now! I also tried
COPY CODEif ( !is_front_page() ) { if ( !is_page('8175','8121','7344') ) { putRevSlider('headerbanner'); } }
but this does not work!
thank you so much for your great support!
touren
Participanthi sharmstr,
thank you very much – it was my mistake – I messed up the code when I integrated it in my child theme.
now it works withCOPY CODEif (!is_front_page() && !is_page('8175') ){ putRevSlider('headerbanner'); }
when I want to exclude more pages like this
COPY CODEif (!is_front_page() && !is_page('8175,8121,7344') ){ putRevSlider('headerbanner'); }
it does not work I have to use it then this way
##COPY CODEif (!is_front_page() && !is_page('8175') && !is_page('8121') && !is_page('7344')){ putRevSlider('headerbanner'); }
is there a smarter way to exclude more pages?
touren
ParticipantWorks great! I want to do little modification!
I have used now this code
COPY CODEadd_action('kleo_before_main', 'inject_slider', 10); function inject_slider() { putRevSlider('headerbanner'); }
so that the banner is inserted on every page
how can I exclude injection on homepage and how can I use on my page ID 8175putRevSlider(‘contentbannerbig’); instead of putRevSlider(‘headerbanner’);
how do I have to extend the code above?
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)