BoldGrid / boldgrid-inspirations

The BoldGrid Inspirations core plugin for WordPress.
https://www.boldgrid.com/
GNU General Public License v2.0
11 stars 12 forks source link

do not display theme categories #167

Open jamesros161 opened 1 year ago

jamesros161 commented 1 year ago

Resolves #166

Note: This method of handling this retains all initial functionality for edge / candidate channels, in order to allow for any future decisions to return to a category based functionality, and to also allow for testing / development of new themes easily without them appearing on 'stable' . This change essentially skips the API call to fetch the categories list, sets 'default' to the active category, and then hides the categories list if the user is on the 'stable' release channel.

Testing instructions:

  1. Checkout this branch and build.
  2. Activate Inspirations
  3. Proceed through the Inspirations process, noticing there should only be 'Default' themes displayed.
  4. Afterwards, switch to a non-stable channel, and repeat, noticing the categories should all display as before.