WordPress.org

Ready to get started?Download WordPress

Forums

TPG Get Posts
[resolved] Using "orderby" in TPG line (2 posts)

  1. LeKook
    Member
    Posted 1 year ago #

    Hi!

    I am using this plugin on a site I'm working on and am curious what options are available as part of the "orderby" option? Right now I have items being ordered by titles (which consist of names of individuals). But it's ordering by firstname instead of lastnames, so I'm trying to find a workaround to make them sort by last name only. :)

    Thanks in advance for your assistance!
    -Lynn

    http://wordpress.org/extend/plugins/tpg-get-posts/

  2. cswaim
    Member
    Plugin Author

    Posted 1 year ago #

    The WP codex explains the order & orderby options:

    see http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.