Setting up Pages in my new WordPress blog

I’m in the process of setting up my new Travel blog using Revolution Lifestyle as a theme. There’s loads of help on WordPress forums to help you but if you’re a beginner with WordPress like me, you might find it useful to know how I set up my pages at the start.

Setting up Pages
Adding new pages is easy in your WP admin area by going to Write/Page. In the advanced options at the bottom, you can then set the order you want the pages to appear under Page Order. You can also select a template to use from the dropdown under Page Template.

I wanted to have two blog-style pages, each of which would have different kinds of content. One would be my travel blog, with all my travel related articles. The other would be my blogging journey, with articles related to setting up and developing my blog. I reasoned that not all readers interested in travel would be interested in the technicalities of blogging, so I wanted to keep the articles separate.

Read on if you’re setting up a wordress blog and think this could be useful to you.

Setting up two different blog pages
This is how I set two separate blog pages, each with different content.
WARNING: This involves changing the HTML code in the Design/Theme Editor/Templates. Before you make these or any other code changes, you should always as a precaution make a copy of the original HTML code, for instance in a Word Document, in case you make a mess of it and need to easily go back to the original version.

Page 1 – my travel blog
1. I created a page called my travel blog in the WP Admin area, choosing the  blog page template from the dropdown under Advanced Options/Page template.
2. I had already set up some categories and sub-categories in the WP admin area under Manage/Categories. When you are in the WP admin page Manage/Categories and looking at the list of your categories, you can hover over each category in the list and will see a link appear at the bottom of page which ends something like cat_ID=45. The number at the end of the link will be different for each category and is your category ID. You will need this ID when adjusting the code in your blog page templates, which will tell the page which category posts it needs to show.
3. I went to Design/Theme Editor and in the list of Templates on the right, selected the page_php template. This brings up all the code for that template in the window which can then be changed.
4. I looked for the following code
<!–p $page = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; query_posts(“cat=1&showposts=5&paged=$page”); while ( have_posts() ) : the_post()–>

In this code the cat=1 indicates the ID of the categories that will appear on this page. You can change it to another Category ID, for example  by writing cat=3. If you want several categories to appear you can put a series of category IDs, for instance cat=1,2,3 . If you want all categories except one to appear, you can use the code cat=-1 where 1 represents the category ID you need to exclude. If you want all categories to appear you can remove the cat=1 altogether. The code will then look like this;
<!–p $page = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; query_posts(“showposts=5&paged=$page”); while ( have_posts() ) : the_post()–>

Incidentally, the showposts=5 indicates that 5 posts will show on the blogpage. You may can change this number if you want.
5. Save your changes. When you press the visit site button and view the updated site, the blog page should now show the posts from the categories you wanted.

Page 2 – my blogging journey
First I needed to set up a new template for the second blog page.
1. I went to the place on the computer where I had stored the unzipped files I downloaded for my wordpress theme, Revolution Lifestyle. I made a copy of the page_blog.php in the same folder giving it a new name, page_blog2.php.
2. I uploaded the page_blog2.php file onto my server. To do this I logged into my server. I opened the public_html/wp-content/themes/lifestyle10 folder on the server. Then I found the new file page_blog2.php that I had created and uploaded it to the lifestyle10 folder on the server. (The exact theme folder name may be different depending on the theme you are using).
4. The new file page_blog2.php should now appear in the WP admin area under Design/Theme Editor under the list of Templates. Now click on the new page_blog2.php template, which will bring all the code it contains into the viewer. You now need to make the necessary changes to the code to ensure your second page will show the categories you want.
5. At the top you’ll see the following code;

Template Name: Blog Page

You should change the words Blog Page to whatever name you want to give your new template. For instance, I changed it to;
Template Name: My blogging journey

This will ensure that the new blog template shows up in the dropdown in the WP Admin area under  Advanced Options/Page template. Save your changes.
6. You now need to change the category ID as described for Page 1 step 4 above, to ensure that your second page only shows the category you want to show on that page. In my case I used cat=40, in which 40 was the Category ID for my category named my blogging journey. Save your changes.
7. Next I created a page called my blogging journey in the WP Admin area, choosing the  my blogging journey template from the dropdown under Advanced Options/Page template.

Lastly I made a few test posts, to check that my two blog pages were working correctly.

I’m just a beginner in setting up my WordPress blog, but hoping that what I’ve learned the hard way may be some use to you. However, if you have queries on how to do things, the best place to search is the WordPress Help area or the support area for your theme. Happy Blogging!

