Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#32972 closed enhancement (maybelater)

Control for dropdown categories

Reported by: rabmalin Owned by:
Priority: normal Milestone:
Component: Customize Version: 4.3
Severity: normal Keywords:
Cc: Focuses: administration

Description

I know lots of basic controls are already added in the core. And I also feel that it is not possible to add every controls in the core. But one control I miss for my every project is Dropdown Categories. So, I am creating ticket as feature request for adding Customize control for Dropdown Categories or Dropdown Taxonomies may be.

Change History (10)

#1 follow-up: @swissspidy
11 years ago

  • Type feature requestenhancement

#2 in reply to: ↑ 1 @rabmalin
11 years ago

Replying to swissspidy:

Example code for a category dropdown control can be found here: https://github.com/paulund/wordpress-theme-customizer-custom-controls/blob/master/select/category-dropdown-custom-control.php

Thanks for the link. Bookmarked it for future reference. Lots of controls in a single place.

I have created control for Dropdown Categories and using it in almost every project. I am just requesting to include it in core so that we dont have to create control which is much needed.

This ticket was mentioned in Slack in #core-customize by rabmalin. View the logs.


11 years ago

#4 @celloexpressions
11 years ago

We generally only add controls to core when they're needed for core features or if it's a basic input type that should be supported out of the box (history: #28477). I'm not sure whether this something that fits those criteria, although it's also possible that a lot of people would find it useful if we added it.

Could you provide some sample use cases for a dropdown-taxonomy control (which would presumably ship with a taxonomy argument that defaults to category)? That would help with evaluating whether it's something that should be in core.

#5 @rabmalin
11 years ago

I have listed some cases where I use Dropdown Taxonomy in my themes.

  • For displaying posts from selected category in Blog Index page. Select dropdown with multiple values.
  • Featured Slider/ Featured Boxes - I generally use Category or Tag selection. With multiple value support.
  • Testimonials Box - Category dropdown to choose posts from.

PS: These are points which I listed from my personal experience.

#6 follow-up: @swissspidy
11 years ago

  • For displaying posts from selected category in Blog Index page. Select dropdown with multiple values.
  • Featured Slider/ Featured Boxes - I generally use Category or Tag selection. With multiple value support.

Unless we have a better, accessible solution for dropdowns that support multiple values (see #31696), I feel like we should put this on hold. Otherwise it makes it more difficult to change things once they're in core.

#7 in reply to: ↑ 6 @rabmalin
11 years ago

  • Resolutionmaybelater
  • Status newclosed

Replying to swissspidy:

  • For displaying posts from selected category in Blog Index page. Select dropdown with multiple values.
  • Featured Slider/ Featured Boxes - I generally use Category or Tag selection. With multiple value support.

Unless we have a better, accessible solution for dropdowns that support multiple values (see #31696), I feel like we should put this on hold. Otherwise it makes it more difficult to change things once they're in core.

Makes sense. Then we can close this ticket as maybelater. One ticket down in the gardening. :-)

#8 @swissspidy
11 years ago

  • Milestone Awaiting Review

This ticket was mentioned in Slack in #themereview by rabmalin. View the logs.


10 years ago

This ticket was mentioned in Slack in #accessibility by poena. View the logs.


10 years ago

Note: See TracTickets for help on using tickets.