Custom Category Home Page Displays Posts in All Languages

dev.xiligroup is being renovated Forums xili-language plugin Custom Category Home Page Displays Posts in All Languages

This topic contains 0 replies, has 3 voices, and was last updated by  xiligroup dev 13 years, 5 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2980

    Anonymous

    Before I take time to read your code and explain the solution, I invite you to discover the very powerful plugin named xili-postinpost…

    #2981

    Anonymous

    Hello Michel,

    I installed the plugin, but my knowledge of php is not enough to make any use of the plugin so as to display the contents of a category on my main page.

    I’m willing to give it a try, but I will need some more specific guidance.

    Thanks,

    Nathan

    #2982

    Anonymous

    Looking at another post here I saw that you can change the array to include only a certain language [using: ‘lang’ => the_curlang()].

    $args = array(
    'cat' => $catid,
    'paged' => $paged,
    'order' => $order,
    'ignore_sticky_posts' => $do_not_show_stickies,
    'lang' => the_curlang()
    );

    But is there a way to include the current language as well as all « undefined » posts?

    Thanks,

    Nathan

    #2983

    Anonymous

    I tried ‘lang’ => the_curlang(), ‘*’

    But that didn’t work…

    #2991

    Anonymous

    Is there any way to have both the current language and all undefined posts show?

    Thanks,

    Nathan

    #2992

    xiligroup dev
    Keymaster

    Concerning undefined added to a target language, it is not yet possible with current WP queries on WP 3.2.1 because in XL a post without language has no taxonomy.

    Perhaps solutions in further release in following in 2 or 3 months

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.