Ready to get started?Download WordPress


Display Posts Shortcode
[resolved] How to display posts ordered by the spanish title? (2 posts)

  1. ebenezer357
    Posted 5 months ago #

    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.



  2. Bill Erickson
    Plugin Author

    Posted 5 months ago #

    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.


You must log in to post.

About this Plugin

About this Topic