It would be nice to have the possibility to choose the sorting method eg. random, by date/time by name and so on.
Portfolio widget
4 posts from 2 voices-
Posted 2 years ago #
-
You can change the sorting parameters by editing class-framework-widgets.php (located in broadscope\framework\php) - however he uses php class programming so you need some coding skills.
Posted 2 years ago # -
I see. And is there an option for the default sorting (by name) on the portfolio page?
Posted 2 years ago # -
Hey,
1) Kriesi release an update yesterday which makes it possible to change the query settings for the portfolio widget. You can download it @themeforest. Open up class-framework-widgets.php (located in broadscope\framework\php) and search for following code:
$this->avia_new_query = ''; //set a custom query hereYou can insert any query parameters you like, i.e. orderby date or name. A sample query can look like:
$this->avia_new_query = '&orderby=date&order=ASC'; //set a custom query hereor
$this->avia_new_query = '&orderby=date&order=DESC'; //set a custom query hereor order by title:
$this->avia_new_query = '&orderby=title&order=ASC'; //set a custom query hereor
$this->avia_new_query = '&orderby=title&order=DESC'; //set a custom query herePosted 2 years ago #
Reply
You must log in to post.














