Optimise WordPress for large number of taxonomies assigned to a custom post type

  1. kingbt


    Is there a way to optimise WordPress for large/insane number of taxonomies assigned to an custom post type?

    The example
    I wanted to build a site with electro reviews and the specs for the items are added via taxonomy to the post type gadget.
    So, I would have:
    -custom post type named gadget;
    -custom taxonomies like tag, category, brand, screen type, screen size, OS, RAM, procesor, graphics card, procesor brand, HDD, numeric keyboard, batery, batery type, memory type, screen rezolution etc;
    -custom field price;

    The problem
    All the taxonomies are listed in the left side menu and in the custom post type post-new.php screen. This is a huge mess.

    The fix:
    For custom post types with insane number of taxonomies show Taxonomies (or Attributes/Specificatins) menu item (WooCommerce does this so http://i49.tinypic.com/4k7cyo.png ) instead of all taxonomies and if I click on the Taxonomies (or Attributes/Specifications) menu then all the taxonomies should be displayed.
    In the post-new.php screen I should be able to chose wich taxonomies I want to add to the custom post type like WooCommerce does http://i48.tinypic.com/2pzfia9.png

    Posted: 7 years ago #
  2. It looks like Woo is doing that by making custom meta data for their posts. But clearly if they have done it then it can be done :) if you need support on how to do that, post in the support forums.

    Posted: 7 years ago #
  3. kingbt


    I could use the WooCommerce plugin, but it would be nice if WordPress would have this (the ability to manage/display a huge amount of taxonomies in the admin area) in core in a near future.

    Posted: 7 years ago #
  4. That isn't what I meant :D

    What I mean is WordPress does have the ability. I know because WooCommerce is utilizing it.

    Posted: 7 years ago #
  5. kingbt


    I understood what you said.

    I tried to do it from scratch and realised that for creating the meta box and for doing what Woo did I need too much time.

    So the best thing for now is to use WooCommerce. WooCommerce does not have only PHP functions to create and operate the buttons from the meta boxes, it uses JS too. And for the taxonomies/attributes it has separate database tables.

    Posted: 7 years ago #

RSS feed for this topic


You must log in to post.

  • Rating

    1 Vote
  • Status

    This idea has been implemented