Changeset 1977165
- Timestamp:
- 11/20/2018 04:41:25 AM (7 years ago)
- File:
-
- 1 edited
-
sb-latest-posts/trunk/spellbit-latest-posts.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sb-latest-posts/trunk/spellbit-latest-posts.php
r1977110 r1977165 202 202 while( $q->have_posts() ):$q->the_post(); 203 203 $words = ($instance['content_words']) ? $instance['content_words'] : '10'; 204 $read_more = ' read more'; 204 205 ?> 205 206 <li> … … 215 216 216 217 <?php 217 if( $show_content){218 if( !empty($show_content)){ 218 219 print wp_trim_words(get_the_content(), $words, $read_more ); 219 220 }
Note: See TracChangeset
for help on using the changeset viewer.