• Hi all,
    I’m a newbie of WP, and i feel very confused.

    I wish a sidebar categories output like this

    – Category 1 [RSS image] (number of posts)
    – last three post in data order
    – Category 2 [RSS image] (number of posts)
    – last three post in data order
    – Category 3 [RSS image] (number of posts)
    – last three post in data order

    by now, after a long time, i wrote
    wp_list_cats(‘optionall=1&sort_column=name&optioncount=1&feed_img=images/RSS.gif’);

    but i don’t know where to copy xml.gif.. i tryed different places but it does not appear

    i still also can’t see how to write the postlist under each category.

    i passed hours looking for help on forums+wiki+guides.. but i still can’t do it and i don’t know how to solve, so i asked here.

    please help me, i’m so confused ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Essentially your q is *How do I add an image to a link* ? The answer is to insert the link as the background to the li a then indent the link using a margin. Fancy on hover behavior is optional.

    Thread Starter puck2001

    (@puck2001)

    no, i don’t think so… i think that’s not the question..

    well.. i’ll try to be clearer..

    for the images i read the “feed_img” should do the work, but i cannot make it works.. i think because it cannot find the right path
    using “images/RSS.gif” i thought it could search the images on the images subdir of the template path…
    but also in the source code there’s no trace of the image

    (with the feed parameter it works, with a simple string as output)

    and for the list of posts under each category.. any idea?

    Well why woiuld you expect to see the image in the source code anyway. ?

    Thread Starter puck2001

    (@puck2001)

    in the html source code…

    to see if (maybe) the image was linked but not found (broken)..

    i told there’s non trace in the source code to underline that WP does not create the code aspected..
    and i don’t know if that’s a behaviour of WP because it doesn’t finde the image, or a syntax error of my newbiness ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Small number of post under category in sidebar’ is closed to new replies.