• Hello all,
    I’m trying to customize a theme by adding a carousel just like this one http://sorgalla.com/projects/jcarousel/examples/static_simple.html however with text below the thumbs.

    I was able to do it statically using html, but I have no idea how to populate the
    <li> using php. My intention it is to call from one specific category a thumb and the title, perhaps an excerpt from the last 8 posts under that category.
    How can I change the code below, so I can add to my home.php and get the result as desired?

    <ul id="mycarousel" class="skin-tango">
        </li>
    <li> <a href=""><img src="" alt="" />title or excerpt</a> </li>
        ...8 posts

    Than You in advance.

The topic ‘How to add template tags?’ is closed to new replies.