[wp-hackers] Set page content within specific file

Mike Little mike at zed1.com
Mon Jan 30 20:22:25 GMT 2006


On 1/30/06, Sam Sherlock <sam.sherlock at gmail.com> wrote:
> I have two file I wish to display in addition to the main rundown page
> (home)
>
> Gallery & Contact each page will display a page from the WP database.
>
> Gallery will display the gallery page, contact will display the page
> name contact
>
> can I use slugs to help me here
>
> I have been searching for how to do this, its probably simple but I have
> missed it somehow
>
> atb - Sam S
>

If I understand what you are asking then I think you need page
templates See http://codex.wordpress.org/Pages#Creating_your_own_Page_Templates
for an overview.

This would have been better asked on the support forum.


Mike
--
Mike Little
http://zed1.com/


More information about the wp-hackers mailing list