page, post content
-
Hi,
How to write a code for the display the dependent content for page & post. For Ex:
<header>
if (is_page()){ //display the page content }
else { //display the post content }
<footer>Thanks
The topic ‘page, post content’ is closed to new replies.