Changeset 2470287
- Timestamp:
- 02/07/2021 08:20:49 AM (5 years ago)
- Location:
- custom-simple-rss/trunk
- Files:
-
- 2 edited
-
custom-simple-rss.php (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
custom-simple-rss/trunk/custom-simple-rss.php
r2216984 r2470287 5 5 * Plugin URI: 6 6 * Description: A plugin to create a Custom Simple RSS Feed according to chosen parameters 7 * Version: 2. 0.97 * Version: 2.1.0 8 8 * Author: Danny(Danikoo) Haggag 9 9 * Author URI: http://www.danikoo.com … … 337 337 $post_id = get_the_ID(); 338 338 $the_post = get_post($post_id); 339 $excerpt = $the_post->post_excerpt; 339 /* 340 * $excerpt = $the_post->post_excerpt; 341 * since 2021 feb 04 342 * */ 343 add_filter('excerpt_more', 'custom_simple_rss_excerpt_more'); 344 $excerpt = get_the_excerpt($post_id); 340 345 $modified = $the_post->post_modified; 341 346 $created = $the_post->post_date; … … 598 603 $post_id = get_the_ID(); 599 604 $the_post = get_post($post_id); 600 $excerpt = $the_post->post_excerpt; 605 /* $excerpt = $the_post->post_excerpt; 606 * since 2021 feb 04 607 * */ 608 add_filter('excerpt_more', 'custom_simple_rss_excerpt_more'); 609 $excerpt = get_the_excerpt($post_id); 601 610 $modified = $the_post->post_modified; 602 611 $created = $the_post->post_date; … … 820 829 return $custom_simple_rss_options; 821 830 } 831 832 function custom_simple_rss_excerpt_more( $more ) { 833 return ''; 834 } -
custom-simple-rss/trunk/readme.txt
r2469131 r2470287 79 79 == Changelog == 80 80 81 **2.1.0** 82 83 2021-02-04 version 2.1.0 84 85 1. added - show short contnet in description field (using get_the_excerpt function) where excerpt is missing 86 87 81 88 **2.0.9** 82 89
Note: See TracChangeset
for help on using the changeset viewer.