Is there any way to output the raw, unfiltered post HTML to find out
whether this is a rogue filter deleting all the content in that
specific category for some weird reason?
Yes there is, you can use $post->post_content
. Try adding something like:
echo '<pre>'.$post->post_content.'</pre>';
just before the_content()
call in your template file.
What else could cause a wholesale deletion of content in one category
only?
Since you say that you can see the content in the back end there is no deletion and most probably has something to do with a filter hook, hooked with the_content
hook.
try deactivating your plugins and reactivating theme one by one to see which one is causing it. And if that is not it then try switching to the default theme see if that is the cause.
Related Posts:
- Best practices for localizing WordPress content?
- if the post has content
- I want to have my custom field use HTML, how do I do that?
- remove tags from the_content
- What’s the Best Way to Structure a Multi-Content Blog?
- How to Handle Distributed Development Workflow
- How can I clear oEmbed caches for YouTube on posts as they are loaded
- Recommended Books on WordPress for Management and non-Developers?
- Total word count for posts by one author
- Get ID of a page containing secondary loop in content
- Split content into multiple columns using more tag?
- Get Content From Blog Page
- Show content after the first and second paragraph
- Host wp-content on other domain, much like a CDN
- Identify which loop you are hooking into; primary or secondary?
- WordPress REST API – JSON “Rendered” Content Incorrect
- How do I make certain areas editable?
- What server settings are required to import WordPress XML file
- append_content help
- How to limit post content and remove image caption from it
- Is there a way to trigger an automatic import of a WP backup on creation of a new WP multisite site?
- Site content not showing
- How to just show first line of content
- get_the_content not working in loop?
- Hiding posts and pages in panel
- Take excerpt of the content of the post and send it as the title to create new post
- Convert all youtube link to embed
- Change Content for Specific Page
- wp_insert_post iframe missing
- Grabbing specific content
- Does is_user_logged_in() block search bots?
- Replace full content with an excerpt
- Output string using php printf
- content gets scrambled
- Conflicting post edit options under dashboard
- How to make search and replace in content through php
- Disable external (3rd party) CALL (images,fonts..) in Dashboard
- Retrieve a specific number of words from post_Content
- Display content of page template (get_page)
- Get the content inside shortcode and apply external function to it?
- Can somebody tell me how I am supposed to be using blogs.dir for network / MU sites?
- How to have a “clean” post content, for excerpt and social networks sharing
- Hide specific content from excerpts
- Is there a way to show only the text editor
- How to load all pages into one page with their templates
- How to make author box like this & add after every post?
- Hardening wordpress: wp-content file permissions?
- Extract an embedded video from the content
- same wordpress, 2 domains
- Displaying latest Posts – fixed height – Excerpt vs. Content?
- How to retrieve text only from a post using WP CLI?
- Doctype printed on the page content
- Images are searched in the wrong path
- Main WordPress site with several flexible clones
- Post Format Default Content
- Export + Import = wrongly duplicated content
- Post titles below the post format content
- Show image on the left and content on the right using ul li
- What is the precendence of item types within WordPress
- How do I display an image before the first post of the loop when I’m using get_template_part?
- the_excerpt() in content.php and get_template_part() in single.php
- Problem with content – not loading
- Content not shown on some older browsers and mobile devices (SGS3)
- get parent content inside child posts
- The_excerpt() doesn’t parse – how to change that?
- Page and post loop same template
- tabbed content box with different tabbed background images
- Excerpt vs content formatting woes
- Page content not visible in backend
- add share buttons above my posts without plugins
- Body-only page for a 2-page form [closed]
- How is WordPress changing the content markup?
- Get post content from outside the loop with plugin shortcode usability
- Changing theme removes page content in dashboard’s post main editor
- Divide post content in three columns
- Website showing random code like texts in a post after pasting from MS Word
- Accessing the Posts page Content
- Simple Math Quiz or Captcha to hide whois query form
- Using jQuery .after inside loop
- Announces with different formatting dependently on a number
- highlight specific text in the content box
- qTranslate 2.5.28 and WordPress 3.3.1 issues [closed]
- How do i configure my content to show full posts?
- How to show content for posts of a specific category only
- What is the best practice to localize content? (Geographic not langauge)
- Duplicate content with incremental titles. How is this happening?
- How to separate two columns from one content on a page template?
- Upgrading to WP 5+ with block content – Export & Import Page Content
- Images over HTTPS endless issues – mixed content
- Printing first line of content in wordpress
- Custom slugs for Each Tab
- Using Elementor to get dynamic content for wordpress on a predefined theme
- Content export, reinstall and content import
- mixed content missing from wordpress media
- Please tell how to stop the category from showing up on posts
- Open content directory help!
- Need help with invisible content block
- Is it possible to remove the content editor (RTF field) for a certain user / role?
- Excerpts not showing on main page
- How to get the list of posts with empty content