yes i have read this and i added the code but i need it to not have all the nav bar side bar and other stuff from my website, i need to know what to do for that
added what code?
you create the page template and leave out
<?php get_sidebar(); ?>
<?php get_footer(); ?>
etc.
a good place to start is copy the theme’s page.php
you will need to rename it to something else and add
<?php
/*
Template Name: anythingyouwant
*/
?>
to top
then just start removing stuff you don’t want from file
thanks for trying, but i am not getting it, where do i copy the page and now i am noticing that my pages are being under lined i dont know what i did to achieve it, but i have to fix it
ftp to site or use host’s file manager
download the page.php file from your theme
open it in notepad or any plain text editor
save it as newpage.php (or whatever you like)
open newpage.php
add this to very top
<?php
/*
Template Name: newpage
*/
?>
start removing the stuff you do not want – like sidebar, footer, etc.
when done – save
upload newpage.php to same place as your theme’s page.php
now go to add new page in dashboard
in right sidebar is a drop down to choose templates
your newpage template should show there
select it
add content you want – save/publish