• i use Artisteer generator theme and its work nice with Polylang but not completely
    i tried to ask him but they don’t know to tell what to do

    it’s about those issues
    1. the flag in nav-menu not appeared.
    2. RTL or LTR directions for nav-menu items Order.
    3. “float:right\left” for post or page title.

    i want to send you my Artisteer theme by email and please try to tell us how can i fix it – for every one who us Artisteer theme

    https://www.ads-software.com/plugins/polylang/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Chouby

    (@chouby)

    Hi!

    I confirm that Artisteer themes have an issue with the language switcher in menus. The reason for this is that Artisteer uses custom functions to display menus and not the native WordPress function (I never understood why). This results in conflicts with plugins such as Polylang which need filters correctly setup.

    The only easy solution to display the language switcher is to use the widget.

    For ltr/rtl, you need to setup your theme is ltr by default and then create a file rtl.css where you setup specific css rules.

    Thread Starter Karem

    (@yair)

    note: My wp installation is RTL and the primary language in Polylang it’s RTL
    the other language are LTR

    Plugin Author Chouby

    (@chouby)

    Hi!

    it does not change anything. In fact rtl languages are fully managed by WordPress itself. Your theme must be able to display the right text direction when Polylang is de-activated.

    Follow the process:

    1. De-activate Polylang.
    2. Set WPLANG to ‘en_US’ in your wp-config.php
    3. Check how your theme displays: it must be LTR
    4. Check that you have your primary language translations files in wp-content/languages
    5. Set WPLANG accordingly in your wp-config.php. for example:

    define('WPLANG', 'he_IL');

    6. Check how your theme displays: it must be RTL

    If your theme does not display the right text direction for ‘en_US’ and ‘he_IL’, then it means that your theme is not correctly written. And Polylang won’t help you for this.

    So you need to make your theme able to display correctly LTR languages (by default, this is how WordPress works) and then create the rtl.css file to display correctly RTL languages.

    Thread Starter Karem

    (@yair)

    i guess it’s something in theme level Only [not Wp issue or wp-config.php]
    because in the Wp Default theme no problem to switch between hebrew and english – it’s just perfect!!!
    Only in Artisteer theme when i switch to english with Polylang i see the titles in float:right [it’s have LTR but not have float:left]

    [my wordpress installation is Hebrew]

    Please, can you tell me what to do?

    Plugin Author Chouby

    (@chouby)

    Yes. The problem is in your theme. You need a theme compatible with both text directions. And all I know is in the link I posted above: https://codex.www.ads-software.com/Right-to-Left_Language_Support
    If you need more help on how to do this with Artisteer, then you should contact the Artisteer support.

    Thread Starter Karem

    (@yair)

    Ok Tnx, i will tell him.

    and what can you tell me about theLanguage Flags in the nav-menu

    ScreensShot

    Plugin Author Chouby

    (@chouby)

    As explained above, for menus, the problem is that Artisteer does not use correctly WordPress functions. I can’t do anything against this.

    Thread Starter Karem

    (@yair)

    ok, i will talk with artisteer
    so,what you suggest me to tell him for fix it

    Viewing 8 replies - 1 through 8 (of 8 total)
    • The topic ‘i use Artisteer theme’ is closed to new replies.