How to Create a Full-Width Page in WordPress

How to Create a Full-Width Page in WordPress

How to Create a Full-Width Page in WordPress

WordPress best themes sometimes come with an inbuilt feature that enables users to create a full-width page. But not all themes come with this feature which made you visit this post.

1. Using a Plugin for Full-Width Page

Plugins have become a common solution for any major problems that you face on the platform. Hence, it should not come as a shock that a plugin can resolve this particular issue for you. The best part being this is a free program which means you do not have to pay anything for using it.

Use the free Fullwidth Templates Plugin to resolve your issue. This program will help you to effectively set up page title, sidebar, and comment section. This can be done for a single or multiple pages of your site. Other templates that are out of the box are also included when you use this software. The peculiar option is the ‘no-sidebar’ template.

2. Manual method to Create a Full-Width Page

When it comes to the manual methods you can easily create a full-width page template file for any theme. You can do it with the existing theme or for any theme that you want to use. It is a simple and straightforward process but you will have to walk through the corridors of coding.

The first thing you need to do is to create a blank template file on your system. Save the file with title full-width-template.php. After you are done with this visit the theme’s director from public_html/wp-content/themes/. Here locate the page.php file which can be accessed using File Transfer Protocol (FTP). Copy the entire content of this file and paste them in the file that you created in the system after the header.

In the next step find the line which denotes . Delete this line from the file. Your file is now ready for upload. But, before that, paste the following header code in the file.



Template Name: Full-Width Template


get_header(); ?>

Copy the entire content in the new file and follow the above-mentioned instructions thoroughly to avoid an error. After completion of tasks upload the file to your theme’s directory.

That’s it! You can now conveniently select page templates of full-width from the page attributes section of the editor. Both methods will help you in resolving your issue.

0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments