WordPress.org

Ready to get started?Download WordPress

Forums

n00b question: Prioritizing category display above others (6 posts)

  1. mlac
    Member
    Posted 7 years ago #

    Hello all,

    Recent convert from movable type here, still trying to work into the WP coding language.

    I was wondering how I should go about to do the following scenario:

    I would like the top entry of the page to display entries of the Media or Illustration categories. I only want one of these to be displayed on the front page.

    After that, I would like the subsequent posts displayed on the page to be of the News, Site News, and Recipes categories.

    How can I tweak the code around to make that happen?

    Many advance thanks...!

  2. moshu
    Member
    Posted 7 years ago #

    It would probably require the use of "multiple Loops"
    http://codex.wordpress.org/The_Loop

    Welcome to WP! Post back of you have more questions after reading the Codex.

  3. mlac
    Member
    Posted 7 years ago #

    Merci beaucoup, moshu. I'll definitely give it the once-and-perhaps-twice-maybe-even-three-if-I-didn't-have-coffee-over.

  4. moshu
    Member
    Posted 7 years ago #

    avec plaisir :)

    Actually I have a similar setup on one of my blogs but on the "top" I display posts only from ONE category, not two...

    Since I am not a coder, I got help in this thread: http://wordpress.org/support/topic/28203?replies=15#post-193667

  5. mlac
    Member
    Posted 7 years ago #

    Precision: if I exclude entries from a certain category, will that exclude the "child" categories of the excluded parent category?

  6. mlac
    Member
    Posted 7 years ago #

    Moshu!

    Your links were a great help, especially this one wordpress.org/support/topic/28203?replies=15#post-193667 Everything is behaving like it should. Many thanks!

    However, I was wondering what exactly I need to do to the syntax if I want to include and exclude two or more categories from each loop. I've been trying things out but nothing seems to be working...

Topic Closed

This topic has been closed to new replies.

About this Topic