Support » Theme: Flato » a second sidebar

  • Hello,
    (i’m french excuse my words)
    I use this template for the Red Cross. And we need two sidebar.
    So i duplicate ->index.php on indextwo.php and sidebar.php in sidebartwo.php,
    in function.php i ducplicate the part (lign 20-32;60-145) of sidebar and i replace the name sidebar on sidebartwo.
    I put the information (get sidebartwo…) in indextwo.php, i put sidebartwo in theme-compat, and i put in the theme Flato.

    I don’t understand what i do wrong, and each time, i have the message erreur *********************************************
    {
    global $content_width;

    if ( ! is_active_sidebartwo( ‘sidebartwo-1’ ) || is_page_template( ‘full-width-page.php’ ) )
    $content_width = 995;
    }
    add_action( ‘template_redirect’, ‘themememe_content_width’ );

    *************************************************************************
    So do i need touch any another page.php ? and where ?
    Thank to anser me.
    Enjoy et my best regard.

    PS i do this for a passion, not a work.

  • The topic ‘a second sidebar’ is closed to new replies.