WordPress.org

Support

Support » How-To and Troubleshooting » How to display title and content on static homepage?

How to display title and content on static homepage?

  • Matthew Fries
    Participant

    @brewermfnyc

    I just created a static homepage for my site – just a splash page. I’m using a different template for this page which is basically the same as the default (index.php) template. For some reason I can’t seem to get the new template/page to display the page content (the content displays fine if I use the default index.php template).

    I’m requesting the content in a very basic way using the_content() exactly as it was in the index.php template – but it shows nothing when I designate my new template for a page.

    I read something somewhere about needing a loop to use the_content(), but there doesn’t seem to be a loop in the index.php template anywhere – it also just uses a simple the_content() request. Is there something happening differently with the index.php template?

    Where did I go wrong???

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to display title and content on static homepage?’ is closed to new replies.