I don’t believe you can as a general rule just use a simplistic text search to find content even in Drupal.
Any non-trivial data organization will probably use serialization, json encoding or totally separating the location of different parts of a data at different places of the DB or code and combining them when a page is generated.
A leading element in “what you see is not what you have written” are shortcodes, which generate html which seems to be part of the content, but it is not as it is generated from meta data or external resources.
The more complex the site is the bigger the chance is that you will run into content that is composed that way.
Related Posts:
- Best practices for localizing WordPress content?
- How to Handle Distributed Development Workflow
- Split content into multiple columns using more tag?
- Take excerpt of the content of the post and send it as the title to create new post
- Hardening wordpress: wp-content file permissions?
- Post Format Default Content
- What is the best practice to localize content? (Geographic not langauge)
- preg_replace style attr in $content and Editing post_content before saving
- if the post has content
- I want to have my custom field use HTML, how do I do that?
- What’s the Best Way to Structure a Multi-Content Blog?
- Editing Complex Pages in Visual Mode
- Recommended Books on WordPress for Management and non-Developers?
- Total word count for posts by one author
- Get Content From Blog Page
- Multiple content areas per page
- How do I make certain areas editable?
- Some way to Flush or Overwrite all Imported Content in a Site for a Fresh Import – How?
- Have multiple local wordpress installs share a wp-content folder and database
- append_content help
- Add default content to post (for specific category)
- Is there a way to trigger an automatic import of a WP backup on creation of a new WP multisite site?
- Save metabox checkboxes values to custom content type
- Hiding posts and pages in panel
- Static files or dynamic WP pages for “static content”?
- wp_insert_post iframe missing
- Grabbing specific content
- Does is_user_logged_in() block search bots?
- Replace full content with an excerpt
- content gets scrambled
- Disable external (3rd party) CALL (images,fonts..) in Dashboard
- 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?
- Automatically wrap multiple images in div
- How to have a “clean” post content, for excerpt and social networks sharing
- Is there a way to show only the text editor
- How to make author box like this & add after every post?
- Extract an embedded video from the content
- How can I automatically insert the page content as the title?
- 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 titles below the post format content
- Show image on the left and content on the right using ul li
- the_excerpt() in content.php and get_template_part() in single.php
- Content not shown on some older browsers and mobile devices (SGS3)
- Best Way to Add UnEditable HTML to Posts
- tabbed content box with different tabbed background images
- Excerpt vs content formatting woes
- Insert menu with a custom walker into page / post body using shortcode?
- Can local WordPress installs share /wp-content/ folder and database?
- How to delete all posts, categories and tags from WordPress database
- Page content not visible in backend
- Where to store reusable content that is not a page
- Body-only page for a 2-page form [closed]
- Changing theme removes page content in dashboard’s post main editor
- How should I structure complex content hierarchies?
- Divide post content in three columns
- Website showing random code like texts in a post after pasting from MS Word
- Simple Math Quiz or Captcha to hide whois query form
- highlight specific text in the content box
- How do i configure my content to show full posts?
- How to show content for posts of a specific category only
- Extract Information from post content (using regex?)
- Display a specified content on a Page and all its child pages
- Duplicate content with incremental titles. How is this happening?
- Woocommerce custom archive page custom content and shortcode
- Upgrading to WP 5+ with block content – Export & Import Page Content
- How can I add a custom Javascript snippet to display my feedback in footer?
- 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
- Problems with setting up a subdomain to serve images and scripts
- Content export, reinstall and content import
- Open content directory help!
- Need help with invisible content block
- How to get the list of posts with empty content
- Retrieve content of page by URL Parameter
- Need help for showing same front content page, search page and portfolio post page
- Wp Some Pages content Not display in editor after move live server
- Add video tag to youtube link fron content
- Having a strange wordpress issue where content does not load when past a certain amount
- How to embed PDF files inside content without media_send_to_editor?
- Update content on the fly
- Visual Editor not working for user on multiple computers
- Migrate bbpress content to posts
- My UPDATED content ONLY shows when I am signed in.
- Built-in Method to Extract Embedded Video from Content
- Add default content to post (for specific category)
- Content in footer file
- How can I add more code to this?
- Add a filter to a different custom plugin
- Best way to modify content from index.php to single.php?
- Display a paragraph in the index page that won’t be displayed in the single post
- Is it possible to set the upload location to a different server?
- styling the contents
- Mixed Content removal from WordPress, can someone please help me with the details on how to fix it
- Notify/check if the content of a custom gutenberg block has changed on save_post