-
AuthorPosts
-
November 9, 2014 at 9:29 pm #348451
Hi
How should I link menu elements (using WPML) to certain page section?/en#sectionname – refreshes the website (but it linkes properly)
Thanks
MNovember 10, 2014 at 5:12 pm #348874Hi Mariusz!
That would be the way to do it. Just add the ID of the element to the end of your URL. To change the language the page would have to refresh itself.
<a href = "/en/#name">Click me</a> <a href = "/en#name">Click me</a>Cheers!
Elliott-
This reply was modified 10 years, 11 months ago by
Elliott.
November 10, 2014 at 6:02 pm #348893This reply has been marked as private.November 11, 2014 at 12:58 am #349146Hey!
Are you just trying to get it to scroll down to the events section? In that case you do not need add the language just set the ID as the URL.
<a href = "#name">Click me</a>Best regards,
Elliott-
This reply was modified 10 years, 11 months ago by
Elliott.
November 11, 2014 at 1:39 pm #349346This reply has been marked as private.November 11, 2014 at 10:09 pm #349695Hi!
You’ll need to use absolute path to your page then and add the ID to the end.
<a href = "http://andrzejkaralow.pl/en/#name">Upcoming Events</a>If your trying to have the link change with the current language set then you’ll need to create a menu for each language with WPML. You can do this in Dashboard > Appearance > Menus.
Cheers!
Elliott-
This reply was modified 10 years, 11 months ago by
Elliott.
November 12, 2014 at 8:52 am #349939Hi Elliot,
Thanks. I changed links in the menu for absolute path for english version.From the main site view, when I click ‘upcomming events’ element from the menu, the page refresh and I am redirected to a proper section.
I just need to have it without refreshment, just like I have it in polish version: just click and scroll to a certain section without refreshment.
Thank you ;)
November 12, 2014 at 9:05 pm #350327 -
This reply was modified 10 years, 11 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
