Jump to content

Need Help With Fixed Navigation Bar + Plugin

Recommended Posts



I can really need your help with this. I would like to insert a translation plugin in the fixed navigation bar, to show in there multiple languages.

Is it possible?

Many thanks in advance.

Share this post

Link to post
Share on other sites


To do this you will need to use a hook, to insert your language selector code. What you will need to do is install the free plugin available in the PageLines store called ActionMap. Once installed, refresh your homepage and in the top left hand corner of the admin bar, there should be a new link called ActionMap.

Clicking this link, will load all available hooks on that page. You can then use the hook that is available for the Fixed Nav.

For example,

add_action('get_search_form', 'fixednav_language');

function fixednav_language(){

Add your Language code here.


The above code is just an example and may require amending. If you need more information regarding hooks, visite the Wordpress Codex page here - http://codex.wordpre...lugin_API/Hooks

If you're unsure how to proceed with hooks, you could contact one of our Pros - http://www.pagelines.com/pros/

  • Like 1

Please search our forums, before posting!

Share this post

Link to post
Share on other sites

Thank you very much! I'll try to follow your instructions tonight.

Share this post

Link to post
Share on other sites

I've marked the topic as resolved but if you require further assistance, reply here and we can open the topic again.

Please search our forums, before posting!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • Borries
      By Borries+
      I know this is not an easy problem. Maybe there is a easy solution.
      I have tryed to uses the existing solution, that I have found in the forum
      I changed the colours of my nav (simple nav) and the hover effect (a. hover).
      I really tryed to highlight the active/used link in the nav but I cant figure it out.
      I want it to be black when active.
      Any help would be appreciated. Thanks.
      http://www.marcborries.de  nav link: "Sinn & Selbst" 
    • Dan Haddock
      By Dan Haddock
      Hi Pagelines team and wider community,
      I am looking to develop a single post page for my blog. I have read over an old article on the subject, however the link provided on achieving this goal was giving me security warnings. Is there any way I can get round this?
      Secondly, I have had a root around the .zip file provided on my sites backup, however was unable to locate any file in there with the name of Single.php. Does this file exist in the Pagelines theme?
      By the way, this is the unsafe article: http://support.pagelines.me/docs/customization/create-a-custom-page-template/ (Click at your peril).
    • mzhafzah
      By mzhafzah
      I am using DMS 2 theme and I want to create a 2 different links on my website; each link should take you to a different blog post category. Although the process is easy, yet I can not figure out how to give each category page a unique design of its own; Any change I make on any page is applied to the other (I'm aware of the universal elements like the header and footer and I a am not talking about these.)
      Since I am new to wordpress in general, I am not sure if my description is sufficient; apologies if it is not.
    • napait
      By napait+
      Hello All,
      My question is.. How do I add more social icons using the Navi section in Mobile Menu mode?
      The only two that show up are the Facebook and Twitter, from the information you fill out in the Site Setting > Social & Local.
      Please review site for example: www.napait.com
      I would like to be able to add custom icons such as other social and phone, map, contact icons after these social icons in the mobile menu. Basically want to move the phone icon into the social icons bar. Having looked for the right hook using Hooker plugin I still have been unsuccessful.
      Thank you in advance.
    • tristanrodgers
      By tristanrodgers
      Website URL: http://mc1r-magazine.com/
      Framework Version:
      WordPress Version: 4.1
      Plugins in Use: The Pagelines Plugins
      Hey guys,
      I have a problem since I tried to add a custom font in my theme.
      I created a font-face-kit via "font-squirrel" and I tried to include the font on this way the docs tell me to do it:
      But it didn't work and it messed up the page in Firefox. Of course the Cache is empty, code deleted, plugins deactivated, but it still shows a messed up page in Firefox! I've included 2 screenshots to show you the problem (and another problem with the background-color of the font, maybe you see there is blue but I've chosen an orange)