Support » Fixing WordPress » Working with wp_get_archives and query_posts

  • I’m relatively new to WordPress & php and am trying to create a custom blog template within our WP site…

    Here’s the URL to what we have right now:

    Here’s what I’m trying to do:

    1. Modify the Archive navigation on the left so that it has subcategories listing months with posts. e.g.


    • August (1)
    • July (3)


    2. Write some sort of code so that, when you click on one of the navigation links, it modifies the query_posts expression & displays only certain posts (e.g. posts with category=6 and/or in August 2010)

    I’ve started to write basic code that pulls a value from the end of the URL…so how can I populate the value(s) @ the end of the URL based on which link someone clicks on the nav bar?

    3. Allow for comments to be made on individual posts – currently the comments link under each post links to the single post page and I’m not sure how to fix it.

    Any ideas or help out there? Would REALLY appreciate some direction.


  • The topic ‘Working with wp_get_archives and query_posts’ is closed to new replies.