WordPress.org

Support

Support » How-To and Troubleshooting » help with wp_get_archives

help with wp_get_archives

  • http://codex.wordpress.org/Template_Tags/wp_get_archives

    I’ve read the above, but I need some guidance on how to add a few things that I’m not how to do, and since the codex doesn’t have any such examples that I could find, I’m posting this here.

    Using wp get archives, I want the form to be:

    category name/date of post/post name&link/total comments for entry (displayed as a link to the comments for that post):

    so it might look something like:

    rants 27/08/05 this is the link and title of my post 7

    rants = cat, date = date, text = link for entry 7 = link to comment and total

    thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • I don’t think wp_get_archives() is that versatile.
    I’d go with some Loop.

    could you expand on that alphaoide – i don’t like playing with the loop since i don’t know what i’m doing with 99% of the time. how would i use the loop to generate the output as above?

    well its disappointing from a tag viewpoint – guess i’ll have to go with plan b – a plugin 🙂

    cheers anyway

    I can’t believe you’re not accustomed with the Loop, yet.
    http://codex.wordpress.org/The_Loop#Multiple_Loops_Version_1 example 2 or 3

    And then inside the Loop just insert the_category, the_date, and everything else (all you want has a correponding template tag in codex)

    thanks i went with the plugin method though – i find the loop a difficult concept, other software i found use tags to simply the process, but the loop is too much for my little brain. too stupid to use it i guess

    Wow…just…wow.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘help with wp_get_archives’ is closed to new replies.