Q.トップページのスタッフインタビューを削除したい
A.下記のphpファイルの該当箇所を削除してください
編集するファイル:Welcome Screen 固定ページテンプレート
編集する箇所:
<?php $top_main_image5 = wp_get_attachment_image_src( $options [ 'top_main_image5' ], 'full' ); ?> |
<div class = "separator" data-parallax= "scroll" data-speed= "0.6" data-image-src= "<?php echo $top_main_image5[0]; ?>" > |
<div class = "title" > |
<div class = "container" > |
<div class = "row" > |
<div class = "col-xs-120" > |
<h4 class = "liner" ><?php echo $options [ 'top_content5_headline' ]; ?></h4> |
<span class = "lead romaji" ><?php echo $options [ 'top_content5_headline_sub' ]; ?></span> |
</div> |
</div> |
</div> |
</div> |
</div> |
<?php |
$top_content5_banner_image1 = wp_get_attachment_image_src( $options [ 'top_content5_banner_image1' ], 'size2' ); |
$top_content5_banner_image2 = wp_get_attachment_image_src( $options [ 'top_content5_banner_image2' ], 'size2' ); |
$top_content5_banner_image3 = wp_get_attachment_image_src( $options [ 'top_content5_banner_image3' ], 'size2' ); |
?> |
<div class = "section container" > |
<div class = "row" > |
<div class = "col-sm-40 mobile-mb-40" > |
<div class = "text-left staff-interview" > |
<?php if ( $options [ 'top_content5_banner_url1' ]){ ;?><a href= "<?php echo $options['top_content5_banner_url1']; ?>" ><?php }; ?> |
<?php if ( $top_content5_banner_image1 [0]){ ?><img class = "full-width" style= "border-radius:0; padding-bottom:15px" src= "<?php echo $top_content5_banner_image1[0]; ?>" ><?php }; ?> |
<p class = "read_copy" ><span style= "color:#<?php echo $options['pickedcolor3']; ?>" ><?php echo $options [ 'top_content5_banner_headline1' ]; ?></span></p> |
<?php if ( $options [ 'top_content5_banner_url1' ]): ?> |
<div class = "text-left staff" style= "background:#<?php echo $options['pickedcolor3']; ?>; color:white" > |
<span class = "department" ><?php echo $options [ 'top_content5_banner_btnlabel_sub1' ]; ?></span><br/> |
<span class = "name" ><?php echo $options [ 'top_content5_banner_btnlabel1' ]; ?></span><span class = "arrow_ico1" ></span> |
</div> |
<?php endif ; ?> |
<?php if ( $options [ 'top_content5_banner_url1' ]){ ;?></a><?php }; ?> |
</div> |
<p class = "text-left desc2" ><?php echo $options [ 'top_content5_banner_body1' ]; ?></p> |
</div> |
<div class = "col-sm-40 mobile-mb-40" > |
<div class = "text-left staff-interview" > |
<?php if ( $options [ 'top_content5_banner_url2' ]){ ;?><a href= "<?php echo $options['top_content5_banner_url2']; ?>" ><?php }; ?> |
<?php if ( $top_content5_banner_image2 [0]){ ?><img class = "full-width" style= "border-radius:0; padding-bottom:15px" src= "<?php echo $top_content5_banner_image2[0]; ?>" ><?php }; ?> |
<p class = "read_copy" ><span style= "color:#<?php echo $options['pickedcolor4']; ?>" ><?php echo $options [ 'top_content5_banner_headline2' ]; ?></span></p> |
<?php if ( $options [ 'top_content5_banner_url2' ]): ?> |
<div class = "text-left staff" style= "background:#<?php echo $options['pickedcolor4']; ?>; color:white" > |
<span class = "department" ><?php echo $options [ 'top_content5_banner_btnlabel_sub2' ]; ?></span><br/> |
<span class = "name" ><?php echo $options [ 'top_content5_banner_btnlabel2' ]; ?></span><span class = "arrow_ico1" ></span> |
</div> |
<?php endif ; ?> |
<?php if ( $options [ 'top_content5_banner_url2' ]){ ;?></a><?php }; ?> |
</div> |
<p class = "text-left desc2" ><?php echo $options [ 'top_content5_banner_body2' ]; ?></p> |
</div> |
<div class = "col-sm-40" > |
<div class = "text-left staff-interview" > |
<?php if ( $options [ 'top_content5_banner_url3' ]){ ;?><a href= "<?php echo $options['top_content5_banner_url3']; ?>" ><?php }; ?> |
<?php if ( $top_content5_banner_image3 [0]){ ?><img class = "full-width" style= "border-radius:0; padding-bottom:15px" src= "<?php echo $top_content5_banner_image3[0]; ?>" ><?php }; ?> |
<p class = "read_copy" ><span style= "color:#<?php echo $options['pickedcolor5']; ?>" ><?php echo $options [ 'top_content5_banner_headline3' ]; ?></span></p> |
<?php if ( $options [ 'top_content5_banner_url3' ]): ?> |
<div class = "text-left staff" style= "background:#<?php echo $options['pickedcolor5']; ?>; color:white" > |
<span class = "department" ><?php echo $options [ 'top_content5_banner_btnlabel_sub3' ]; ?></span><br/> |
<span class = "name" ><?php echo $options [ 'top_content5_banner_btnlabel3' ]; ?></span><span class = "arrow_ico1" ></span> |
</div> |
<?php endif ; ?> |
<?php if ( $options [ 'top_content5_banner_url3' ]){ ;?></a><?php }; ?> |
</div> |
<p class = "text-left desc2" ><?php echo $options [ 'top_content5_banner_body3' ]; ?></p> |
</div> |
</div> |
</div> |
この記事は役に立ちましたか?
もし参考になりましたら、下のボタンで教えてください。
今後の記事作成の参考とさせて頂きます!