dadastudio
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Categories] [Plugin: Media Categories] custom taxonomy is not savedEddie,
another issue. .. I use WPML plugin to translate my custom taxonomies and while I switch language, select some options and save, settings from previous language are lost.
I know that Your plugin is not compatibile with WPML but It would be great if You could take a look at this and show me a direction how to fix it..
Regards
Forum: Plugins
In reply to: [Media Categories] [Plugin: Media Categories] custom taxonomy is not savedOk got it. It works ?? Thank You very much.
Forum: Plugins
In reply to: [Media Categories] [Plugin: Media Categories] custom taxonomy is not savedahh ok . now it works. thank you.
But… do I have to use it with shortcode? I just need a list of images src. How to achieve this?
Forum: Fixing WordPress
In reply to: get_the_terms ordered by term_orderanyway, thanks everybody for help.
Forum: Fixing WordPress
In reply to: get_the_terms ordered by term_orderjnhghy,
term_order in wp_terms has been created by a plugin, I guess… So it becomes quite obvious that wordpress cannot query this.
Forum: Fixing WordPress
In reply to: get_the_terms ordered by term_orderjnhghy,
I ran this query and I realized that tables wp_term_relationships and wp_terms both have term_order field.
wp_get_object_terms gets post_order from wp_term_relationships while I have all values in wp_terms…
taxonomy.php:
#1914 $orderby = ‘tr.term_order’; where tr is for wp_term_relationships
I changed a source and now it’s working as I wanted but I need to workaround this. I cannot change a source of wordpress every time. Maybe should I use a better plugin for setting terms order.
Forum: Fixing WordPress
In reply to: get_the_terms ordered by term_orderok. I meant wp_get_object_terms. Sorry.
$terms=wp_get_object_terms($post->ID,"tax",array("orderby"=>"term_order"));
According to Codex:
Argument Options:
Other supported values include ‘count’, ‘slug’, ‘term_group’, ‘term_order‘, and ‘term_id’.It seems that ordering by term_order doesn’t work. Use of the rest of argument options gives correctly ordered array of objects… Is this a bug?