Changeset 3006495
- Timestamp:
- 12/06/2023 11:11:50 PM (16 months ago)
- Location:
- fcp-posts-by-search-query/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
fcp-posts-by-search-query/trunk/inc/shortcode.php
r2982729 r3006495 140 140 141 141 // prepare the values to fill in the template 142 $excerpt = $crop_excerpt( ( has_excerpt( $p ) ? get_the_excerpt( $p ) : wp_strip_all_tags( get_the_content( null, false, $p ), true ) ), $settings['excerpt-length'] ?: 200 ); 142 143 $categories = isset( $settings['hide-category'] ) ? [] : get_the_category( $p ); 143 144 … … 154 155 'date' => isset( $settings['hide-date'] ) ? '' : get_the_date( '', $p ), 155 156 'datetime_attr' => isset( $settings['hide-date'] ) ? '' : get_the_date( 'Y-m-d', $p ), 156 'excerpt' => isset( $settings['hide-excerpt'] ) ? '' : esc_html( $ crop_excerpt( wp_strip_all_tags( get_the_content( null, false, $p ), true ), $settings['excerpt-length'] ?: 200 )),157 'excerpt' => isset( $settings['hide-excerpt'] ) ? '' : esc_html( $excerpt ), 157 158 'category' => empty( $categories ) ? '' : esc_html( $categories[0]->name ), 158 159 'category_link' => empty( $categories ) ? '' : get_category_link( $categories[0]->term_id ), -
fcp-posts-by-search-query/trunk/posts-by-query.php
r2982729 r3006495 3 3 Plugin Name: Posts by Search Query 4 4 Description: Implement a list of relevant posts to particular pages with a search query or exact list of posts. Easy pick and add. Print with the shortcode <code>[fcppbk]</code> 5 Version: 1.0. 75 Version: 1.0.8 6 6 Requires at least: 5.8 7 Tested up to: 6. 37 Tested up to: 6.4 8 8 Requires PHP: 7.4 9 9 Author: Firmcatalyst, Vadim Volkov, Aude Jamier -
fcp-posts-by-search-query/trunk/readme.txt
r2982729 r3006495 3 3 Tags: posts, list posts 4 4 Requires at least: 5.8 5 Tested up to: 6. 35 Tested up to: 6.4 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 77 Stable tag: 1.0.8 8 8 Author: Firmcatalyst, Vadim Volkov, Aude Jamier 9 9 Author URI: https://firmcatalyst.com/about/ … … 11 11 License URI: http://www.gnu.org/licenses/gpl-3.0.html 12 12 13 Posts by Search Query 13 Implement a list of relevant posts to particular pages with a search query or exact list of posts. Easy pick and add. Print with the shortcode `[fcppbk]` 14 14 15 15 == Description ==
Note: See TracChangeset
for help on using the changeset viewer.