WordPress.org

Ready to get started?Download WordPress

Forums

Custom Taxonomy Sort
Great plugin - thank you (4 posts)

  1. IstanbulMMV
    Member
    Posted 2 years ago #

    Excellent plugin - many thanks for your work on this Zack.

    As best practice, I wonder if the 'termmeta' table that is created by the plugin should be prefixed e.g. zt_termmeta?

    Also, just wondering aloud, maybe this plugin could be extended to include the ability to store a category image reference? In a theme I'm working on, I currently associate category images via an entry in the options table and echo via a call to get_option(). With your plugin already creating a new table, would be great to store all term meta data in one place and reference appropriately e.g. term_id = X, meta_key = tax_image, meta_value = smile.gif.

    Anyway, just a thought. Once again however, thank you for a wonderful plugin.

    Cheers

    http://wordpress.org/extend/plugins/custom-taxonomy-sort/

  2. Zack Tollman
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks a lot for the great complement!

    I do agree that it would probably be best to prefix the new table. I actually learned, only after releasing the plugin, that there is a term_order field in the terms table. I have been looking into a way to utilize that and ditch the extra table altogether.

    Images for categories would be a nice touch. I probably won't do it with this plugin because that is not the intent of the plugin. In your case, I would encourage you to use the termmeta table to add the image references. The termmeta table is created using a plugin that I included within my plugin called Simple Term Meta. It provides an API for adding/updating/deleting termmeta. By using these functions, you can add the meta that you want. I've actually written about this before: http://www.wpmods.com/adding-metadata-taxonomy-terms/.

    Thanks for the great compliments! I hope you continue to enjoy the plugin!

    Best,

    Zack

  3. guitavares
    Member
    Posted 2 years ago #

    Excellent plugin and great discussion about the tables and image potentials.

    I am using it to improve a feature I developed for a soccer team website, where I have custom post type for the players and the staff. So I created custom taxonomies to group them by role (goalkeepers, defenders, etc.).

    Your plugin helped me to display the team players in a specific order on the website (grouping them by role).

    The only thing I would suggest is that you make the "order" column as sortable column on the taxonomy list, at the WP admin panel. It would really help.

    Keep up the good job! Cheers

  4. Zack Tollman
    Member
    Plugin Author

    Posted 2 years ago #

    Guitavares,

    I TOTALLY agree that the sortable order column would be really helpful. It's a REALLY tricky thing to implement and I've not quite figured it out as of yet. Once I do, I'll get it into the plugin.

    Thanks for your compliments! It's great to see how different people are using the plugin.

    Best,

    Zack

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic