ThemeShaper Forums » Thematic

[closed]

Gallery - index page thumbnail order

(2 posts)
  • Started 12 years ago by rainman
  • Latest reply from middlesister
  • This topic is not resolved
  1. I'm wondering if there's a way to change the order in which the square thumbnails are displayed in the grid in the Gallery theme index page. They currently display newest (at the top left corner) to oldest (bottom right corner.) Wondering if there are settings in the code somewhere where this can be changed... perhaps to display alphabetically? Or even manually? (Though that sounds like a tall order.)

    Thanks!

    Posted 12 years ago #
  2. middlesister
    Member

    You can change the order of the posts using query_posts(). Put this in your functions.php

    function change_query() {
         query_posts('orderby=title');
    }
    add_action ('thematic_above_indexloop', 'change_query');

    You can choose between 'author', 'title', 'date', 'id', 'modified', 'rand' and 'comment_count'. The default is date.

    Posted 12 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.