Relia Theme Homepage Articles Excerpt displays the current page excerpt not the posts being pulled
Relia Theme Homepage Articles Excerpt displays the current page excerpt not the posts being pulled
Relia Theme Homepage Articles Excerpt displays the current page excerpt not the posts being pulled
Read More excerpt link on a post is not linking to the post itself
You can hook the get_the_excerpt filter with parse_blocks to extract the content of your post. add_filter( ‘get_the_excerpt’, ‘se378694_default_excerpt’, 10, 2 ); function se378694_default_excerpt( string $post_excerpt, WP_Post $post ):string { if ( empty( $post_excerpt ) ) { $blocks = parse_blocks( $post->post_content ); // check if the first block matches the type of content you want for … Read more
I get the impression that on some PHP script/page, to be duplicated and modified somewhere in my child theme, the_content should be changed to the_excerpt. This is correct. You can refer to the Template Hierarchy to determine which template file your parent theme is using for the Posts page. Then you can copy that to … Read more
“Continue reading” not on some posts, full excerpts not shown
after creating a child theme for Twenty Eleven, copy content.php from the Twenty Eleven theme into your child theme to edit it; find (line 35): <?php if ( is_search() ) : // Only display Excerpts for Search ?> change to: <?php if ( is_search() || is_paged() || $wp_query->current_post > 0 ) : // Only display … Read more
You need to hook into excerpt_more filter, for more information see Codex page, as examples of use Twenty Ten‘s and Twenty Eleven’s function files.
Use wp_trim_words( $text, $num_words, $more_text ) The first argument is the text to trim, the second is the number of words you want and the third is the truncation text which defaults to an ellipsis. The function is located in wp-includes/formatting.php line 1920 (v3.3.1)
1 – RSS is the best way. See FeedWordPress | simple and flexible Atom/RSS syndication for WordPress and WordPress › SimplePie Plugin for WordPress « WordPress Plugins and Developer’s Guide – Google AJAX Feed API – Google Code 2 – Probably
From looking at the plugins code in repo SVN trunk, you have only the option to add the_advanced_excerpt() manually in code. So simply don’t add it, or did I miss something?