Support » Fixing WordPress » Specific CMS Question

  • I tried to search for a relevant discussion on this, but couldn’t find anything (but I’m thinking someone else has though of this before) – so if there is a tutorial, plugin, existing theme or discussion about this, I thank you in advance for pointing me in that direction.

    I’m wanting to build a non-blog site and use WordPress as the CMS. The primary thing I need direction on is how to attack my needs for the index page. Rather than having a single (or multiple) complete (or excerpted) posts displayed strictly by chronology, I’m wanting instead to have excerpts from only the most recent post from each category displayed. “The Latest From X Category”, “The Latest From Y Category” and so on.

    My uncertainty comes from my lack of php coding skill, wondering how I can pull that category-specific data from each category to the index page.

    Thanks in advance for any help you can provide.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I dunno whether there is a ready made module for your needs – but I guess if you iterate through the categories id and get the latest post – you can do it. But it will require a bit of coding on the index.php.

    Alex King has a plugin called Articles which allows you to selectively mark entries for inclusion on the front page or any wordpress page.

    They are at work here, on my personal blog, as a separate page. I did not specifically add the category titles, the plugin does that for you:

    And I’ve done something similar with this plugin on the front page of my web design site .. selecting only certain articles to appear on the front page under “What’s New.”

    The downside to this plugin is that you can only use it once. I tried to create another page for portfolio items and do something similar to the page, but since it was already in use on the front page I could not.

    But this plugin is a good start, I believe. You can find it here:

    You might also think about some of David Chait’s category calling plugins and I believe some other folks have created plugins that call only specifica categories. Check out the plugins repository (found here under the “Extend” link) to see if something else might work.

    But for ease of use and a one shot deal, Articles is the best IMHO.

    If you don’t have to “hand pick” the posts displayed on the main/home page, just want the latest posts by category – Kaf has a home template by category:
    Note. This uses the home.php template which will take precedence over your index.php in every case.

    Thanks for all the replies – Moshu, I think your suggestion is going to do the trick for me. Thank you very much.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Specific CMS Question’ is closed to new replies.