Hi All,
First off sorry as I am a bit of a noob when it comes to coding with wordpress.
I am currently running a free theme template with wordpress and am slowely teaching myself how it all works by editing it as I need to, but I have come to a bit of a hurdle that I haven't been able to find a solution for.
The theme I am using only uses one template for both single pages and templates. Currently author and date's appear for pages also. I would like to be able to modify this so that it only displays the 'author' and 'date' fields in the template if it is a post, and not a page.
Is there some sort of function I can use to have it check if the content is a page or post and wrap a <?php if ( around the calls for date & author??
Appreciate any help.
cheers