aaronlin00
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [WP News and Scrolling Widgets] How can I hide news post short contentI use the following shortcode
[sp_news limit="9" grid="3" show_content="false" ], the read more button still disappear.my website: https://nsysusa.org/latestnews/
Thanks.
- This reply was modified 4 years, 11 months ago by aaronlin00.
- This reply was modified 4 years, 11 months ago by aaronlin00.
Forum: Plugins
In reply to: [WP News and Scrolling Widgets] How can I hide news post short contentI have replaced the code, but seem nothing change
Here’s the code at that section now<?php if( $show_content ) { ?> <div class="news-content-excerpt"> <?php if( $show_content ) { if( empty( $show_full_content ) ) { $excerpt = get_the_content(); ?> <div class="news-short-content"> <?php echo wpnw_limit_words( $post->ID, $excerpt, $words_limit, '...'); ?> </div> <?php } else { the_content(); } } ?> <a href="<?php the_permalink(); ?>" class="news-more-link"><?php _e( 'Read More', 'sp-news-and-widget' ); ?></a> </div><!-- .entry-content --> <?php } ?>Forum: Plugins
In reply to: [WP News and Scrolling Widgets] How can I hide news post short contentThanks for your reply! I have found line 185
<a href="<?php the_permalink(); ?>" class="news-more-link"><?php _e( 'Read More', 'sp-news-and-widget' ); ?></a>
but I don’t know how to set this line to what I need.Can you help me what code should I type in?
Thanks.
- This reply was modified 4 years, 11 months ago by aaronlin00.
Forum: Plugins
In reply to: [Appointment Hour Booking - Booking Calendar] can’t set capacity
Viewing 4 replies - 1 through 4 (of 4 total)