WordPress.org

Ready to get started?Download WordPress

Forums

HOW TO publish last post from a category @ homepage (6 posts)

  1. zwight
    Member
    Posted 7 years ago #

    Hi
    I'm working with WordPress as CMS. I would to know how can I publish the lasts posts from an specific category (news, for example) at blog's homepage in addition to the post of other categories... I mean... something like this: http://www.radiozero.cl/
    Thanks in advance and excuse my english.

  2. Tom Lany
    Member
    Posted 7 years ago #

    You are probably need to look for the correct theme (or create your own) to get your blog to look the way you want it to. Check out the WordPress Theme viewer for starters.

  3. stchatterbox
    Member
    Posted 7 years ago #

    @zwig

    Yes, this is possible tweaking the 'Loop'. Read the codex for more information.

    Another wordpress user (i've forgotten her name) suggested using a little thing called simplePie http://simplepie.org/

    I think editing the loop is much more easier.

  4. zwight
    Member
    Posted 7 years ago #

    Actually, I will create my own template... My question is about the code that I need to publish the lasts posts from an specific category at blog's homepage in addition to the post of other categories. I don't have a lot of programming skills. Can anybody help me to find the right code to do that?
    Thanks

  5. stchatterbox
    Member
    Posted 7 years ago #

    @zwight

    Do you mean you want to show the latest posts of different categories on the front page like this:

      Category A

    • Post 1
    • Post 2
    • Post 3
    • etc...
      Category B

    • Post 1
    • Post 2
    • Post 3
    • etc...
      Category C

    • Post 1
    • Post 2
    • Post 3
    • etc...
  6. zwight
    Member
    Posted 7 years ago #

    stchatterbox
    I'm trying to have a "news block" in some place of homepage and publish in this space the lasts N° post from a "news" category.

    Something like this:

    IMAGE      # Category A (news)
                       # Post 1
                       # Post 2

    BELOW...
    All the posts published
    except A category

    Thanks in advance

Topic Closed

This topic has been closed to new replies.

About this Topic