• Hello everyone. I added several different pages to my site (home, about, testimonials, services, blog etc.). Now I want to post some content in services page but can0t. Also, I want my blog page to contain blog posts but I can’t figure out how to do it either. My home page is static and I have no problems there. Another problem is adding a custom field. I’ve read numerous tutorials on adding posts to blog and adding custom fields but I have no idea where to find that same custom field to input data. It0s driving me insane. What am I missing? Please help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • To make the blog page your posts page, on the Dashboard menu go to Settings/Reading.
    Set Posts Page to your blog page.

    The box to enter Custom Fields is below the editor box when you are editing a Post. If you don’t see that box, open up screen options in the upper right corner and make sure there is a check in the Custom Fields checkbox.

    Thread Starter maamee

    (@maamee)

    Unbelievable! I’ve had my had around this for days now and it never occurred to me to look in settings. Live and learn, right? Thanks for the help. I really appreciate it.

    Anyway, as for the blog posts, I did what you told me but the problem with that is that now I can’t have posts in other pages like Testimonials or Services. I want to be able to have Services page static but with posts, Testimonials so that people will be able to make their own posts and Blog for me to blog occasionally.

    Hi

    See if this old post I wrote helps you set up one category per page
    http://wordpress.org/support/topic/show-only-x-category-posts-on-page?replies=9#post-1053767
    You can ask questions if any remain.

    If after setting this up you want to exclude posts on the Testimonial or Services pages from appearing on your home page, you can either add an “exclude” parameter to a query_posts statement on your posts page, or use the Advanced Category Excluder plugin to accomplish the same thing.

    If you want to add the code, it is this:
    <?php $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
    query_posts(“cat=-3,-7&paged=$paged”); ?>

    where 3 and 7 would be the category IDcodes for the two categories you want to exclude (you must use the ID’s from your live site, not my sample numbers of 3 and 7. The minus in front of the 3 and 7 means to exclude and not include that category ID. (If your index.php page already has a query posts before the WordPress loop you have to merge the code above with the existing query_posts code) Again, you can ask more questions if necessary.

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

The topic ‘Adding posts to different pages’ is closed to new replies.