Transposh in main menu possible?

Home Forums WordPress Themes – Premium Celestial (Celestial Reloaded) Transposh in main menu possible?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #15454
    Andrei Alexa
    Participant

    I want to add transposh short code into my primary menu ( I simply want the visitors to be able to choose english or swedish as language for my site)

    
    
    [tp widget="flags/tpw_flags_css.php"]

    this code generates 2 flags and translates the website to desired language. The Transposh plugin works great with celestial reloaded but the problem is that I can’t seem to place the flags on the top right of my website without getting the label text for the menu.

    As for now the solution is to use the plugin with widget placed in “Bottom Inset”, are there any tweaks I could do to insert a widget just to the right of the primary menu?

    our homepage: http://www.laj.se

    Any help would be greatly appreciated! 😉

    #20412
    Sushil Adhikari
    Moderator

    Good morning!
    I’m not sure how much I will be able to help you here as this is more custom related as well about a third party plugin I am not familiar with. However, if I understand you correctly, you want your flags to be a menu item but without a label showing? What happens if you put a blank space and then your shortcode in? The other option is perhaps use their code to put it in where the social icon bar is…although this means using a child theme to modify the header.php file.

    #20414
    Andrei Alexa
    Participant

    I’ve already tried that, but wp writes out these characters to the left of the flags: “>

    Not a nice solution, would be ok if I could change the “> to the bg color but it’s not possible.

    The short code also interfeers with the background color and changes it to black. Perhaps the solution I’ve got now is the best? (placing the flags at the bottom left corner on the website).

    #20415
    Sushil Adhikari
    Moderator

    The only other option I can think of then is that you would need to use the child theme (so you can keep getting theme updates and not lose your changes) and modify the header.php and place the plugin’s code next to the social networking container. Or, you can add it to the footer.php file at the bottom. You might also want to look at alternative language plugins that might give you a floating box off to the side. Unfortunately what you want to do is something that requires some HTML experience when customization is needed because you are wanting your flags to be in a specific location.

    #20421
    Andrei Alexa
    Participant

    How exact should I place the shortcode to put it next to the social icon (Facebook) ?

    [tp widget="flags/tpw_flags_css.php"]

    I have a child theme setup on my site.

    #15455
    Sushil Adhikari
    Moderator

    You will need to copy the header.php file into the child theme and then where the social coding begins, add the code the plugin documentation states:

    You will need to put this somewhere within this location of the header.php

    ….either at the beginning or just before the closing tag. You might have to put that code in a span container or something that will allow you to style it or position it using CSS. The rest will basically be up to you. Ultimately you can use that plugin code (above) to put it almost anywhere in a theme’s template file.

    If you need more help or documentation for this plugin, it’s best to contact their support. Their documentation can be found here:

    http://transposh.org/faq/

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.