Display defined AND undefined languages post on main page

dev.xiligroup est en travaux Forums xili-language plugin Display defined AND undefined languages post on main page

Ce sujet contient 0 réponses et 3 voix, et a été mis à jour par  xiligroup dev il y a Il y a 12 ans, 5 mois.

Visualisation du message 5 (1 sur 5, 5 au total)
  • Auteur
    Articles
  • #3008

    Anonyme

    What version of xili-language and WP do you use ?

    #3009

    Anonyme

    WP version: 3.2.1

    xili-language Version: 2.3.0

    #3010

    Anonyme

    Good version…

    try to add a . (dot) just after the slug of language.

    Example here in category context.

    https://dev.xiligroup.com/?cat=1&lang=en_us – you will see only english posts.

    https://dev.xiligroup.com/?cat=1&lang=en_us. – you will see english and also undefined chinese post…

    this unveiled « dot » powerful feature has no automatic admin or setting properties… so reserved for skilled webmaster/developer ;-)

    … don’t forget to donate !

    #3011

    Anonyme

    Thanks Michel for your great help.

    The feature you suggest is fine, however the sticky post option (which should keep my post staying on top of the page) get disabled from the dot feature.

    Do you still have a solution ?

    Thanks in advance for your help

    #3017

    xiligroup dev
    Keymaster

    Hello,

    The presented query mixing posts in one language and those undefined (without language taxonomy) is very very special.

    In a multilingual website and cms rules, undefined posts must be an exception.

    If you are wp/php easy, I suggest you change your home webpage by adding a div in top of the loop containing/displaying the important (sticky) post. You can use to do that xili-postinpost plugin with the good template tag.

    Enjoy,

    If your site is professional, xiligroup services are available at affordable fees.

Visualisation du message 5 (1 sur 5, 5 au total)

Vous devez être connecté pour répondre à ce sujet.