badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

How to add (Continue reading) button below post excerpt

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #80424
    john
    Participant

    I want continue reading button to appear below my posts excerpt
    just like this click to view

    #80444
    john
    Participant

    Please do well to respond. It’s urgent.
    (News card pro)

    #80447

    Please go to “Theme Directory > template-parts > content-php”. On line no: 78 to 80 you will find below codes.
    (if you have already customized content.php page then line no will be different)

    <div class="entry-content">
    	<p><?php echo wp_trim_words( get_the_excerpt(), absint($newscard_settings['newscard_excerpt_length_blog']) ); ?></p>
    </div><!-- entry-content -->

    Beneath the mentioned code just add the below mentioned Custom Code

    <a href="<?php echo esc_url( get_permalink() ) ?>" class="btn btn-outline-dark" style="margin-bottom: 10px;">Continue reading</a>

    Note: we recommend you to customize the code only after making the Child Theme so that your customized code for the Theme won’t get lost when updating the Theme to New Version in future.

    and also if you are already a Purchased the Premium Theme then Please post your queries under the respective Theme on forum.

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.