WordPress.org

Ready to get started?Download WordPress

Ideas

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

  1. kingbt
    Member

    12345

    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: 1 year ago #
  2. Ipstenu (Mika Epstein)
    Administrator

    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: 1 year ago #
  3. kingbt
    Member

    12345

    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: 1 year ago #
  4. Ipstenu (Mika Epstein)
    Administrator

    That isn't what I meant :D

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

    Posted: 1 year ago #
  5. kingbt
    Member

    12345

    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: 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    1 Vote
  • Status

    This idea has been implemented