Plugin Directory

Changeset 1977165


Ignore:
Timestamp:
11/20/2018 04:41:25 AM (7 years ago)
Author:
Tajul2010
Message:

read more

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sb-latest-posts/trunk/spellbit-latest-posts.php

    r1977110 r1977165  
    202202            while( $q->have_posts() ):$q->the_post();
    203203                $words = ($instance['content_words']) ? $instance['content_words'] : '10';
     204                $read_more = ' read more';
    204205            ?>
    205206                    <li>
     
    215216
    216217                             <?php
    217                              if($show_content){
     218                             if( !empty($show_content)){
    218219                                print wp_trim_words(get_the_content(), $words, $read_more );
    219220                             }                   
Note: See TracChangeset for help on using the changeset viewer.