• Hello,

    I was wondering if and how i could integrate “dynamic category viewing” into my page.

    So for instance, You go to the archive/categories page and there are two drop down lists. The first one lets you look through posts by month and the other lets you look through posts by category.

    Then you choose to look through all the posts in the month of march(now there is a new set of posts on the screen). Then you want to look through all the posts by category “B” within the month of march. am i making sense? =]

    Anyways, i’m trying to figure out if this is reasonably possible because i’m not familiar with php (but i can figure things out).

    Any help or even a tip in the right direction would be great.

    THanks,
    Ch4sethe5un

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yeah you should be able to do this using wp_list_categories, but set it not to use LI/OL….

    Only been a WordPress user for 1-2 months, but it’s definately possible…

    You’d just generate 2 selection boxes, and have the categories/months looped as <option>, instead of

    • It would need a little more work then that, but i’m sure there’s some gurus here who would know how to do it….

      By default wp_list_categories lists the categories using…

    • the first cat
    • the second cat
    • So you’d just need a few tweaks to firstly get those listed using…

      <select>
      <option value=”the first cat”></option>
      <option value=”the second cat”></option>
      </select>

      Then go from there…

      You wanted some direction, so i hope that helps…

    Well i tried writing in LI elements to explain, but the CODE tag isn’t sticking….

    Hence you can’t see where i’ve typed LI…

    Thread Starter ch4sethe5un

    (@ch4sethe5un)

    Thanks for the direction =]

    I think i can use some of the built in parameters and it should it the hard.

    I think i can write a few if elseif statements with these parameters:
    -child_of
    -exclude or include

    I will work on it today and see if i can come up with some php code to do this. Thanks again

    Ch4sethe5un

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘dynamic categories viewing’ is closed to new replies.