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
- Best way to eliminate xmlrpc.php?
- 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?
- How can I clear oEmbed caches for YouTube on posts as they are loaded
- How to move wp-content (or uploads) outside of the WordPress directory
- 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
- Show content after the first and second paragraph
- Host wp-content on other domain, much like a CDN
- WordPress REST API – JSON “Rendered” Content Incorrect
- 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?
- What server settings are required to import WordPress XML file
- Have multiple local wordpress installs share a wp-content folder and database
- append_content help
- Add default content to post (for specific category)
- Custom CSS for full post vs. excerpt (Content Options)
- 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
- Save metabox checkboxes values to custom content type
- Hiding posts and pages in panel
- Convert all youtube link to embed
- Customize in category page
- Change Content for Specific Page
- 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
- 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
- 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 loop for every result found in the_content() when using the search query?
- Automatically wrap multiple images in div
- 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 make author box like this & add after every post?
- Extract an embedded video from the content
- same wordpress, 2 domains
- How can I automatically insert the page content as the title?
- Displaying latest Posts – fixed height – Excerpt vs. Content?
- Javascript Solution Remove Specific Tag but leave the rest in a specific DIV
- How to retrieve text only from a post using WP CLI?
- Control Content On Non-Blog Pages
- Doctype printed on the page content
- Images are searched in the wrong path
- Main WordPress site with several flexible clones
- 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
- 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)
- Best Way to Add UnEditable HTML to Posts
- the_content() returning null in one category only, even though there is content
- 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
- add share buttons above my posts without plugins
- 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?
- How to add custom page elements to the WYSIWYG editor?
- Divide post content in three columns
- Website showing random code like texts in a post after pasting from MS Word
- How to add page content into another page
- Simple Math Quiz or Captcha to hide whois query form
- 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
- 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