2 dropdowns, the first with all post-types and the 2nd with all taxonomies

  • Unknown's avatar

    I have a page where several types of posts are displayed + specific category, I have made two dropdowns: one with all post-types and another with taxonomies.
    Now I have to do the functionality, when selecting a post and a category, I want to display them on the current page, all I’ve done is to get my post and category id and put it in the link, created one function for each ( post type and category ) I did this with: change (function () and window. location.href.
    Any advice / suggestion would be helpful. Thank you !

  • Unknown's avatar

    Hey sorinavld,

    Please mention the link to your website.

    It seems that you’re talking about a self-hosted WordPress website.

  • The topic ‘2 dropdowns, the first with all post-types and the 2nd with all taxonomies’ is closed to new replies.