WordPress.org

Ready to get started?Download WordPress

Forums

Transposh WordPress Translation
How to make custom menus? (1 post)

  1. Kangarooo
    Member
    Posted 1 year ago #

    So Language is EN/LV/RU and making new template. Permalinks with names are on in wordpress and in plugin.
    Buttons for language without using widget i want to make for changing current open page/post to make link for hardcoding different language.

    AND another menu of current language to make link for exact hardcoded post.

    Theese are not working for me.

    <a href="<?php echo home_url(); ?>/en/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('lat','','<?php bloginfo('template_directory'); ?>/images/top1_2_lv_over.jpg',1)">

    And 2nd menu

    <a href="<?php echo home_url(); ?>/<?php transposh_get_current_language(); ?>/par-mums/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('parmums','','<?php bloginfo('template_directory'); ?>/images/m2_par_mums_lv_LV_over.jpg',1)">

    http://wordpress.org/extend/plugins/transposh-translation-filter-for-wordpress/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic