Title: Posts and pages
Last modified: August 19, 2016

---

# Posts and pages

 *  [mtibbits](https://wordpress.org/support/users/mtibbits/)
 * (@mtibbits)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/posts-and-pages-1/)
 * Hello,
 * I’m running into a few issues using WordPress as a CMS for the first time…
 * Most of my site is made of of **Pages** rather than **Posts**. All current menu
   items link to a Page that has been created through the dashboard.
 * If you visit the site ([here](http://69.89.31.185/~veqca/test/)) you will notice
   that the “homepage” actually displays the few posts that I have entered. This
   is ok, as that is what I want to happen.
 * Currently, index.php is the only template file I am using in my theme. In that
   file I have the loop code as follows:
 *     ```
       <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
   
       <h1><?php the_title(); ?></h1>
   
       <?php the_content('<p class="serif">Read the rest of this page &raquo;
       '); ?>
   
       <?php wp_link_pages(array('before' => '<strong>Pages:</strong> ', 'after' => '
       ', 'next_or_number' => 'number')); ?>
   
       <?php endwhile; endif; ?>
       ```
   
 * This is somehow displaying my **posts** when you first hit the site, and then
   the **page** to a corresponding link that is clicked.
 * The question is: where do I go to change **HOW** these posts appear on the “homepage”?
   Is it in the “loop” that is right there on the index page? Or, will that mess
   up my pages?
 * A second question to all this is: How do I create a link so that posts appear(
   say for a news page) instead of an actual page? Can I have links for both pages
   and posts in the same menu?
 * Not sure if all that made any sense, but any help would be greatly appreciated!
 * Thanks in advance,
 * Matt

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/posts-and-pages-1/#post-973650)
 * > The question is: where do I go to change HOW these posts appear on the “homepage”?
   > Is it in the “loop” that is right there on the index page? Or, will that mess
   > up my pages?
 * If you only have one template, index.php then that is being used to display both
   your posts and your pages so you will want to look at [Template Hierarchy](http://codex.wordpress.org/Template_Hierarchy)
   and add another template for [Pages](http://codex.wordpress.org/Pages) (e.g. 
   pages.php).
 * Related:
    [Stepping Into Template Tags](http://codex.wordpress.org/Stepping_Into_Template_Tags)
   [Stepping Into Templates](http://codex.wordpress.org/Stepping_Into_Templates)
   [Template Hierarchy](http://codex.wordpress.org/Template_Hierarchy)
 *  Thread Starter [mtibbits](https://wordpress.org/support/users/mtibbits/)
 * (@mtibbits)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/posts-and-pages-1/#post-973654)
 * Sweet, that did the trick.
 * Now, how do I create a link to a specific category of posts, such as news, and
   can I somehow include that link in a menu generated using wp_list_pages?
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/posts-and-pages-1/#post-973657)
 * If you want the categories listed with the [Pages](http://codex.wordpress.org/Pages)
   then read this little trick…
    [How to easily display links to both Pages and Categories in blog navigation header?](http://codex.wordpress.org/FAQ_Layout_and_Design#How_to_easily_display_links_to_both_Pages_and_Categories_in_blog_navigation_header.3F)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Posts and pages’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/posts-and-pages-1/#post-973657)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
