WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] How to identify whether rendering page or post?

[Resolved] How to identify whether rendering page or post?

  • I’m experimenting with the Pages in 1.5, and would like to have the template used for the Pages be almost identical to that used for regular posts. Is there an easy way for me to, in index.php, know whether I’m currently rendering a Page or a Post?

    TIA,

    Sweth.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] How to identify whether rendering page or post?’ is closed to new replies.
Skip to toolbar