Support » Plugin: Bogo » Best way to translate Post Loop (Title, Excerpt, URL)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    The best way is to give the query_posts() a lang parameter, like this:

    query_posts( add_query_arg( array( 'lang' => 'de' ), $args ) );

    In this example, I added the ‘de’ value as the ‘lang’ parameter, then the loop only contains German posts.

    Works fine. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Best way to translate Post Loop (Title, Excerpt, URL)’ is closed to new replies.