My theme uses the front-page.php file to display a number of items on the front page including a slideshow and some featured items. I have also designed it so the static front page as set in the wordpress settings is displayed as an excerpt within this template. I then planned on having a read more button so the full page could be viewed on it's own without the slideshow etc( i presumed using page.php ) but it appears I've outsmarted myself, as that static page seems to be destined to display using front-page.php according to the WP hierarchy. Can anyone suggest anything that might help me. What i need is some way to tell that page to open in page.php if it's accessed via the read more button.
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
I would recommend having two static Pages for this arrangement:
Then, in (If this is a distributed Theme, then you'll want to add a Theme option or other means by which to select the Page ID to query in |
|||
|
|
|
Not sure if there's a better answer but in case it's of help to someone in future, I ended up adjusting the query using |
|||
|
|