Marc Steel
Forum Replies Created
-
This is very frustrating. Pod definitions I’ve used for years can no longer be edited.
How can I change something I can’t edit?
Or do you expect me to change a taxonomy name?
Forum: Reviews
In reply to: [NS Cloner - Site Copier] Theme and Plugins not activated in clonesI installed via the WP admin and it didn’t work. I downloaded the zip and uploaded it and it worked I’ll adjust my review. Thanks for the great product.
Got it, the answer is pretty simple really…
I switched the manage_{$name}_custom_column filter order on my plugin to higher number and added in the logic from your plugin.
So the column_value() method on my plugin looks like this:
function column_value( $empty = '', $custom_column, $term_id ) { if ( 'season' == $custom_column ) return get_metadata($this->taxonomy, $term_id, 'season', true); if ( 'order' == $custom_column ) return get_term_meta( $term_id, 'tax-order', true ); }
In closing, I learned a lot from your plugin and am using it’s sorting functionality, thanks.
Looks like it’s the same thing as this thread
To be more specific, the loop in your add_taxonomy_actions is calling column_value(). I’m doing something similar and apparently only one will “win”, depending on filter sort order. Any other custom columns return as false.