Forums

How to link Category to new Page? (5 posts)

  1. sngsl
    Member
    Posted 2 years ago #

    Hi everyone,

    I need to create a new Category named "Requested" and i need it's post show in new Page called "Requested" and i don't want that post show on Front page.

    when I'm posting under that category post need to show on my new page not on Front Page.

    hope someone will help me to solve this...

    Thank you...

  2. MichaelH
    Volunteer
    Posted 2 years ago #

    Use the technique here to create a page that can 'link' to your Requested category: How to easily display links to both Pages and Categories in the blog navigation header?

    Review The Loop on how to exclude posts from a category.

    Related:
    Stepping Into Template Tags
    Stepping Into Templates
    Template Hierarchy

  3. sngsl
    Member
    Posted 2 years ago #

    Hi MichaelH,

    Thank you so much and I'll try and add comments...

    Thank you again...

  4. sngsl
    Member
    Posted 2 years ago #

    Hi MichaelH,

    I looked all the thinks you provide to me but can get exact point because I'm don't have much knowledge with PHP and other languages..

    if you can tell me how to do it.

    If category 14 have post show them on Request Page (no repeat on front page.)

    posts from other categories show on front page as default.

    this is the thing i need...

    please be kind to advice me to do it...

    Thank you...

  5. sngsl
    Member
    Posted 2 years ago #

    Hi,

    Half of my problem solved, from all of your's helps i found that code

    <?php
       if (is_home()) {
          query_posts("cat=-14");
       }
    ?>

    after add this code to my index.php posts of cat=14 not showing on front page.

    and then how to make them to show on my "New page"

    Please be kind to help me solve other half...

    thank you...

Topic Closed

This topic has been closed to new replies.

About this Topic