maybe there’s a better way to do this, but…
i’ve set up my index page with the WP blog entries showing in one div, and other stuff in other divs.
when you click to the permalinked page, comments, etc, the same index page is used to show the full article with comments.
this is great, but when viewing the full blog entry, i want to hide the “other stuff”.
is there a way, using wp tags or other php, i can identify when the page is in the permalink/comments state and not show certain content?
can i check for some variable or something?
PHP_SELF doesn’t cut it, as it’s always the same file, index.php.
- The topic ‘hiding content on the homepage when viewing full/permalink/comment page’ is closed to new replies.