trubble
Member
Posted 5 years ago #
Hi
I've just installed wp 2.2
what code do I need to put around the code that displays the date written/category something is in so that it only shows if it's a post rather than a Page?
I was wondering if it's something to do with "is_post" but i'm not sure of the actual syntax/code to use....
thank you!!
Nope.
You need a Page template (the default is page.php) and edit out/delete whatever you don't need. If the file exist - WP knows it has to use it for displaying Pages.
Save your index.php as page.php and edit it...
trubble
Member
Posted 5 years ago #
gotcha - i see what you mean.
Thanks!