Questions tagged [export]

Saving data for posts, pages, custom post types, comments, custom fields, categories, tags, custom taxonomies, and users. Usually used to migrate to another hosting or add data to another WordPress website.

Filter by
Sorted by
Tagged with
-1
votes
0answers
14 views

Is there a reason why import/export Image Alt text, Caption and Description is not natively support by Wordpress?

I'm relatively new to Wordpress development, there are many things I don't understand. It took me some time to have a basic grasp of how media library works so you can tell I am a slow learner. ...
0
votes
0answers
12 views

Exporting & Importing Customizer Menu Page Structure

I need to update a production site with changes I made on a staging site's menu structure. On the staging site I reorganized the menu in Appearance > Customize > Menus. What table in the ...
0
votes
0answers
13 views

wp-cli error: "Term is missing a parent"

When I try to export posts via the command line, I get an immediate error that the term is missing a parent: $ wp export Starting export process... Error: Term is missing a parent: name-of-tag (123) ...
45
votes
3answers
114k views

Where does the Media Library live in the database?

I'm exporting a Wordpress site from localhost to a web host, and I am unable to import the Media Library, as the web host is unable to contact localhost. I've uploaded all of the localhost files from ...
0
votes
1answer
946 views

Export to csv adding html to file

I am trying to export results to a csv file using the following code. The export appears to work, but when I open the file, it contains the html code from the page. Any help is appreciated. ob_start()...
0
votes
1answer
2k views

Why is my 'export' option missing?

My tools>export option has vanished - even when reverting to the default TwentySeventeen theme. Direct access to /wp-admin/export.php delivers 'Sorry, you are not allowed to access this page.' I'm ...
1
vote
0answers
12 views

change CSV export format from comma, to comma-point; [closed]

When using ELementor Pro form submissions, the CSV export uses a COMMA as field separator: field1,fiels2,field3 How can I make this CSV export use COMMA-POINT as a field separator ? field1;fiels2;...
0
votes
0answers
12 views

Upgrading to WP 5+ with block content - Export & Import Page Content

I'm upgrading a pre-Wordpress 5.0 site to the latest WP version using blocks. I created a staging site and went through all the pages/posts and converted the content into blocks. Now I need to ...
0
votes
1answer
26 views

Export a custom Mysql database product catalog to Wordpress

I have a custom product catalog database, and I want to migrate it to WordPress. are there any tools for that? or I have to do it manually.
1
vote
1answer
2k views

How to export custom database data to excel file

Hi everyone I have the code below, but when I click on the link generated a new page is open with 0 display on it. What I'm doing wrong? function list_reservation_to_csv() { global $wpdb; $...
0
votes
0answers
17 views

Export Pages with Block Content

I've been updating a staging site's content and would like to export then import this content into a production site. All of the content is built using custom blocks I've created. What is the best ...
0
votes
1answer
24 views

Bulk Edit Media Library alt, caption, image names

I need to bulk edit images names, alt and captions of about 300+ images. My edit is to remove underscores that were auto generated to replace spaces and use them as alt. A CSV will help a lot but I ...
0
votes
0answers
21 views

Syncing WP Database Changes Between Environments: How To Handle Merging w/o touching database

I have a staging site which is originally a clone of the live site. On a staging site, I made some changes such as creating new pages, installing new plugins, adding new medias etc. Meanwhile the live ...
6
votes
2answers
4k views

Is it possible to export WordPress from command line?

Is it possible to export WordPress from command line? I don't mean use mysqldump to export the database, but create the xml file used to easily import to another WordPress installation.
0
votes
0answers
13 views

How to export only posts, users, categories and media

