XSitepro

How to use Wordpress as a website?

Wordpress website tutorial

One among the most asked questions about Wordpress, the blogging software is that how to use Wordpress as a website? We all know, when it comes to blogging, Wordpress is the best blogging software which is extremely easy to configure and customize. However, the question is can we use Wordpress as a website? Can we customize Wordpress to work as a complete website and content management system? The answer is “yes”! You will be amazed to know that you can use Wordpress blogging software as a complete website with just 5 minutes of tweaking.

To begin with, all you need is a fresh installation of Wordpress blog. You can use any theme of your choice, I recommend using the popular Studiopress themes because they are highly customized and give the look of a website. But feel free to use any theme of your choice, any theme can be used to give the look of a website.

XSitepro

Once you are ready to convert your Wordpress blog into a website, go to the theme editor: Appearance > Editor
Then go to the header.php file to edit this file.

All you need to do is tweak this piece of code:

<?php wp_list_pages('sort_column=menu_order&hierarchical=0&title_li='); ?>

The above code may be a little different depending upon the theme you selected. It may be simply:

<?php wp_list_pages(); ?>

Those in between (sort column, menu order, etc.) are just different parameters to display “pages” with style in the top menu bar at front end of your website.

The trick here is to display only those pages that you wish to display in the menu bar. So if we simply change the code to display selected pages in the menu, any other page you create will not show up in the menu bar.

For eg.,
You wish to create a Wordpress website that has 5 main pages that should be displayed in the top menu bar:
Home, Products, Services, About us, Contact us.

And then you wish to create hundreds more pages but do not wish to display all of those pages in the top menu bar.

So, instead of using the wp_list_pages() function, you can assign “manually” the pages that you wish to display in the top menu bar, like this:

<li><a href="http://www.devduff.com/">Home</a></li>
<li><a href="/products/">Products</a></li>
<li><a href="/services/">Services</a></li>
<li><a href="/about-us/">About us</a></li>
<li><a href="/contact-us/">Contact us</a></li>

That’s all! Now feel free to create thousands of pages and customize as per your need, create silo design, link them where ever you like to. Also, you can create a separate page for blogging and display it in the menu. You can have a static front page. Change the settings to show a different page instead of showing your latest blog posts as the home page.

Also, you can do the same thing with Categories. Instead of using the wp_list_categories() function, using the above method, you can display your Wordpress website categories the way you want. You can perhaps, change the order of categories, display most important categories or display fewer categories, according to your choice.

Wordpress offers tremendous flexibility to make your web presence. And it is free. What more do we need to get going with a gorgeous looking Wordpress website in minutes? If you enjoyed reading this article and found it useful, please share your joy by leaving a comment below or share it with your friends. Your comment love will encourage me to share more useful Wordpress tutorials with you.

Share:
  • Sphinn
  • Twitter
  • Digg
  • del.icio.us
  • Propeller
  • BlinkList
  • Mixx
  • Reddit
  • Faves
  • Technorati
  • Google Bookmarks
  • Yahoo! Buzz
  • blogmarks
  • FriendFeed
  • connotea
  • Netvibes
  • NewsVine
  • Netvouz
  • Fark
  • Slashdot
  • StumbleUpon
  • Facebook
  • MySpace
  • Identi.ca
  • email

Tags: ,

XSitepro

2 Responses to “How to use Wordpress as a website?”

  1. Hi there,
    Thanks for this post. Excellent work! This has saved me hours -if not days – of tweaking experimentation.
    Thanks, Peter.

  2. Wow, great piece of information…It is definitely very helpful for everyone. Thanks a lot for sharing it.

    Cheers :-)

What do you think about this article?

Note: All Comments Are Moderated!