• Resolved Anticosti

    (@anticosti)


    Greetings,
    Have to say, I ain’t no programmer.
    When I add this line (code taken from the Plugin’s master page)
    add_filter ( 'wpm_post_post_config', '__return_null');
    Then.. my theme produces a Language Switcher at top of each page and break my theme.

    There most be something I am doing wrong…?
    How should I add this line or modify it so it will not break my theme?

    Kind Regards,

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi. Do You have a screenshot with problem?

    Thread Starter Anticosti

    (@anticosti)

    Will make one… ??
    Hold on…

    Thread Starter Anticosti

    (@anticosti)

    OK.
    You can see here: Screenshots

    List of Screenshots:
    025. Before adding this line to my functions.php file:
    if ( function_exists ( 'wpm_language_switcher' ) ) wpm_language_switcher ();
    026. Result after. You can see that the Slideshow blows out (enlarge) the images
    024. A simple Blog article
    027. The top Language Switch needs some CSS tweaks. I can do that but…
    028. The admin side seems to be using the same Language Switcher as in the Frontend.
    029. In the back end when I work with my theming framework (Ultimatum),
    I loose quite a lot of fonctionalities:
    Can’t save the “Widget Extras’ options nor use “Show widget only in:”

    Cheers,

    Yes, you need to customize language switcher via css.
    Perhaps you added a language switcher in functions.php? It is wrong. You need add a language switcher to file which is part of template(header.php, footer.php) in needed place or set it in widget or menu.

    Thread Starter Anticosti

    (@anticosti)

    Will check this.
    Thank you VaLeXaR !

    Thread Starter Anticosti

    (@anticosti)

    I made some progress ??
    Will let you know on next days, as soon as I can get time to push this work a bit more…This is promising! ??
    Cheers,

    Thread Starter Anticosti

    (@anticosti)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Question for my sub-theme functions.php’ is closed to new replies.