Trying a static page
-
I’m trying to set up a static front page.
I’ve created a template called ‘Front’. From the wp admin screen I created a new page called ‘Home’ using the ‘Front’ template.
In
Settings - Reading
I choseFront Page Displays - A Static Page
and selected ‘Home’ from the dropdown box.When I navigate to my front page, the content I enter into the ‘Home’ page does not display. However, the sidebar does recognise the page as the front page because
is(front_page(())
works OK.In my ‘Front’ template I have used
<?php the_content(); ?>
to try and display the content. Yet nothing shows up.Does anyone know why this might be the case?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Trying a static page’ is closed to new replies.