help with wp_get_archives (6 posts)

  1. Jinsan
    Posted 11 years ago #


    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

  2. Joshua Sigar
    Posted 11 years ago #

    I don't think wp_get_archives() is that versatile.
    I'd go with some Loop.

  3. Jinsan
    Posted 11 years ago #

    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

  4. Joshua Sigar
    Posted 11 years ago #

    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)

  5. Jinsan
    Posted 11 years ago #

    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

  6. jasongraphix
    Posted 10 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.