Changeset 1513586 for wp-show-posts
- Timestamp:
- 10/12/2016 07:45:17 PM (9 years ago)
- Location:
- wp-show-posts/trunk
- Files:
-
- 3 edited
-
admin/metabox.php (modified) (7 diffs)
-
readme.txt (modified) (3 diffs)
-
wp-show-posts.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-show-posts/trunk/admin/metabox.php
r1512340 r1513586 188 188 'type' => 'checkbox', 189 189 'section' => 'wpsp_posts', 190 'label' => __( 'Pagination','wp-show-posts -pro' ),190 'label' => __( 'Pagination','wp-show-posts' ), 191 191 'description' => __( 'Pagination should only be used if your posts are the only thing in the content area to prevent duplicate content issues.','wp-show-posts' ), 192 192 'attr' => array( 'id' => 'wpsp-pagination' ) … … 414 414 'type' => 'checkbox', 415 415 'section' => 'wpsp_content', 416 'label' => __( 'Include title','wp-show-posts -pro' ),416 'label' => __( 'Include title','wp-show-posts' ), 417 417 'attr' => array( 'id' => 'wpsp-include-title' ) 418 418 ) … … 457 457 'type' => 'checkbox', 458 458 'section' => 'wpsp_post_meta', 459 'label' => __( 'Include author','wp-show-posts -pro' ),459 'label' => __( 'Include author','wp-show-posts' ), 460 460 'attr' => array( 'id' => 'wpsp-include-author' ) 461 461 ) … … 497 497 'type' => 'checkbox', 498 498 'section' => 'wpsp_post_meta', 499 'label' => __( 'Include date','wp-show-posts -pro' ),499 'label' => __( 'Include date','wp-show-posts' ), 500 500 'attr' => array( 'id' => 'wpsp-include-date' ) 501 501 ) … … 537 537 'type' => 'checkbox', 538 538 'section' => 'wpsp_post_meta', 539 'label' => __( 'Include terms','wp-show-posts -pro' ),539 'label' => __( 'Include terms','wp-show-posts' ), 540 540 'attr' => array( 'id' => 'wpsp-include-terms' ) 541 541 ) … … 603 603 'type' => 'checkbox', 604 604 'section' => 'wpsp_query_args', 605 'label' => __( 'Exclude current','wp-show-posts -pro' ),605 'label' => __( 'Exclude current','wp-show-posts' ), 606 606 'attr' => array( 'id' => 'wpsp-exclude-current' ) 607 607 ) … … 655 655 'type' => 'checkbox', 656 656 'section' => 'wpsp_query_args', 657 'label' => __( 'Ignore sticky posts','wp-show-posts -pro' ),657 'label' => __( 'Ignore sticky posts','wp-show-posts' ), 658 658 'attr' => array( 'id' => 'wpsp-ignore-sticky-posts' ) 659 659 ) -
wp-show-posts/trunk/readme.txt
r1512340 r1513586 5 5 Requires at least: 4.0 6 6 Tested up to: 4.6.1 7 Stable tag: 0. 77 Stable tag: 0.8 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 150 150 == Changelog == 151 151 152 = 0.8 = 153 * Strip shortcodes from excerpts 154 * Add ellipses after excerpts 155 * Fix some broken text domains for translations 156 152 157 = 0.7 = 153 158 * Prevent direct access to files … … 196 201 == Upgrade Notice == 197 202 203 = 0.8 = 204 * Strip shortcodes from excerpts 205 * Add ellipses after excerpts 206 * Fix some broken text domains for translations 207 198 208 = 0.7 = 199 209 * Prevent direct access to files -
wp-show-posts/trunk/wp-show-posts.php
r1512340 r1513586 4 4 Plugin URI: https://wpshowposts.com 5 5 Description: WP Show Posts allows you to list posts (from any post type) anywhere on your site. This includes WooCommerce products or any other post type you might have! Check out the pro version for even more features at https://wpshowposts.com. 6 Version: 0. 76 Version: 0.8 7 7 Author: Tom Usborne 8 8 Author URI: https://tomusborne.com … … 16 16 17 17 // Define the current version 18 define( 'WPSP_VERSION', 0. 7);18 define( 'WPSP_VERSION', 0.8 ); 19 19 20 20 // Add defaults … … 411 411 if ( 'excerpt' == $content_type && $excerpt_length && ! $more_tag && 'none' !== $content_type ) : ?> 412 412 <div class="wp-show-posts-entry-summary" itemprop="text"> 413 <?php echo wp_trim_words( get_the_content(), $excerpt_length, ''); ?>413 <?php echo strip_shortcodes( wp_trim_words( get_the_content(), $excerpt_length, apply_filters( 'wpsp_ellipses', '...' ) ) ); ?> 414 414 </div><!-- .entry-summary --> 415 415 <?php elseif ( ( 'full' == $content_type || $more_tag ) && 'none' !== $content_type ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.