2017-03-24 14 views
-3

私はSOFの他の答えを読んで、私のエラーがどこにあるのか分かりません。私のホームページや、サイドバーを持たないように選択された他のページには、フッタのクレジットが私のサイトの側面に移動しています! :(私のサイドバーのフッター

追加4/11/17:ここ

はfooter.phpである:ここでは

<div class="site-info"> 
Proudly created by <a href="http://www.twitter.com/officialryguy">Ryan Anderson</a> 
<br> 
<a href="http://www.officialryguy.com/privacy-policy/">Privacy Policy</a>  
    </div><!-- .site-info --> 

に問題がある可能性があります私が最近作成したindex.phpのです??

get_header(); ?> 

<div id="primary" class="content-area"> 
    <main id="main" class="site-main" role="main"> 

    <?php if (have_posts()) : ?> 

     <?php /* Start the Loop */ ?> 
     <?php while (have_posts()) : the_post(); ?> 

      <?php 

       /* 
       * Include the Post-Format-specific template for the content. 
       * If you want to override this in a child theme, then include a file 
       * called content-___.php (where ___ is the Post Format name) and that will be used instead. 
       */ 
       get_template_part('template-parts/content', get_post_format()); 
      ?> 

     <?php endwhile; ?> 

     <?php the_posts_navigation(); ?> 

    <?php else : ?> 

     <?php get_template_part('template-parts/content', 'none'); ?> 

    <?php endif; ?> 

    </main><!-- #main --> 
</div><!-- #primary --> 
<?php if (!is_front_page()) { 
get_sidebar(); 
} ?> 
<?php get_footer(); ?> 
+0

コードを投稿してください! –

+0

申し訳ありませんSumon、上に追加しました。 Noob move、私は知っている、noob move、私は申し訳ありません! :0) –

答えて

0

は私が必要なものが見つかりましたスタイルシートは、このフロートを停止させ必要:。

.site-info { 
clear: both 
} 
関連する問題