• I used wp_dropdown_categories to display a drop down box for categories but when I select the categories it shows a ?submit=view on the end of the URL.

    Does anyone know how I can call the dropdown category without submit=view?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    Your template must have an <input> html tag with a name="submit" attribute. You are clicking on this input button to generate this url parameter. If you don’t have other code that uses it, you can just delete the name="submit".

    Thread Starter Port Elizabeth

    (@port-elizabeth)

    PERFECT! Thank you

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Removing ?submit=view from category dropdown select’ is closed to new replies.