Monday, September 26, 2022
HomeWordPress Developmentshortcode - wordpress how one can kind posts on customized information with...

shortcode – wordpress how one can kind posts on customized information with plug-in “Search & Filter”


I want to kind my articles, in accordance with customized information (3 fields which have been added by way of a php script),
I see them nicely (in my admin dashboard) after I seek the advice of my articles (3 new columns are clearly seen for every article).
I used to be capable of enter information (by way of customized Fields) in edit mode for all objects.

I put in the “Search and Filter” plugin (free model), so I bought the instance of the next shortcode for the sorting half:

[searchandfilter fields=”search,category,post_tag” order_dir=”,asc,desc” order_by=”,id,name” types=”,checkbox,radio” headings=”,Categories,Tags”]

that I tailored by including my new sorting discipline (number_runners) and inserting it into my web page
but it surely by no means takes into consideration the brand new sorting…, I am undecided if I ought to go away headings and tags on the finish??.

[searchandfilter fields=”search,category,post_tag” order_dir=”asc” order_by=”number_runners” types=”radio” headings=”Tags”]

after I view the web page, it gives me a drop-down record with the classes and a submit button however after I execute:
the type order all the time stays the identical, all the time the default one (by article creation date)
so it by no means takes into consideration the “order by number_runners” (I needed to crash on the difference of the shortcode!! not simple:-0!…
and I began on WP only some months in the past ;-(( )
(and is there a method then to show this information within the drop-down record as a result of I even have 3 fields, 3 sorting standards)??

Thanks very a lot to your recommendation or experiences! as a result of I’ve quite a lot of bother with it!! :-((

Rem: I’ve the “hueman” theme and within the plug-in it specifies that if a theme file is used, the shortcode have to be preceded by: <?php echo do_shortcode…. ??

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments