Northwest Berry & Grape Information Network, Oregon State University | University of Idaho | Washington State University | USDA-ARS

Tools

Upcoming Events

Find

Back to Homepage


Topics

What's New




Support the

BerryGrape.org Website



Creating Posts, Pages, and Categories

This post serves as a step-by-step guide to adding new posts and categories in WordPress.

For editing category pages, Dreamweaver is the easiest chioce. You will need FTP access to those files. Editing posts and pages can be done directly in WordPress.

Creating a new post or page is quick and easy, and the first step is making sure you have a WordPress account with the privilege of creating new posts.

Creating a new post

  1. Log in to the site:
    • If you are currently logged out, click the “Log In” link in the footer.
    • If you are already logged in, there will be a link in the footer that says “Dashboard”. This will bring you to the adminstration section of the site, where you can create a new post.
  2. Once you are logged in and viewing the adminstration portion of the site, you can create a new post by:
    • Expanding the “Post” menu in the left column, and clicking “Add New”.
  3. At this point, you are ready to begin your new post:
    • Choose a title, and change the permalink if necessary (this will be the URL of the post).
    • Decide whether or not to allow comments. The box for this is in the “Discussion” section near the bottom of the page.
    • When writing content, you can choose between two tabs:
      • The “Visual” tab allows you to edit your post like a text-editor; you can highlight sections and change their appearance, you can make lists, and change the spacing and font size as needed.
      • The “HTML” tab allows you to write your post using HTML directly. If you do not know how to do this, use the Visual tab.
  4. Once you have written the new post, you can write a summary in the excerpt section (optional).
  5. Choose the categories that the post applies to. Be as specific here as possible.
  6. Add tags, separating them with commas. This will help in finding similar posts.
  7. Go to the upper-right corner, and click “Preview” to see if your post looks appropriate (this will open in a new tab/window). If it looks good, go back to the page where you wrote the new post, and click “Publish” in the upper-right corner.
  8. You have just created a new post!

Creating a new Page

  1. Log in to the site:
    • If you are currently logged out, click the “Log In” link in the footer.
    • If you are already logged in, there will be a link in the footer that says “Dashboard”. This will bring you to the adminstration section of the site, where you can create a new page.
  2. Once you are logged in and in the adminstration portion of the site, you can create a new post by:
    • Hover your mouse cursor over the arrow by the “Edit Posts” Button at the top of the page; click “New Post” in the drop-down menu that appears.
  3. At this point, you are ready to begin your new page:
    • Choose a title, and change the permalink if necessary (this will be the URL of the page).
    • Decide whether or not to allow comments. The box for this is in the “Discussion” section near the bottom of the page.
    • When writing content, you can choose between two tabs:
      • The “Visual” tab allows you to edit your page like a text-editor; you can highlight sections and change their appearance, you can make lists, and change the spacing and font size as needed.
      • The “HTML” tab allows you to write your page using HTML directly. If you do not know how to do this, use the Visual tab.
  4. Once you have written the new page, choose the page’s parent (only if it is a sub-page).
  5. Go to the upper-right corner, and click “Preview” to see if your page looks appropriate (this will open in a new tab/window). If it looks good, go back to the page where you wrote the new page, and click “Publish” in the upper-right corner.
  6. You have just created a new page!

Creating a new Category

*Creating a category requires creating a category, then creating a post to hold it’s contents.

  1. Log in to the site:
    • If you are currently logged out, click the “Log In” link in the footer.
    • If you are already logged in, there will be a link in the footer that says “Dashboard”. This will bring you to the adminstration section of the site, where you can create a new category.
  2. Once you are logged in and in the adminstration portion of the site, you can create a new category by:
    • Expanding the “Post” menu in the left column, and clicking “Categories”.
  3. The option to add a category appears, just next to the left column:
    • Choose the category name.
    • Choose the category Slug (similar to a permalink on a post).
    • If this new category is a sub-category, choose the parent category.
    • Add a short description.
  4. When the new category looks ready, click the “Add Category” link.
  5. Next, you need to create a post to hold the category’s content. Return to these instructions before publishing the post you create, as you may need to make some small adjustments.
  6. Before publishing the post, go to the “Role” section near the bottom of the page. It will have check-boxes for who can read and write to that post. Select all the check-boxes under “R”, and “Administrator” under “W”. This will keep the category’s post from being editable by anyone.
  7. In the content section, if you do not wish to display a list of all posts in the category, you are done, and can stop reading here. If you do want a list, you can enter the following code anywhere in the body of the post you are about to publish:
<table class="cat-post-list">
 <tr> 
  <td>
   <?php berrygrape_list_posts('category_name=markets-and-trade', 952); ?>
  </td>
 </tr>
</table>

 

*The number “952” in the example above should be changed to the ID of the post you just created. You can find the ID by visiting your post and hovering over the “Edit this Post” link. The ID of the post will be the number at the very end of the link.

*Next, the category name section, “markets-and-trade” in this example, should be changed to the category you created. The text you enter here should be the “slug” text of the category you made.

This completes the category creation process!