WordPress.org

Support

Support » How-To and Troubleshooting » How to tell if single post is being shown?

How to tell if single post is being shown?

  • Hi all,

    I am looking through docs, but not sure what I should be looking for. I want to have a section on my sidebar only show if a single post is being shown (ie single.php).

    Right now it shows on all pages since sidebar.php is used globally.

    Any help appreciated.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to tell if single post is being shown?’ is closed to new replies.
Skip to toolbar