Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter edgar696

    (@edgar696)

    Sorry, but it doesn’t work to me. No problems with menu navs, no problems with everything at all, but breadcrumbs don’t change.
    I copy and paste my header.php, part of it, i wish you could help me.
    Thanks in advance.

    <head>

    <?php if ( function_exists( ‘ps_012_m17n_bread_crumb’ ) ) ps_012_m17n_bread_crumb(); ?>

    <?php if ( function_exists( ‘ps_012_multilingual_list’ ) ) $gs=ps_012_multilingual_list(false);?>

    <?php
    $html = ‘<div id=”flags” style=”position: absolute; right: 0; z-index:9999;”>’;
    foreach(array_reverse($gs, true) as $key=>$val){
    $flags_dir = get_bloginfo(‘template_directory’);
    $flags_dir .= ‘/images/flags/’;
    $flag_icon = $flags_dir . $key . ‘.png’;
    if ( ps_url_exists( $flag_icon )):
    if ($val[‘current’]) {
    $flag_icon = ‘<img src=”‘.$flag_icon.'” style=”float:right;margin:5px 5px 0 0;padding:1px;border:1px solid #021a40;background-color:#ff0;”>’;
    }
    else
    {
    $flag_icon = ‘<img src=”‘.$flag_icon.'” style=”float:right;margin:5px 5px 0 0;padding:1px;border:1px solid transparent;”>’;
    }
    endif;
    $html .= ‘‘.$flag_icon.’&nbsp’;
    }
    $html .= ‘</div>’;
    echo $html;
    ?>

Viewing 1 replies (of 1 total)