//抜粋文
<div class="entry-summary">
<?php echo nl2br($post->post_excerpt);// 抜粋文を表示(改行つき) ?>
<?php the_excerpt(); ?>// 抜粋文を優先表示。なければ本文先頭を表示(改行なし)
</div><!-- .entry-summary -->
それゆけ!プログラマ
//抜粋文
<div class="entry-summary">
<?php echo nl2br($post->post_excerpt);// 抜粋文を表示(改行つき) ?>
<?php the_excerpt(); ?>// 抜粋文を優先表示。なければ本文先頭を表示(改行なし)
</div><!-- .entry-summary -->
©2014 - 2024 sakura*sakura.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |