Having that resulting XML file from the export it’s just a matter of editing it precisely to get rid of the images before importing it on the other site.
Taking Sublime Text for example it’s pretty easy to find and select all occurrences of [caption
and add a line break before them for example. Same for the closing tag. Then find and select all occurrences of [caption
again and in the menu under “Selection” select “Expand selection to line”. Then hit delete on your keyboard, done.
Maybe you need to separate all occurrences of <![CDATA[[caption
(featured images if I’m right) first by replacing them with some custom token to have them excluded by the in-post image search.
Related Posts:
- Find the post an attachment is attached to
- How do I detach images from posts?
- How to remove images from showing in a post with the_content()?
- How do I create Comma Separated list of attached image ids?
- Get post embedded image caption
- Load post attached images on a single page site with fancybox
- Set size for attachments
- I have a site where attachments in the wp_posts table have guid values of guid, how did this happen?
- Get all attachment by post excluding featured and content inside
- Get attachments for posts that belongs to a specific category
- How would one change the default url structure of attachments?
- Upload attachment from external site
- How to get the next and previous image title from attachment or gallery?
- Stop images from being displayed on the front-end of the site
- Broken images after importing posts and opening in Gutenberg
- removing inline styles from wp-caption div
- How to get Images included in Post
- Post slugs and images cannot have same name?
- Add existing images from Media Library in to custom gallery
- Use an attachment in multiple posts
- Download external images if post is publish
- How do I sort (order) the results from `get_children()`?
- Can I load posts via Ajax?
- Unattaching images from a post
- how to display post content without post image?
- How to wrap every image in a post with a div?
- how to grab first link in post… and of course call it
- Load post content into div with ajax
- Add an image box besides featured image?
- Limit function to specific post category
- Remove inline width from figure
- How to change ID of an attachment in wp_posts and its related tables correctly?
- Remove permalink from images when inserting into post
- WordPress Theory Lesson – Image Columns within posts with alignment?
- Show featured image next to post-teasers in Genesis Framework?
- Get image from post’s gallery
- Image Insert into posts and pages not working after 3.2.1 update
- Copying and pasting emoji in a wordpress post
- How to display featured image without it appearing in post?
- Can I use images as anchor tags with
- Featured Image uploaded, attached and set but only appearing in the media library
- creating front end image uploader that uploads images as posts
- Errors when uploading images in WP 3.5
- Insert woocommerce products programmatically with featured image and gallery
- wp-cli post create & media import issues
- Get Image tag from content of post
- Get all images in post and comments like Twitter before post title
- Issue where WP Featured Image will not display
- Thumbnail Image to go in the post aswell
- Remove Featured Image & All Media Uploaded to the Post
- preg_replace not removed “class”
- Get URL from all images in a post
- Disable posts generated from image uploads
- Images showing up in Post Editor, but not in Published Post
- Image behind the post’s title
- How to retrieve certain number of images from a wordpress post?
- Show more than 200 images in one post
- Get images from the post
- Hide thumbnail if there is a gallery on the post
- Image on rss feed on post
- Change the background of each post according to the category
- Where to insert the other site image url for our wordpress post
- select post preview image from nextgen gallery
- How to change the order of elements within a post?
- How to call WordPress First Image Post or else Attached Image or Default
- Regarding Posts
- All images on one line for each post
- Aligning images in the wp editor not working. How do i get this to work in custom theme?
- unable to write to the database while uploading images
- How do I assign an attachment to a post using only the REST API?
- Display image gallery if more than 1 image
- How do I fix broken links to images in imported posts’ post_content?
- Unable to delete attached file from folder programmatically
- Get post attachment with post id
- Center crop the feature image
- Schedule image post on download
- Add another feature image box
- ‘posts’ table should not store the absolute image path
- How to make an image appear as a thumbnail in the blog post?
- Set featured image on creating new post
- Add in the url attachment loop the wp_link_pages of the post
- How can I alternate styling of images in a post? [closed]
- How to force regenerate thumbnails in WordPress posts?
- Customizing individual images on posts
- Update all images url imported from HTML pages
- How to prevent people from seeing an attachment to a scheduled post that’s released in future?
- Featured Images link to post parent
- Post thumbnail dependant on category
- Latest news mini images
- How do I insert a custom field in a user submitted post?
- Post Attachment missing head (stylesheets/js/what-not)
- Only show posts with image and the correct ammount of posts in loop
- Extra Theme – Fit image inside of Featured Post Slider
- Post thumbnail height problem
- Get attachment if matches a variable
- Full width images within post content
- Displaying all images from a WordPress post (including media library)
- How to move all images in a post to a single gallery for a bunch of posts?
- website images getting corrupt automatically
- Optimize blog that serves hundred of images and videos