Creating Multiple Featured Pages

August 19, 2007  

I have already been emailed a few times asking how to create multiple Featured Pages, so this is a tutorial that should help many users.

To start things off, the first thing you will want to do is open the page_featured.php file in your text editor. Now before you start, I would suggest saving it as a different file name, so you don’t accidentally save over the file as it is now. You can give it any name you want, but if the intent is to use the Featured Page multiple times, I’d name it something you can recognize.

For instance, the people that have emailed me have wanted to use it as a lead-in page for many sections - primarily for news sites. (i.e. Sports, Technology, Politics, Entertainment, etc.) So I would call the filename something like page_politics.php, or something similar.

After saving the file, the next thing I would suggest is to rename the page template title that is found at the top of the file. Here’s a screenshot of the page_featured.php file to show you where that can be found:

Featured Page with Revolution Theme

Again, I would change that to look something like this:

/*
Template Name: Politics Page
*/
?>

Once you change the page template name, save the file, and then upload it to the theme’s folder on your server. At this point, you are ready to create your page. Go into the write page section of your WordPress dashboard, and make sure you select the page template you created for your new page. If you created page_politics.php, then your screen would look like this:

Featured Page with Revolution Theme

At this point, all you need to do is save your page and it should be ready to go! Keep in mind that the Featured Page is comprised of 4 main containers, of which some are hardcoded and some are dynamic. For a map/explanation of those sections, take a look at the Creating a Featured Page tutorial, which will explain how each of those containers are built.