• Hello!

    I am using the Twenty Ten theme and am trying to work out how to modify the index/home page to simply display the latest post from two specific categories.

    I am bamboozled by “the loop” now. Perhaps it is just this theme, but it looks a lot more complicated than the past.

    Any suggestions or help is greatly appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • loop.php in TwentyTen is quite complex as it actually contains 3 different loops for use on specific types of pages. The Loop itself hasn’t really changed.

    If you’re looking at a custom version of TwentyTen, I’d strongly recommend making a child theme. Again – it’s not as complex as it sounds and has the dual benefit of protecting your customisations when you upgrade the parent theme (TwentyTen) as well as allowing you to focus on just the templates and/or CSS that you want to change. All your child theme would need to have is:

    – a style.css file (that could just import the parent’s stylesheet)
    – an index.php file for your custom Loop that can be as simple as you want it to be.

    Thread Starter netbloke

    (@netbloke)

    Thanks Esmi, I will have a look in to that then, and report back!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display latest post from two specific categories’ is closed to new replies.