WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Archive page- list of posts with dates (3 posts)

  1. Jake
    Member
    Posted 1 year ago #

    Hey everyone. I'm quite new to WordPress, so bear with me.

    I really like the way CSS-Tricks has its archive page laid out (http://d.pr/i/GKBM), and was wondering what might be the best way of achieving this? In my html mockup, I basically have a similar thing going on, by using unordered lists and divs.

    I've Googled around and often only find how to use a php specific "line of code", for lack of a better term, e.g. something like this:

    <?php wp_get_archives('type=postbypost&limit=20&format=html'); ?>

    But that generates a list, which unfortunately doesn't allow much for css manipulation, like certain php lines do such as <?php the_date() ?>, <?php the_title() ?>, etc. in relation to index.php

    Anyway, if anyone knows of a good solution, that'd be awesome. Hope that makes sense, thanks!

  2. Jake
    Member
    Posted 1 year ago #

    Figured it out. Though I can't remember all the recourses I used, essentially it had to do with templates for pages and setting up post loops within them.

  3. themorgantown
    Member
    Posted 1 year ago #

    Hey Jake:

    Would love to see a snippet of code you used if you're open to sharing.

    Thanks,
    Daniel

Topic Closed

This topic has been closed to new replies.

About this Topic