Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: regarding Home theme seeing a new create page seperate from pages created in wp


matt082606
Participant

@matt082606

You’re in luck I just had to do this myself, and here is how I did it.

I created a new php file that I wanted to use for the page and added this to the top of the file:

<?php

/*

Template Name: MY_TEMPLATE_NAME

*/

?>

you can make, MY_TEMPLATE_NAME, whatever, but be careful there are some reserved template names.

Save this file in the root directory of your home theme (i.e. wp-content/themes/buddypress-home) now under your admin blog write a new page (NOT POST), make the title relevant to what you want, but don’t put anything in the actual page.

Scroll down to the “Page Template” menu and when expanded you should see a drop down box with the “MY_TEMPLATE_NAME” as an option. choose that and now just copy down your permalink, and that is the direct link to your newly created page. SIMPLE! I also added in my side_bar to the page I created so that the navigation menu stayed put as I move through all of my pages.

Skip to toolbar