WordPress.org

Ready to get started?Download WordPress

Forums

Need Catergory Pages to layout like frontpage (4 posts)

  1. KarlB
    Member
    Posted 4 years ago #

    Hi all,

    First let me show you what I am trying to achieve. On the Mimbo Pro demo category pages are showing newest post as featured, then a few recent posts then a list of older posts. See here: http://demo.prothemedesign.com/wordpress/mimbo-pro/category/politics/

    But I have searched high and low on google trying to learn how to do this but as of yet I have failed miserably. Can anyone point me to somewhere that shows this or is able to give me a few pointers?

    anything would be greatly appreciated.

    Thanks,
    Karl

  2. MichaelH
    Member
    Posted 4 years ago #

    You would need three loops to do that. Here's one example:
    http://www.daobydesign.com/blog/2007/07/modifying-wordpress-front-page/

    You can also look at the older free Mimbo theme's index.php to get ideas.
    http://www.darrenhoyt.com/2007/08/05/wordpress-magazine-theme-released/

  3. KarlB
    Member
    Posted 4 years ago #

    Great!

    Thanks Michael, that helped a lot :)

  4. PBP_Editor
    Member
    Posted 4 years ago #

    You can also copy the index and name it a category-#.php

    So if you have a category id 1 you would copy index.php and name it category-1.php

    Then in the new category-1.php change the PHP references to cat= and you will have posts only from the category display.

Topic Closed

This topic has been closed to new replies.

About this Topic