簡體   English   中英

如何在我的 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' )

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM