Hide content if in… site_id?
-
How can I insert content to the page.php or single.php, for only one blog (e.g.: ID:45).
Something similar:
<?php if ( in_category( array( 3 ))) { echo '<div id="postcontent">content</div>' ; } ?>
For page, not for category?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Hide content if in… site_id?’ is closed to new replies.