I need dropdown list with certain category and offset (4 posts)

  1. code012
    Posted 5 years ago #

    I have a blog with hundreds of post coming in our way.
    For easy navigation, I want a dropdown list for certain category and offset. The reason I need an offset is to divide dropdown list menu in hundreds. Say, if I have 300 posts, I can use offset to make 3 separate dropdown list menu.

    I've tried many other plugins to make it happen and so far WP Dropdown Posts plugin is the closest I can find. But I don't know how to filter out the category.

    I'm also thinking maybe wp_get_archives have similar parameter options but I don't know how to make dropdown menu + categories + offset from it.

    Any help would be appreciate it.

  2. jedwards-kcbt
    Posted 5 years ago #

    Any luck on this? I'm hunting for the same thing.

  3. code012
    Posted 5 years ago #

    No, still no luck.
    If you find anything, please let me know!

  4. julioponce
    Posted 4 years ago #

    I did something like that with

    $allsearch = &new WP_Query("category_name=".$_SESSION["category"]."&offset=".$_GET["offset"]);

    foreach($allsearch->posts as $post)?>

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.