Support » Plugin: Display Posts Shortcode » How to display posts ordered by the spanish title?

  • Resolved ebenezer357


    Hi, i’m using this plugin to display my posts in many pages.
    I’m also using the plugin called QTRANSLATE to make my site bilingual (ENGLISH / SPANISH). So, when i type the code on a page to display the posts, it displays them by the english name of the posts. I want to order the posts by the spanish title of the posts.
    What code should i use?
    Someone please help me with this because my boss really wants me to do this.


Viewing 1 replies (of 1 total)
  • Plugin Author Bill Erickson


    I’m sorry, but I don’t know how QTranslate stores the data so can’t provide guidance. If they store the title as post meta, you can do something like this:

    [display-posts orderby=”meta_value” meta_key=”spanish_title”]

    spanish_title needs to be changed to the actual meta_key used by that plugin. I recommend you ask the developers there to guide you the rest of the way.

Viewing 1 replies (of 1 total)
  • The topic ‘How to display posts ordered by the spanish title?’ is closed to new replies.