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
0
votes
0answers
8 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 (...
0
votes
0answers
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 ...
17
votes
10answers
55k 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 ...
1
vote
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
14k 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
29 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
12k 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
41 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
12 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
41 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
30 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 ...
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; $...
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
23 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
13 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
26 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
532 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
1answer
857 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
0answers
22 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
6 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
159 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
603 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
18 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 ...
0
votes
0answers
15 views

Is it possible to export select draft posts (not all draft posts) in an XML file?

My wife wants to export a specific set of 111 draft posts from her site and import them on a WAMP server on her PC for reference. She has over 400 drafts, so she doesn't want to export all of them. ...
1
vote
2answers
52 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
11 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
18 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
14 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, ...
0
votes
0answers
20 views

How to Import Media with a name more than 100 character?

I want to Import media from another site that I've exported. When I import media, WordPress automatically changes media names with more than 100 characters and deletes first words of the name and ...
43
votes
2answers
107k 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 ...
2
votes
2answers
58 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 ...
0
votes
0answers
111 views

Export/import wordpress posts with comments

I would like to export/import posts with their comments, but after import comments are not assigned to a specific post, but some random. The reason is that the posts have different id. How can I ...
0
votes
0answers
8 views

separate the order into two export file

I’m looking for an export solution to separate the order into two export file based on the supplier’s product for each of them. Example: I receive an order, then I have to send two separate orders to ...
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
51 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
7 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
0answers
21 views

Custom code to “export specific page content to csv file” for a wordpress

we have created our own plugin to track BuddyPress user activities and we are displaying the contents in a page using shortcode. Now, I would like to add export functionality to it. Could someone ...
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
50 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
140 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
26 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
9k 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
17k 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 ...
0
votes
3answers
272 views

WordPress localhost site always redirect to live site [closed]

I know that there is already a similar question like this. But I have already done all these suggested solution and nothing works for me. If there are caching plugins installed like W3 total cache. ...
0
votes
1answer
1k views

how can export data in excel file custom plugin

below is my code I need to export data with excel file <form action="<?php echo $_SERVER["PHP_SELF"]; ?>?page=client_plugin" method="post" name="export_excel"> &...
3
votes
1answer
172 views

Export User Info to CSV from Front End

Trying to export to CSV from WordPress front end. Here is what I have so far. I was able to export to CSV from the admin area, but for some reason I am unable to export from the front end. What am I ...
0
votes
1answer
1k views

XML export posts from one single day

How to export all posts from one single day. I've tried Tools > Export > Post. But problem is that there's only monthly backup, not date-wise as in "only 5th July 2015". How can I achieve this?
1
vote
1answer
83 views

Get ALL post ID's export list (Only id's. Php or sql not important )

please help me. I dont know How can I do. I need list all posts IDs. export need 1 3 5 6 7 8 9 . . . . Please help

1
2 3 4 5 6