Menu doesn't work properly even with correct configuration

April 2014 WordPress Theme
GK User
Thu Jul 31, 2014 3:04 pm
Hello,
I had problems with Menu before this https://www.gavick.com/forums/john-wp/m ... 37949.html and there still things I can't figure out.
How can I send you the access private way?
Thank you,
Martin
User avatar
Fresh Boarder

teitbite
Fri Aug 01, 2014 12:08 am
Hi

Please use forum PM or my mail.
User avatar
Moderator

teitbite
Fri Aug 01, 2014 3:32 pm
Hi

I have send an access to our programmer. Will answer as soon as he will reply.
User avatar
Moderator

teitbite
Mon Aug 04, 2014 1:56 pm
Hi

I got a reply from programmer:



But the menu on the homepage doesn't work properly also in english language. Please check navigation tab in template settings - there's "Frontpage Menu - names of the links" text area which are used for the widget section links, in this thread I've explained how it works:
https://www.gavick.com/forums/john-wp/s ... 37025.html

So you have to check these link names and use the same in Dashboard -> Menus section - now these values are different.

Regarding the News Show Pro, please check this article:
http://wpml.org/2011/03/howto-display-d ... -language/
how to display different widgets per languge - he has to add 2 GK NSP widgets and in the first choose english content as a source, in the second he has to choose spanish content, use proper language ICL code and that's all.
User avatar
Moderator

teitbite
Fri Aug 15, 2014 3:34 pm
Hi

Please let me know if this helped so I'll pass it to programmer.
User avatar
Moderator

GK User
Wed Aug 20, 2014 12:21 pm
Hello,
I tried to fix the problem of menu anchor links with WPML Support http://wpml.org/es/forums/topic/traducc ... -del-menu/ and tried all possible configurations in your theme but the Menu does't work with spanish anchors. When I wrote in spanish Menu spanish names of anchors (the same like menu names) the Menu does not work.
Works only with english anchors but when it's spanish site the anchors must be in spanish too.
Could you help me with this?
Thank you and Regards,
Martin
User avatar
Fresh Boarder

GK User
Thu Aug 21, 2014 12:43 pm
Hi, It's really necessary to change also anchor names into spanish? These names are visilbe only on the URL. I think it's possible to change these anchor links, but you'll have to hard code each block, i'm not sure if it's a good idea.

e.g. in the John/layouts/after.php file you have this fragment:
Code: Select all
<div <?php gk_anchor_links(1); ?>>
               <div class="widget-area">
                  <?php gk_dynamic_sidebar('bottom1'); ?>
               </div>
            </div>

where gk_anchor_links_links function load the proper anchor from the template options -> navigation settings option.
bottom1 display "services" on your website, so instead of this function you should use wpml function which will display "#services" for the english language and #servicios when the spanish is enabled.
User avatar
Moderator

GK User
Tue Aug 26, 2014 1:27 pm
Hi Piotr,
Ok, I'm going to keep english anchors. I thought it could affect SEO...
Thank you,
Martin
User avatar
Fresh Boarder


cron