I'm looking for the best way to export posts, users, categories and media keeping information as media attached to posts etc, with xml export the operation is very long and doesn't do what I want (...
18
votes
10answers
57k views

Failed to import Media

When I generate XML file with [Tools > Export] and use [Tools > Import] on another WordPress website I get "Failed to import Media" for each attachment post type. And images that failed to load are ...
1
vote
2answers
5k views

Exporting just posts of a specific category

I have found the export tool particularly useful for moving posts from sites to site, and even once wrote an extension for Elgg to export its content into wordpress export format for migration to ...
2
votes
4answers
9k views

Import Images from one self-hosted WordPress install to another

I am redeveloping a client's site and, for a number of reasons, in the process changing hosts. I'm developing it on the new host and to get the site orgainised I have attempted to import all the pages ...
3
votes
5answers
15k views

Export wordpress table to excel

I have created PHP scripts before to export a database table to .xls format like this: $select = "SELECT * FROM tracking"; $export = mysql_query ( $select ) or die ( "Sql error : " . mysql_error( ) )...
1
vote
1answer
108 views

Exporting table to csv works in the admin but exports HTML data when used on the front end

I have some code, implemented by a shortcode within a custom plugin. The code generates a CSV file from some data tables. When I run the shortcode within the admin section, it works perfectly. BUT ...
2
votes
3answers
13k views

export csv functionality into my plugin

I need to build a "export as .csv" functionality into my plugin. Problem is: i get the header already sent warning, because by the time my "export" function is called, Wordpress has already started ...
0
votes
1answer
43 views

Can't Export Custom Post Types With Export Tool In A Custom Theme

I have a custom theme and when I try to export the posts for the custom post type called 'news' via Dashboard > Tools > 'News' > Download Export File (image attached) I get a 403 'Forbidden' ...
0
votes
0answers
16 views

Existing posts hidden after WP import

I migrated a collection of posts (with attachments box checked) from one wp installation to another using the native Importer/Exporter. On import, all the existing posts/pages on the destination site ...
0
votes
1answer
109 views

How to export posts and keep html tags in the title

If my post title is : Hello <b>world</b> When exporting the posts with built-in Tools/Export, html tags are removed. I don't want that. I have 9K posts to export with valuable styling ...
0
votes
0answers
38 views

Exporting Post Content Including post_content_filtered Field

How can we include the post_content_filtered field with our exported post content in WordPress? We have an older WordPress site (setup behind a firewall circa 2016/2017, version 4.7.19). This site ...
4
votes
3answers
10k views

Import and replace existing page/post content

Is there any way to import a basic, exported Wordpress content XML file and have it replace the existing content? What I'm trying to do is synch up two instances of a site (development and staging ...
0
votes
0answers
33 views

Is there a way to export Wordpress comments to a non-wordpress, HTML coded site?

As the title says. I would like to recreate a Wordpress.org website I have, as a HTML coded site. Would like to export wordpress comments and import them to my new, non-wordpress site. Would be great ...
0
votes
0answers
18 views

Convert single and double quotes, dashes, etc. to correct character encoding in WXR import file?

I've exported a WordPress export file for import into a new WordPress site. However, I get the error "This does not appear to be a WXR file, missing/invalid WXR version number" After some ...
0
votes
0answers
30 views

how to convert a wp multisite into a single site with content from subsites

trying to convert an old wp multisite (v3.8) into a single site with data from active sites, since multisite setup is huge (containing about 50k subsites of which we only need about 2.5k) I can't just ...
0
votes
1answer
552 views

Import subdomain WordPress into main domain WordPress

I have the following setup: two WordPress blogs, one on the main domain, let's call it example.com and one on a sub-domain sub.example.com. After a few years of running these blogs independently I ...
0
votes
0answers
28 views

Download html file post content

I want to do this on my website : add a button on edit.php page (I succeeded) when I click on this button, I want to get the html's post and download it as html file I know how to get the html ...
0
votes
0answers
7 views

Updating staging site posts before live push

I wanted to know if anyone had a work around to update a staging to mirror all the posts on a live site, Our website has over 7000 posts (news blog) with lots of media files. I have already attempted ...
0
votes
1answer
316 views

Featured image error after importing blog posts

I exported blog posts to an xml file from a WordPress website and then imported them to another. I moved over all the images in their correct folders via FTP and then used a plugin to register them in ...
1
vote
1answer
692 views

Does Wordpress Import/Export tool actually exports media (images) as well?

I need to reinstall WP from scratch due to malware. Can reliably use the built-in Import/Export tool (Tools > Import/Export)? It appears it only gives me an XML file. What can I do to ensure all ...
1
vote
0answers
20 views

WooCommerce product taxonomies and menu export

I need to move my data to the new site. I want to export my category menu and product categories and child categories and import them into new WordPress website. I have tried all available plugins I ...
1
vote
2answers
144 views

How much of my site can I recover from public_html?

While exporting our site in order to migrate it to another hosting, I failed to import the database. This is necessary since all the posts and pages are kept only in the database, and I'm afraid the ...
1
vote
0answers
14 views

How do I migrate blog post images from one domain to a new one?

The conflicting articles I am finding on the web are leaving me more confused... :) For backstory, I work for a company that has been acquired by another. I am now tasked with moving all the blog post ...
5
votes
2answers
17k views

