Jump to content
Sign in to follow this  
danoah

How do I set a page template to a new template?

Recommended Posts

danoah

I created a new template and it is showing up perfectly in the Template Setup section, but the option isn't there when I create new pages. How do I assign a page to the new template that I created? Thanks, Dan

Share this post


Link to post
Share on other sites
danoah

Yes, but it doesn't answer this question.

Share this post


Link to post
Share on other sites
danoah

To clarify, I'm talking about a new custom template I created. It's not showing up on the page editor so that I can assign pages to it.

Share this post


Link to post
Share on other sites
Rob

Dan, if you'd care to elaborate about how you created the custom template, I'll see if one of the developers can provide you with better answers. A link to the site is actually helpful, or some screenshots.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
danoah

I created a new document in the platform base folder and called it page.custom2.php. I then changed the code in functions.php to: if ( function_exists( 'pagelines_add_page' ) ) { pagelines_add_page('base', 'Custom Page'); pagelines_add_page('custom2', 'Custom 2'); } This made the custom 2 template show up in the template editor, but not in the page editor, so I don't know how to assign the new template to new pages. The site I'm building is at buildsite.danoah.com. Thanks, Dan

Share this post


Link to post
Share on other sites
danoah

By the way, how do you include screenshots in these forums?

Share this post


Link to post
Share on other sites
Rob

Probably best to take the snapshot, post it to your images directory and provide a link. That's what most folks do.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
danoah

I see. I thought maybe there was a quick way to do it. Don't know what I'd take a screen shot of for this problem.

Share this post


Link to post
Share on other sites
Rob

I had been thinking of the step by step process showing how you created the template and how you're trying to apply it and the result.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×