Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to create a button (Import Demo Content) in my theme option panel. If user click Import Demo Content button then selected .xml file uploaded automatically and send successful message. I searched in Google but unfortunately I don’t find such type of article or tutorial. Most of the results suggest plugging. But I don’t want to use plugging. Thanks

share|improve this question
Even if this is an interesting question, write a custom xml importer is a very big work, so I voted to close question as too broad. Please, try to start on write something, and when you stuck somewhere then come back here, post your code, and ask specific questions for specific problems. –  gmazzap Apr 19 '14 at 23:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.