WordPress.org

Ready to get started?Download WordPress

Forums

WP Photo Album Plus
[resolved] WPPA breadcrumbs and qTranslate (2 posts)

  1. hboswijk
    Member
    Posted 2 years ago #

    I am developing a multilingual website with qtranslate.
    In the breadcrumbs above the albums I noticed, that the toplevelpage (with the root switched off) was listed with all (in my case 4) languages side by side.
    The solution was to change line 175 in wppa-functions.php from

    $wppa['out'] .= wppa_nltab().'<a href="'.get_page_link($parent).'" class="wppa-nav-text b32" style="'.__wcs('wppa-nav-text').'" >'.$title.'</a>';

    into

    $wppa['out'] .= wppa_nltab().'<a href="'.get_page_link($parent).'" class="wppa-nav-text b32" style="'.__wcs('wppa-nav-text').'" >'.__($title).'</a>';

    http://wordpress.org/extend/plugins/wp-photo-album-plus/

  2. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 2 years ago #

    Thank you! I will put this in the regular version, so after the next update you do not need to make this patch again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic