[wpdm_all_packages items_per_page=”20″ categories=”General” jstable=1 order_by=”date” order=”DESC” cols=”title,file_count,download_count|excerpt|categories|update_date|download_link” colheads=”Title|Description|Categories|Update Date|Download::110px”]
or this:
[wpdm_all_packages items_per_page=”20″ categories=”General” jstable=1 orderby=”date” order=”DESC” cols=”title,file_count,download_count|excerpt|categories|update_date|download_link” colheads=”Title|Description|Categories|Update Date|Download::110px”]
]]>How to set the order of entries from the last added at the beginning?
]]>[connections category_name=”BOT” order_by=”specified”]
How can I specify the order of the people who appear? We don’t want the last name, or first name, etc. We want to be able to specify the most important person at the top, etc.
Thanks!
]]>But when I activate “CPT-onomies” it undoes the good work of the Taxonomy Ordering plugins. (I tried several other Taxonomy ordering plugins and methods, but CPT-onomies reverts to alphabetic:
Aug, Dec, Feb, Jul…)
Can you suggest an ordering method for your plugin that can target specific taxonomy of my choice, or a way to permit the ordering plugins to do their work unhindered?
Cheers,
[adverts_list order_by=”rand-asc”]
Is there a filter I can add to the theme? I have all the premium plugins if that helps. Thanks
]]>It was no use for the code below, both selects were loaded out of order
<?php echo do_shortcode( ‘[searchandfilter taxonomies=”category,post_tag,search” types=”select,select,” order_by=”name,name,” order_dir=”ASC,ASC,”]’ ); ?>
What I did was a js code (depends on jquery) that solves the case of alphabetical ordering.
In my case I order categories and tags and this single code solves both at the same time.
I hope it helps.
<script>
jQuery(document).ready(function() {
jQuery(‘form.searchandfilter select’).each(function(){
var options = jQuery(this).find(‘option’);
var arr = options.map(function(_, o) {
return {
t: jQuery(o).text(),
v: o.value,
s: jQuery(o).attr(‘selected’)
};
}).get();
arr.sort(function(o1, o2) {
if(o1.v > 0) {
return o1.t > o2.t ? 1 : o1.t < o2.t ? -1 : 0;
}
});
options.each(function(i, o) {
o.value = arr[i].v;
jQuery(o).text(arr[i].t);
jQuery(o).attr(‘selected’, arr[i].s);
});
});
});
</script>
]]>A question about ascending and descending.
There is no difference in using order_dir=“,asc” or order_dir=“,desc”.
See code below:
[searchandfilter submit_label=zoeken taxonomies=”boerderijnummer” order_dir=”,desc” order_by=“id”]
[searchandfilter submit_label=zoeken taxonomies=”boerderijnummer” order_dir=”,asc” order_by=“id”]
I want to change it the order in low figures on top, high figures last.
Field: “Alle boerderijnummer”.
Preferred: First number 1 and last 225.
Thanks.
]]>