Export navigation menu

I want to export all navigation menu's from one site and import the menu's in another site. I have tried to export the tables: wp_posts wp_postmeta wp_terms wp_termmeta wp_term_relationships And ...
0
votes
0answers
20 views

Exporting post info into a formatted table and into MailChimp as automated as possible

This is a complex one, and I'm ok if not every aspect of it can be automated but I'd like to try to get as close as possible. What I'm trying to do: I'm building a job site and I want to be able to ...
1
vote
0answers
15 views

WordPress does not import all pages and post

I moved my site from WordPress.com to WordPress.org using its own tools (export/import/.xml file) I followed the import feature provided, but at the end WordPress.org does not imported all the pages, ...
2
votes
2answers
89 views

Importing New Posts from Live Site into Local Dev Site

I'm currently developing an updated version of a live site in a local environment. It's a very large site and the local dev site is using a entirely new theme without many of the live site's plugins ...
5
votes
4answers
7k views

Export all posts as individual plain txt files

I wish to export all of my posts as individual plain text files. So, the format may be something like: title.txt   Title: title Pub date: date Category: cat Lorem ipsum dolor sit amet, ...
0
votes
0answers
74 views

How do I export categories, site stats, comments and posts from wordpress to excel

I need to export the posts, categories, the author, the page views and comments from WordPress to excel. This is because I need to analyze the performance of each author and each category based on ...
1
vote
0answers
9 views

403 export error when exporting pages from multisite subfolder site

I have 12 sites on a WordPress multisite installation using the subfolder format i.e. www.mydomain.com/site2 I am trying to add pages and contact forms from one subfolder site to another subfolder ...
0
votes
1answer
1k views

TCPDF get_post_meta outside the loop

I want to be able to export a html page to PDF. I downloaded TCPDF (mainly because it allows me save High resolution images and shrinks the filesize.) The TCPDF folder is in my theme folder. If a ...
0
votes
1answer
61 views

Wordpress shortcode to pull product post data

I am looking for a way to pull(export) product post data (WooCommerce) using a shortcode by Product post ID to another general post (ex. product post title/string). Thank you
0
votes
2answers
194 views

How to return/export only data showing on screen in custom post type view all screen

If I for example filter my custom post type by date and it only shows 2 records on screen, I only want to export those 2 records, but it is exporting a bunch of records out of my control ie: the wrong ...
1
vote
1answer
27 views

Does Wordpress Importer notify imported Users?

I have exported an XML/WXR from one site with many posts and many users, using the Export tool. I want to migrate that to another site. I have begun using the Import tool. Because none of the users ...
1
vote
2answers
10k views

How can I export and then import posts with featured images?

I'd like to move a set of posts from one wordpress site to another. WordPress has a native export tool that allows posts to be exported. But this tool doesn't preserve featured images. I'm aware ...
10
votes
1answer
18k views

How to export comments in WordPress?

I want to export my comments to Excel, PDF or Word. The format really doesn't matter, I just want them exported. I tried the Export Comments plugin, the standard one, but couldn't get it to work, I ...

1
2 3 4 5 6