Excerpts Missing from Search

Hey Guys

Issue that has popped up on my installs. Currently if i search anything i get no excerpts but instead get “…” and thats it.

https://crosspointnv18.elitewebscapes.com/?s=home

I’m not sure how to get these back as I’m not using anything other than adding the excerpt field with the excerpts on pages.

Your help will be much appreciated.

Thanks

Hello There,

Thanks for writing in! By default, page excerpts were disabled by WordPress. This is why you are only seeing page titles and no descriptions in it. You have to turn in on by inserting this following code in your child theme’s functions.php file

// Add manual excerpts to pages
// =============================================================================
add_action( 'init', 'my_add_excerpts_to_pages' );
function my_add_excerpts_to_pages() {
     add_post_type_support( 'page', 'excerpt' );
}
// =============================================================================

To display the page excerpt, you may have to use the manual excerpts. To add an excerpt to a page, simply write one in the Excerpt field under the post edit box. Please see the screenshot below: http://prntscr.com/a57dbr

Excerpts are optional hand-crafted summaries of your content that can be used in your theme. Learn more about manual excerpts here: https://codex.wordpress.org/Excerpt

update: The last time I check, it seems that you have resolve the issue. This is what I am seeing in your site now: http://prntscr.com/kegmrw

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.