WordPress.org

Ready to get started?Download WordPress

Forums

help with wp_get_archives (6 posts)

  1. Jinsan
    Member
    Posted 9 years ago #

    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

  2. Joshua Sigar
    Member
    Posted 9 years ago #

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

  3. Jinsan
    Member
    Posted 9 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
    Member
    Posted 9 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
    Member
    Posted 9 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
    Member
    Posted 8 years ago #

    Wow...just...wow.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.