WordPress.org

Support

Support » Themes and Templates » page, post content

page, post content

  • James
    Member

    @sureshkutti

    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.