D5 Creation Forum

Open Forum for D5 Creation's Members and Visitors

Before requesting any support Please search the Forum First. You may find your desired answer. This will save your waiting time and will save our working hour. We may not answer the question which we have already answered. You should also read our Support Policy

Re: How to make a NEW TEMPLATE, with no sidebar or header

Front Page D5 Creation Forum General Support How to make a NEW TEMPLATE, with no sidebar or header Re: How to make a NEW TEMPLATE, with no sidebar or header

#4509
Paul Wallin
Participant

Sorry about that… i coudn’t figure how to delete the post.

But I researched and found this;

THIS ADD’S ADD’T MENUS (which is did)

register_nav_menus(
array(
‘main-menu’ => “Main Menu”,
‘member-menu’ => “Member Menu”,
‘Resume-menu’ => “Services Menu”

/*’profile-menu’ => __( ‘Profile Menu’ )
‘services-menu’ => __( ‘Services Menu’ )*/
)
);

BUT I GET A SPECIFIC PAGE TEMPLATE TO WORK. I TRIED THIS ON “FULLWIDTH.PHP”

< ?php
if (is_page(‘main-menu’)){
wp_nav_menu(array(‘menu’=>’Main Menu’ ));
} elseif (is_page(712)) {
wp_nav_menu(array(‘menu’=>’members-menu’ ));
}
?>

Where ID712 is a test page.

Appreciate the help.