• Resolved tomlindemann17

    (@tomlindemann17)


    Hello,

    Your plugin is realy userfrendly and I totaly like it. I had some troubles with linking the media, because the plugin made a links using /en/ “shortcut” of the language in URL. I solved it by creating new folder /EN/ in root directory and copying the same path and media.

    But trouble I have and I can′t solve is, that I translated the menu links to english (second language) and the links are not working. See on the page:

    https://r-cz.cz/en/

    Thanks for any help.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Cristian Antohe

    (@sareiodata)

    Hi,

    Closing this. Was due to the theme adding a css class to the top menu links (not li)

    In another theme the same problem was manifested and was fixed using:

    
    add_action('init', 'trpc_remove_menu_hook_in_featuredlite');
    function trpc_remove_menu_hook_in_featuredlite(){
    remove_filter('wp_nav_menu','featuredlite_add_menuclass');
    }
    
    function trpc_featuredlite_add_menuclass($ulclass) {
    return preg_replace('/<a/', '<a class="page-scroll" ', $ulclass);
    }
    add_filter('wp_nav_menu','trpc_featuredlite_add_menuclass');
    
Viewing 1 replies (of 1 total)
  • The topic ‘Menu links do not work’ is closed to new replies.