How to include a second sidebar file for a special URL? eg. /store/
-
How do I write a function like this, in the page.php
<?php get_sidebar(); ?>
And then some IF code here.. IF the url is https://specialurl.com/ex/
Then…<?php include ('sidebar2.php'); ?>
instead.
I’m not into PHP. Just CSS / XHTML.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to include a second sidebar file for a special URL? eg. /store/’ is closed to new replies.