如何在我的 wordpress 页面模板中获得全宽?

how to get full width in my wordpress page template?

我必须在 Wordpress 中创建一个全角页面模板。但我不明白为什么,即使我只调用 'sidebar-bas' 我也会显示 'sidebar-droite' :/

我希望有人能帮助我

<?php
/*
Template Name: Full Width
*/
?>
<?php get_header();
if(have_posts()): while(have_posts()): the_post();?>
        <section id="pages" class="haut avecAside">
        <section id="pages" class="haut">
        <h2><?php the_title(); ?></h2>
        <?php the_content(); ?>
        </section>
    <?php endwhile;
    endif;
    get_sidebar( 'sidebar-bas' );
    get_footer();?>

确认您的 sidebar-bas 模板文件不包含 get_sidebar( 'sidebar-droite' )