Blog

WEBFI-WordPress-How to Create a Custom Page in WordPress



Are you looking to go more in depth in your website’s customizations? Creating your own custom layout and appearance than other pages on your site can make that page all the more striking. In this video we will show you how to create a custom page in WordPress.

Text version of this tutorial:
http://www.wpbeginner.com/wp-themes/how-to-create-a-custom-page-in-wordpress/

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Check us out on Facebook:
https://www.facebook.com/wpbeginner

Follow us on Twitter:
http://twitter.com/wpbeginner

Checkout our website for more WordPress Tutorials
http://www.wpbeginner.com/

Summary of this tutorial:

Tools mentioned in this video:

Sublime Text:

https://www.sublimetext.com/

FileZilla:

https://filezilla-project.org/

Start by creating a blank file and add the text from our video or copy it from our written article and save it with the .php extension.

Then connect to your hosting provider using FTP and go to your site’s wp-content/themes directory to find your theme’s folder, open it, and upload your new file into your theme’s folder.

This will allow you to use the template when you create a new page on your site even if the template does not show anything at the moment.

For displaying your content the simplest method for starting would be to copy your current theme’s page.php’s content and pasting it into your new template. #WordPress #WordPressTutorial #WordPressTips

source

38 Comments

  • Akbar Umar on June 11, 2018

    Thx for your tutorials

  • Airbnb Photography on July 10, 2018

    Where can i add the "template" dropdown menu under page attribute?

  • Drew Peer on July 12, 2018

    I don't see it in the dropdown.

  • Jayjay F on July 28, 2018

    How does it know to appear in the page tab in WordPress I mean they are all php files in the file, I assume it must say something in the code to signify it’s a page template, can you direct me to which part ?

  • Lil Moosa on August 23, 2018

    best one..!! how to add new type of custom page

  • yass ine on August 28, 2018

    hey what if this custom page redirect to another page after submit is there a way to show header and stuff on the new page after redirect? cuz this method only works on the first page

  • Pramod Rai on September 4, 2018

    How to design WordPress website myself effectively and attractively ?

  • Nabeelah P on October 7, 2018

    THANK YOU! this is cool, short and simple !

  • Kurt Gee on October 25, 2018

    Great video! This saved me so much!

  • John Nastepny on November 17, 2018

    It took me a while but in the end I managed to make it work. Many thanks!

  • Len Martin on December 27, 2018

    This video just saved me from a ton of frustration. Thank you

  • hellsbell on January 24, 2019

    how do i show my sidebar to appear on the page where i want only, similarly with the footer or any other pages.Thanks your tutorials are awesome

  • jacobbell on January 27, 2019

    This is driving me nuts. I've done everything correctly up to 1:41, as far as I can tell, but that custom template doesn't show up for me when I try adding a new page. Is anyone else running into this problem?

  • Mithila Bandara on February 8, 2019

    thanks…

  • yield sync on March 18, 2019

    how can i create a page in the theme folder without being required to create the page in the wordpress backend? i really dont want to create the page in the wordpress backend.

  • SueSnellLives! on March 20, 2019

    How do I host a Twine story on my WordPress site? I don't see any tutorials on it. I've uploaded my files into the plugins directory and tried pasting the index.html into a page in the "call to action" feature and no dice. Helllllp….

  • Bryan Dela Cruz on March 26, 2019

    where will you add your php code in there? thanks i need it

  • Naimur Hasan on March 31, 2019

    I can't wait thanking you. You… you… just read my mind. I was searching this video from thee days. Finally… You are awesome.

  • Paige Knight on April 9, 2019

    Thank you this was very helpful. Although, I'm wanting to create a custom page without the menu option because it's going to be used for our ppc landing pages. I haven't been able to find a way to take the content from the page.php and eliminate the header and footer content and make them custom page show my content. Any advice?

  • Dean Games on April 17, 2019

    Can you add custom code on the page for instance a custom search bar with filters?

  • Fonzje De la Rosa on July 3, 2019

    thanks!

  • lucxx36 on August 14, 2019

    2:00 "You just need to tweak it" Sweet pronouncing. And very helpful, thanks!

  • Robert on December 21, 2019

    Thank you, finally I was able to do it!
    But I do not have a page.php in the theme directory

  • Manish Shrestha on December 23, 2019

    It helped me a alot. Thank you so much…

  • Eskimoz on January 28, 2020

    Bravo , c'est du très beau travail !

  • Rajesh Chauhan on March 22, 2020

    Thank you 😊

  • Wee Crystle on April 18, 2020

    Hi there, I'm really new to WordPress and coding (basically everything). Was just wondering if for the text editor I can use the TextEdit application on a mac? Also I've downloaded Filezilla but I don't know how to use it at all. How did you load in all of the WordPress site info? Would really appreciate it if anyone can point me in the right direction. Thanks!

  • Daniel Botoc on May 18, 2020

    That will work if you don't have advanced customization, therefore not using a child theme. What about when changing/adding php customization for a specific ID page that came with the Theme without changing the functionality of the entire site.

  • R T on May 20, 2020

    Yep, this is a little gem 😉

  • Yasir Khan on June 5, 2020

    beautiful….easy and useful….

  • Grzegorz Latocha on June 28, 2020

    That's good first step. But I would like to be able to create fully custom page adding my js and css to it. Still not quite clear how to proceed, but at least I know some startpoint

  • Cooltimedia Panamá on July 14, 2020

    Thanks!

  • Bayu Adi Saputra on August 4, 2020

    OMG, thanksss

  • Dale Smith on September 3, 2020

    This is a fantastic concise instruction. But many themes do not have "attribute" so you cannot select a template What do you do then?

  • Mathias Knudsen on September 15, 2020

    I dont have current theme 2017 or 2020 or whatever ? what do you mean by current theme

  • Canal do Khal on January 1, 2021

    Great vid! tnx!

  • Sankara Pandiyan on January 5, 2021

    Definitely needed this video, thanks!!

  • Dheep Shemare on July 12, 2021

    folloed the steps to the letter to now avail. Does it matter where in the text editor the php file is?

WhatsApp us
Live Chat

Office hours operation Mon-Sun 8:00 am ET – 4:00 pm ET

To start your Premium WP or Cpanel service, use our domain search engine, if the domain you want is available, contact us by Whats app to activate your project.

The easiest, fastest, and most secure way to communicate with us.
loading
Please enter your domain.
Please verify that you are not a robot.

Terms Privacy

 

 

WEBFI NETWORK OFFICE HOURS 

Mon-Sun from 8:00 am /4:00 pm USA-ET

WhatsApp us

Small Business – WordPress – CPanel – Hosting

© Webfinet Affordable Private Small Business Solutions All Rights Reserved 2021 - Powered By WEBFINET.com
error: WEBFINET SECURITY IS ON