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
24
votes
2answers
73k 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 ...
20
votes
7answers
28k views

How do I export my WordPress blog as a book? [closed]

I want to export some or all of the posts of a blog into a format that makes sense to a publisher (traditional or self-publisher(e.g.: Lulu.com)) (MS Word, RTF, PDF, epub, something else). What tools ...
4
votes
1answer
3k views

Problem: Create a cron job to export posts to a WordPress XML file on server

I need a way to automatically export all WordPress posts from a specific date and have it output the file on the server that can be downloaded daily. The reason the XML format is needed is because ...
2
votes
1answer
3k views

What is the best way to export and import theme options?

So what is the best way to create an export and import feature, I tried serialize() and urlencode() on an array of options to be used in a url like so: export.php?data=(long string), and use $_GET ...
5
votes
4answers
5k 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, ...
3
votes
4answers
1k views

How to migrate a WordPress installation from one site to another, including all images?

I need to move a WordPress site hosted on Dream Host to the companies servers. To do so I used the built in import and export feature that comes with WordPress (using a WordPress export file). However,...
3
votes
1answer
8k views

Wordpress Export Import Site Navigation Menu

When I do an export and import the menus get transferred but I have to set the Site Navigation Menu manualy. Obviously it's only a small detail but can I ask is this a bug or expected behaviour and is ...
4
votes
2answers
9k views

One Click demo content installation feature in WordPress theme options panel

I've been seeing a feature of one click demo content installation option on some powerful WordPress themes now a days. Mostly on Themeforest themes. I'd like to know if anyone have any idea about the ...
2
votes
2answers
11k views

Create a Static HTML Site from WordPress

A friend of mine is investigating the use of WordPress for a dynamic site with some hierarchy. Really, at the moment he just wants "nothing fancier than photos and links between pages," but knowing ...
1
vote
1answer
653 views

How to add an export function to a custom Option Theme Page

I'm creating a new Wordpress template and I have a question: I've added a custom Option Page to my new template (you can see what I'm doing Here and Here) but now I would like to add a new function. ...
3
votes
1answer
2k views

How can I get an XML export of my 1K+ posts WordPress instance?

I'd like to export my database to XML because the import script to my new blog already supports getting data from that. A database backup or wordpress clone is not that useful in this case. The ...
3
votes
1answer
7k views

How to Create Export/Import Functionality for Plugin

I am following the tutorial here http://wp.tutsplus.com/tutorials/creative-coding/creating-a-simple-backuprestore-settings-feature/ The script shows how to export all options into JSON. Since my ...
3
votes
2answers
8k 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
1answer
3k views

Export all post from database to JSON only when the database gets updated

I'm trying to export all the published post of my database to a JSON file, in order to use it in JS. Here is the code: <?php /* Plugin Name: Export to JSON Description: Creates the JSON file that ...
3
votes
4answers
2k views

Migrating WP site to another URL

We are planning to change the domain name of our website.We are not changing the host but creating a new domain and will close/redirect all traffic to new domain (there will be not update on the old ...
2
votes
2answers
3k views

How to migrate Wordpress Blogs into Multisite without using the GUI-Import/Export Feature

I'd like to migrate some quite huge Wordpress-Blogs into one Multisite Installation. The Export-Wizard and the Import Wizard are bound to PHP-Limits (Memory, Execution-Time) and so the Export and ...
0
votes
1answer
766 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?
0
votes
1answer
596 views

Why do I get undefined function export_wp()?

I'm trying to create a function in functions.php or a plugin to generate an export via a cronjob, similar to how Chris_O did this question. However it seems that I can't call export_wp(), I keep ...
2
votes
3answers
3k views

Download/View Schema (or DTD) for XML Import

Where can I download the schema (or DTD) for the layout of the WordPress import/export file format?
0
votes
1answer
180 views

GUID not updated on import

I've exported data from my dev server and imported it to my prod server. One template is listing child pages and uses $page->guid to get link to page. The problem is that this link still points to ...
0
votes
1answer
3k 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 ...
0
votes
0answers
782 views

Copy site from one multisite to another

I have a live multisite and a development version of the live multisite. The top level sites are different, but all the other sites are (or more accurately, will be) the same. I need to export one of ...
0
votes
1answer
4k 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 ...
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 ...