You Might Also Like


  • Reply
    Setting up my feeds in Wordpress Revolution Lifestyle : Heather on her travels
    January 17, 2009 at 9:02 am

    […] Posts Setting up new pages in my WordPress Blog Some tips to keep readers on your blog Choosing my WordPress […]

  • Reply
    Changing the header in my Wordpress Revolution Blog : Heather on her travels
    January 24, 2009 at 3:39 pm

    […] related posts Setting up my feeds in WordPress Revolution Lifestyle Setting up pages in my new WordPress blog Project Planning for my WordPress […]

  • Reply
    suchmaschinenoptimierung service
    January 25, 2009 at 3:11 am

    Great stuff. I’m still new to blogging and this post was really helpful for me. Thanks a lot for it. I had a small walk along your blog and it’s really awesome. Keep up the good work. I’m definitely going to come back again. Thanks

  • Reply
    ask web directory
    January 26, 2009 at 4:14 am

    Awesome. One of my friends who visited few days back recommended me this site. And simply awesome. I’m still new to blogging and this article will help me a lot. Oh and WordPress rocks. Keep up the awesome work. Thanks

  • Reply
    How to set up the Featured Content Gallery in Wordpress Revolution Lifestyle : Heather on her travels
    January 27, 2009 at 11:18 am

    […] Related Posts Changing the Header in my WordPress Revolution Blog Setting up pages in my new WordPress blog Setting up my Feeds in WordPress Revolution […]

  • Reply
    January 28, 2009 at 3:56 am

    Great stuff. I am currently using blogger for my blogs but over the past few weeks I’ve been thinking to move to WordPress. Its proven to be simply awesome. love the plug-in support and all. I’ll need this article thanks.

  • Reply
    Mirjam @ Low Book Sales
    February 3, 2009 at 4:54 pm

    I’m currently using Jumla. But I kind of want to step one step forward and make my blogging experience more fun and interesting. Most of my friends recommend WordPress. And I’ve decided to migrate to WP. Hooray. thanks for the useful article. I will need it during the migration. Thanks

  • Reply
    Fluke Ti10 Thermal Imager
    February 14, 2009 at 5:05 pm

    Nice post. I’m a beginner and this post helped a lot. This was very useful. Thanks for sharing the information with us. Keep up the good work.

  • Reply
    outdoor advertising
    February 16, 2009 at 6:03 pm

    Great post. Very useful. This helps me to manage my blog. Thanks for sharing the information with us.

  • Reply
    getac m230
    February 17, 2009 at 3:15 am

    Thanks. Awesome stuff. I’m kind of new to WordPress. This helped me out good. Been using blogger and wordpress has really amazed me. Thanks. Cheers

  • Reply
    one way links
    April 3, 2009 at 2:20 am

    Thanks for the really useful information. This would really come in handy when I start my new blog. Thanks for the information. Cheers

  • Reply
    January 23, 2010 at 2:25 am

    I found the link to this post from the StudioPress forums. It is exactly what I have been searching for. Thank you!

  • Reply
    January 23, 2010 at 2:34 am

    Oh, and I just noticed that your archives in the sidebar is a dropdown list–how did yuu do that?

  • Reply
    Heather Cowper
    January 24, 2010 at 7:06 pm

    @ Karen The dropdown archive is in the widgets via design/widgets/ add the archive widget to the relevant sidebar and edit the settings to show as dropdown

  • Reply
    Madelyn Cox
    May 5, 2010 at 9:36 pm

    I usually submit 300 word articles on article directories to help me gain backlinks and readers.*-.

  • Reply
    August 7, 2010 at 7:04 pm

    Thank you so much for your page and your clear instructions. Helped us do what we wanted!

  • Reply
    Heather Cowper
    August 7, 2010 at 7:13 pm

    @Deb – so pleased this was of help – I’m not very technical myself so I always try and explain it in simple terms

  • Reply
    How to set up pages on your new Wordpress blog
    September 22, 2010 at 9:26 pm

    […] This post will give you tips on how to set up pages for your WordPress blog. I originally wrote it when I was setting up my Travel blog at Heatheronhertravels.com, using the WordPress Theme, Revolution Lifestyle, so may not apply in every instance. This article was originally published at Heather on her travels here. […]

  • Reply
    September 25, 2010 at 6:14 am

    Great Post. Thanks for the tips.
    Spencer´s last blog post ..Casa Colonial Beach &amp Spa Puerto Plata

  • Reply
    April 1, 2011 at 10:00 pm

    thank you so much. I was trying to change something on my blog, but needed the category id and didn’t know how to locate it until I came across this blog post.

    Thanks for sharing your experience


  • Reply
    Heather Cowper
    April 3, 2011 at 11:49 am

    @ Spencer, Tim – Glad these tips were useful.

  • Reply
    Chaser Cruz
    June 1, 2011 at 2:51 pm

    You have shared a brilliant idea. Good thing that WordPress is created and it is useful for blogs. WordPress is been a great tool.

  • Reply
    Bristol Caribbean Foods Recipes
    May 28, 2015 at 6:56 am

    Excellent weblog right here! Additionally your website loads up fast!
    What host are you the usage of? Can I get your associate hyperlink in your
    host? I desire my website loaded up as fast as
    yours lol
    Bristol Caribbean Foods Recipes´s last blog post ..Bristol Caribbean Foods Recipes

  • Leave a Reply

    CommentLuv badge

    This site uses Akismet to reduce spam. Learn how your comment data is processed.