Plugin Directory

Changeset 1513586 for wp-show-posts


Ignore:
Timestamp:
10/12/2016 07:45:17 PM (9 years ago)
Author:
edge22
Message:

Release 0.8

Location:
wp-show-posts/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-show-posts/trunk/admin/metabox.php

    r1512340 r1513586  
    188188            'type'        => 'checkbox',
    189189            'section'     => 'wpsp_posts',
    190             'label'       => __( 'Pagination','wp-show-posts-pro' ),
     190            'label'       => __( 'Pagination','wp-show-posts' ),
    191191            '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' ),
    192192            'attr' => array( 'id' => 'wpsp-pagination' )
     
    414414            'type'        => 'checkbox',
    415415            'section'     => 'wpsp_content',
    416             'label'       => __( 'Include title','wp-show-posts-pro' ),
     416            'label'       => __( 'Include title','wp-show-posts' ),
    417417            'attr' => array( 'id' => 'wpsp-include-title' )
    418418        )
     
    457457            'type'        => 'checkbox',
    458458            'section'     => 'wpsp_post_meta',
    459             'label'       => __( 'Include author','wp-show-posts-pro' ),
     459            'label'       => __( 'Include author','wp-show-posts' ),
    460460            'attr' => array( 'id' => 'wpsp-include-author' )
    461461        )
     
    497497            'type'        => 'checkbox',
    498498            'section'     => 'wpsp_post_meta',
    499             'label'       => __( 'Include date','wp-show-posts-pro' ),
     499            'label'       => __( 'Include date','wp-show-posts' ),
    500500            'attr' => array( 'id' => 'wpsp-include-date' )
    501501        )
     
    537537            'type'        => 'checkbox',
    538538            'section'     => 'wpsp_post_meta',
    539             'label'       => __( 'Include terms','wp-show-posts-pro' ),
     539            'label'       => __( 'Include terms','wp-show-posts' ),
    540540            'attr' => array( 'id' => 'wpsp-include-terms' )
    541541        )
     
    603603            'type'        => 'checkbox',
    604604            'section'     => 'wpsp_query_args',
    605             'label'       => __( 'Exclude current','wp-show-posts-pro' ),
     605            'label'       => __( 'Exclude current','wp-show-posts' ),
    606606            'attr' => array( 'id' => 'wpsp-exclude-current' )
    607607        )
     
    655655            'type'        => 'checkbox',
    656656            'section'     => 'wpsp_query_args',
    657             'label'       => __( 'Ignore sticky posts','wp-show-posts-pro' ),
     657            'label'       => __( 'Ignore sticky posts','wp-show-posts' ),
    658658            'attr' => array( 'id' => 'wpsp-ignore-sticky-posts' )
    659659        )
  • wp-show-posts/trunk/readme.txt

    r1512340 r1513586  
    55Requires at least: 4.0
    66Tested up to: 4.6.1
    7 Stable tag: 0.7
     7Stable tag: 0.8
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    150150== Changelog ==
    151151
     152= 0.8 =
     153* Strip shortcodes from excerpts
     154* Add ellipses after excerpts
     155* Fix some broken text domains for translations
     156
    152157= 0.7 =
    153158* Prevent direct access to files
     
    196201== Upgrade Notice ==
    197202
     203= 0.8 =
     204* Strip shortcodes from excerpts
     205* Add ellipses after excerpts
     206* Fix some broken text domains for translations
     207
    198208= 0.7 =
    199209* Prevent direct access to files
  • wp-show-posts/trunk/wp-show-posts.php

    r1512340 r1513586  
    44Plugin URI: https://wpshowposts.com
    55Description: 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.7
     6Version: 0.8
    77Author: Tom Usborne
    88Author URI: https://tomusborne.com
     
    1616
    1717// Define the current version
    18 define( 'WPSP_VERSION', 0.7 );
     18define( 'WPSP_VERSION', 0.8 );
    1919
    2020// Add defaults
     
    411411                    if ( 'excerpt' == $content_type && $excerpt_length && ! $more_tag && 'none' !== $content_type ) : ?>
    412412                        <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', '...' ) ) ); ?>
    414414                        </div><!-- .entry-summary -->
    415415                    <?php elseif ( ( 'full' == $content_type || $more_tag ) && 'none' !== $content_type ) : ?>
Note: See TracChangeset for help on using the changeset viewer.