title: How to export custom post type details with it's postmeta and images
body: <p>I have a custom post type on two websites and I have to export all posts in that post type and import to the second site.</p>
  
  <p>So my post type is <strong>"products"</strong>. Actually, I can use Wordpress default import export but the problem is that it is not including the full details in the post type and not exporting all images. </p>
  
  <p>In my product, I have an additional image gallery section near featured image sidebar. Here I can add gallery images.</p>
  
  <p>so if my <strong>post id is 324</strong> and I <strong>added two galley images</strong> for that post then in database post_meta_option I can see that </p>
  
  <p><strong>post_id=324</strong>, <strong><em>meta_key=rtthemert_gallery_images</em></strong> ,<strong>meta_value =222,223</strong>  here 223,224 are image id.</p>
  
  <p>So please anyone can help me to make an export query for this gallery images only, so that when I import to the second site the gallery images also need to automatically added to that post.</p>