Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3474

    It would be nice to have the possibility to choose the sorting method eg. random, by date/time by name and so on.

    #42424

    You can change the sorting parameters by editing class-framework-widgets.php (located in broadscopeframeworkphp) – however he uses php class programming so you need some coding skills.

    #42425

    I see. And is there an option for the default sorting (by name) on the portfolio page?

    #42426

    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 broadscopeframeworkphp) and search for following code:

    $this->avia_new_query = ''; //set a custom query here

    You 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 here

    or

    $this->avia_new_query = '&orderby=date&order=DESC'; //set a custom query here

    or order by title:

    $this->avia_new_query = '&orderby=title&order=ASC'; //set a custom query here

    or

    $this->avia_new_query = '&orderby=title&order=DESC'; //set a custom query here

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Portfolio widget’ is closed to new replies.