How to Fix "WordPress Post Content Not Showing"

By Published On: April 19, 2024

Several times now I have had an issue where I have worked with a client (or my own) WordPress website and had an issue where the blog post title would show on the blog page, but no excerpt would show … and then when I went into the blog post the content would not show on the page.

This drove me nuts until I found a post that outlined the issue.  Apparently, WordPress limits the size of the blog post, and if it exceeds a certain size, it won’t show the content of the blog post.  I don’t know all of the technical details behind it, but I found that this solved my issue (each time).

  • Go into the wp-config.php file (via FTP).
  • Make a copy of it ‘as is’
  • Paste this down under the ‘define’ section of the code:
/** Trick for long posts */
ini_set(‘pcre.recursion_limit’,20000000);
ini_set(‘pcre.backtrack_limit’,10000000);
  • Save your wp-config.php file (and re-upload to the directory, if necessary)
  • Go back and refresh your page, and your blog post content should be showing.

As always, make a back-up of your site and all files involved before editing anything.  It’s always best to be sure that you can easily revert back to the original settings.

About the Author

Jeff Arnold is the founder of 4Spot Consulting and a keynote speaker on automation and AI in business. He has been building companies since 2000 and works with HR, recruiting, and professional services teams to replace manual work with systems that run without them. He is the author of The Automated Recruiter.

Free OpsMap™️ Quick Audit

One page. Five minutes. Pinpoint where your business is leaking time to broken processes.

Free Recruiting Workbook

Stop drowning in admin. Build a recruiting engine that runs while you sleep.

The Automated Recruiter by Jeffrey W. Arnold - Amazon #1 Best Seller

Ready to run the map on your business?

The OpsMap audit is free. You walk out with a written map either way.