When you want to alter a theme to customise the loop you should do it in the following way (this is as much for my own reference as anything else):
In my current theme’s home.php file we can see the line:
<?php
if (have_posts()) : while (have_posts()) : the_post();
?>
This is the start of the WordPress loop. This version of the loop has no filters in place. It will output all posts in the system according to the default system settings. This will include all categories, dates, authors etc.
All we need to do is put the following line before the loop:
query_posts ($query_string . '&cat=4');
to create
<?php
query_posts ($query_string . '&cat=4');
if (have_posts()) : while (have_posts()) : the_post();
?>
Just how do you continue to keep blog writer out of keeping track of your own web page thoughts about your website?
How you can make a false blog site with a figure articulating his inner thoughts?
I’m planning on developing a area information internet site which will, for the most part, certainly be a bunch of nearby announcement reports authored by classifieds as well as other sources. Is it legalised to get this done? I might, needless to say, provide many credit for the copy writers. I’m just just simply wondering what the legitimateness on this could be? Information assist!.