The problem will likely be a (very slow) callback that is attached to your get_the_excerpt()
function.
To inspect the attached callbacks, just inspect the global:
// Best hooked to `shutdown`
echo '<pre>'.var_export( $GLOBALS['wp_filters']['get_the_excerpt'], true ).'</pre>';
Then get rid of all those callbacks.
Related Posts:
- fetch_feed: retrieve entries in the appearing order, not chronologically
- Extremely slow pageload for long post when using the_content?
- I have issue with decoding json ex. ‘{“a”:”b”}’
- Allow HTML in excerpt
- Nginx FastCGI_Cache Vs PHP Caching
- How to check if feed URL was requested?
- How to loop through JSON data in wordpress WP REST API
- WP API V2 returning Invalid User ID
- Conditionally loading JavaScript based on the Advanced Custom Fields in the post
- How to return the_excerpt (without echo)?
- Passing JSON data from WP Query into AJAX causing NULL errors
- Export all post from database to JSON only when the database gets updated
- Limit the Excerpt field in WP-Admin in words
- Create a new user using WP REST API and declare meta object
- Limit the_excerpt with max of x characters
- Twitter feed is showing blank in WP site [closed]
- Remove at the beginning of the_excerpt() with str_replace
- Automatic Excerpt Not Working
- How Do I Add User Custom Field to REST API Response?
- API JSON Data in WordPress
- Trim first 2 words of the exceprt
- Gutenberg custom block using only register_block_type() and HTML
- How can I export post data in xml format?
- Performance issues with large website [closed]
- how to decode % in app [closed]
- Upload a json file in php [closed]
- How to change / delete product short description in Woocommerce
- How to send user data in json format to another server when user register on wordpress site in PHP
- Excerpt unwanted text “”
- PHP 5.5, w3 Total Cache, and opcache [closed]
- Using get_bloginfo(‘template_directory’) or variable – performance issue
- Word Count Function Preventing Permalink Editing
- Custom excerpt function re-factoring
- Looking for most performant way to execute several similar WP queries within shortcodes
- It is a good idea to store values from the global $post if they are used multiple times?
- Create dynamic pages from external JSON data without storing in Database?
- Parsing php string in jquery [closed]
- How to Display a Single Post Excerpt
- Vagrantpress + composer
- How to remove the excerpt in the Dzonia Lite theme
- woocommerce registration form with klaviyo(don’t work with current user)
- wp_remote_get adding backslashes
- How do I Add HTML to the_excerpt() & the_content() Output?
- Creating a Multi-Level Associative Object Using AJAX
- Editing Category RSS Feeds
- Mass update excerpt
- How to put “Read more” link in Custom Excerpt inside p tag?
- Error when adding excerpt to the content through functions.php
- Fetch post block/field data as JSON with WordPress API
- WordPress Script stops suddenly
- Remove a div from RSS feed
- wp_enqueue_script seperately for each shortcode
- database sent to a JSON file
- Input data from email form not going to JSON file
- HTML tags not showing in excerpt
- PHP > Scheduled Tasks > Sending daily email with dynamic API variables
- Fetching instagram api not working on wordpress
- Query Pages and post excerpts dynamically
- My custom get_the_excerpt() can’t get excerpt by ID
- is there a benefit in using a constant over get_stylesheet_directory_uri?
- Adding Meta Tags to a Post using its Tags, Excerpt and content
- Using the_excerpt() on a page
- JSON REST API WordPress only showing first 10 categories
- How to show an entire post content and not also the excerpt?
- stripping tags from excerpt in WordPress is not working
- How to modify the default feed via a function
- Almost Done… Post Format Code
- Automatic excerpt is not shown with the_excerpt() command
- Can I add the post featured image to a specific RSS feed?
- entire JS folder not loading in a WP theme
- Retrieve Json data and create multiple pages with it
- How to clone all WordPress Rest API end points
- Remove   from the_excerpt
- Shortcodes showing in excerpt despite using strip_shortcodes
- PHP error with a shortcode: “no suitable wrapper” for file_get_contents
- How to remove the space before the ellipsis in excerpt?
- Need help removing […] after excerpt
- Post class only applying to first excerpt; why?
- Assign Custom classes to every Excerpt
- Aspx/Rss feed – failed to open stream: Redirection limit reached
- Page load timer?
- Problem in replacing the_content with the_excerpt()
- Can/should we delete wordpress cron jobs with no action?
- Sending simple variable on single page to WP JSON
- WordPress create custom XML RSS feed template
- Can’t pass var from php wp_ajax into ajax script : result undefined or null
- How do you measure the PHP generation time of your WordPress pages?
- Remove all feeds and return custom 404 page
- Find and print first entry from WordPress post in custom excerpt?
- Issue with json decode in WordPress – value is not returning consistently
- How does one make a URL return dynamic JSON with custom Content Type?
- How can i send id of the currently posted form data through json response in custom wordpress plugin?
- Cannot figure out how to add a read more link to a manual excerpt. Please help
- Trying to modify content.php
- Huge time to first byte on live site
- Need help to create WordPress page that decodes a text file and publishes it in JSON format
- Serve cookie free URLs in WordPress without using a CDN
- WordPress PHP error getting posts from another wordpress blog
- wp_send_json erase last value
- Complex PHP for json_encode > how to handle/output right?