how to display a shortcode for specific page
-
Hello
with php I would like to display a specific shortcode slider for each FR or EN front pageI have tried something like that
if( is_page(‘2329′) ) {echo do_shortcode(“[R-slider id=’1’]”);}
elseif ( is_page(‘2343′) ) {echo do_shortcode(“[R-slider id=’3’]”);}but not working at 100% on FR frontpage it’s ok for only display slider id 1 but on EN frontpage the slider id 3 is well display at the top page,
but the slider id 1 is also displayed under like a widget ???
If somebody can help me ?
Thank you very much
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘how to display a shortcode for specific page’ is closed to new replies.