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

    (@sareiodata)

    Try and add them as custom links. Not much of a fix, but should do the trick.

    Thread Starter Nitroweb

    (@spyrosvl)

    Hi sareiodata and thanks for your reply.
    I would not consider this as a fix. Besides what should I put? I can not enter dynamic links on wp menus. What I may could do is to make three menus for each language I have enabled, but what if I enable another language? I should do another menu.

    I think I will make a custom post type manually. ??

    Regards,
    Spyros

    Hi spyrosvl

    I’m having the same problem as you. Were you able to solve the problem?

    I have been going on circles around this for weeks now!

    Thank you!

    Thread Starter Nitroweb

    (@spyrosvl)

    Hello CasaSo,

    Nope, I switched to https://www.ads-software.com/plugins/advanced-custom-fields/
    Good luck.

    Spyros

    Try this:

    // Makes menu urls work with Qtranslate
    function qtranslate_menu_item( $menu_item ) {
       if (stripos($menu_item->url, get_site_url()) !== false){
        $menu_item->url = qtrans_convertURL($menu_item->url);
        }
    return $menu_item;
    }
    
    add_filter('wp_setup_nav_menu_item', 'qtranslate_menu_item', 0);
    /**************************************************/

    Thanks a lot to b_machuel. Your solution worked for me.

    Thank you. It worked like a charm!!
    JOSE VARGAS

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘qtranslate menu links problem’ is closed to new replies.