Support » Plugin: xili Post in Post » Displaying all the "event" custom posts

  • Resolved acizmeli

    (@acizmeli)


    Hello,

    I have the custom post type : event

    xili-language 2.16.1 is configured well and running with languages en_us and tr_tr.

    I would like to display a list of ALL the events using the shortcode xilipostinpost 1.5.2 that is in the same language as the page it is in (en_US). No matter what I try, only one event is shown and that is the most recently entered event (which is in tr_TR). The lang parameter is ignored, the lang=cur returns 0 posts.

    [xilipostinpost query=’post_type=event&posts_per_page=-1′ lang=’en_us’]
    returns only 1 post : the latest one in tr_TR

    [xilipostinpost query=’post_type=event&posts_per_page=-1′ lang=’cur’]
    [xilipostinpost query=’post_type=event&lang=en_us’]
    they both return : No post

    How can I make [xilipostinpost] display ALL the posts that are in the same language as the page it is in?

    thanks for your help

    https://wordpress.org/plugins/xili-postinpost/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Displaying all the "event" custom posts’ is closed to new replies.