- 【PHP】下らねぇ質問はここに書き込みやがれ 5 [無断転載禁止]©2ch.net
9 :デフォルトの名無しさん (ワッチョイ ffc9-RUAx)[]:2016/07/24(日) 14:42:43.20 ID:di/1D8Up0 - 下記.phpですが、おかしな所はないですか?
ページが上手く表示できないのです <?php get_header(); ?> <section id=
|
- 【PHP】下らねぇ質問はここに書き込みやがれ 5 [無断転載禁止]©2ch.net
10 :デフォルトの名無しさん (ワッチョイ ffc9-RUAx)[]:2016/07/24(日) 14:43:33.03 ID:di/1D8Up0 - <?php get_header(); ?>
<section id="contents"> <header class="page-header"> <?php the_category_image(); ?> <h1 class="page-title"> <?php if (is_author()) : echo esc_html(get_the_author_meta('display_name', get_query_var('author'))); else : single_cat_title(); endif; ?> </h1> </header> <div class="posts"> <?php if (have_posts()) : while (have_posts()) : the_post(); get_template_part('content-archive'); endwhile; if (function_exists('page_navi')) : page_navi('elm_class=page-nav&edge_type=span'); endif; endif; ?> </div> <?php get_template_part('back_to_top'); ?> </section><!-- #contents end --> <?php get_sidebar(); ?> <?php get_footer(); ?>
|
- 【PHP】下らねぇ質問はここに書き込みやがれ 5 [無断転載禁止]©2ch.net
11 :10 (ワッチョイ ffc9-RUAx)[]:2016/07/24(日) 15:02:02.75 ID:di/1D8Up0 - 解決しました
|
- 【PHP】下らねぇ質問はここに書き込みやがれ 5 [無断転載禁止]©2ch.net
12 :デフォルトの名無しさん (ワッチョイ ffc9-RUAx)[]:2016/07/24(日) 15:03:33.49 ID:di/1D8Up0 - <?php get_header(); ?>
<section id="contents"> <header class="page-header"> <h1 class="page-title"><?php single_cat_title(); ?></h1> <?php if (is_author()) : echo esc_html(get_the_author_meta('display_name', get_query_var('author'))); else : single_cat_title(); endif; ?> </header> <div class="posts"> <?php if (have_posts()) : while (have_posts()) : the_post(); get_template_part('content-archive'); endwhile; if (function_exists('page_navi')) : page_navi('elm_class=page-nav&edge_type=span'); endif; endif; ?> </div> <?php get_template_part('back_to_top'); ?> </section><!-- #contents end --> <?php get_sidebar(); ?> <?php get_footer(); ?>
|
- 【PHP】下らねぇ質問はここに書き込みやがれ 5 [無断転載禁止]©2ch.net
13 :デフォルトの名無しさん (ワッチョイ ffc9-RUAx)[]:2016/07/24(日) 15:04:57.57 ID:di/1D8Up0 - さらに改良しました
|
- 【PHP】下らねぇ質問はここに書き込みやがれ 5 [無断転載禁止]©2ch.net
14 :デフォルトの名無しさん (ワッチョイ ffc9-RUAx)[]:2016/07/24(日) 15:05:59.84 ID:di/1D8Up0 - <?php get_header(); ?>
<section id="contents"> <header class="page-header"> <h1 class="page-title"> <?php if (is_author()) : echo esc_html(get_the_author_meta('display_name', get_query_var('author'))); else : single_cat_title(); endif; ?> </h1> </header> <div class="posts"> <?php if (have_posts()) : while (have_posts()) : the_post(); get_template_part('content-archive'); endwhile; if (function_exists('page_navi')) : page_navi('elm_class=page-nav&edge_type=span'); endif; endif; ?> </div> <?php get_template_part('back_to_top'); ?> </section><!-- #contents end --> <?php get_sidebar(); ?> <?php get_footer(); ?>
|