161 posts Can't stop the signal
  • Elite Author
  • Weekly Top Seller
  • Exclusive Author
  • Author Level 7
+4 more
FranklinM2
says

Franklin M2, I could kiss you full on the lips.

The simplest most perfect installation and execution. I can’t even recall how many hours I’ve spent trying to do this. And you have delivered it just in time for my new theme. Thank you, love.

Thank you.

I have one super easy question. After the content is installed, although it works perfectly I get this message: “Theme options import data could not be read. Please try a different file.” Odd because it did read the file. I know it’s something I did wrong. Any idea what?

Hahaha, Mwaah! Thanks for the love :)

That message is from the section that imports theme options. I guess you hadn’t set that up.

161 posts Can't stop the signal
  • Elite Author
  • Weekly Top Seller
  • Exclusive Author
  • Author Level 7
+4 more
FranklinM2
says

Hi Franklin, Thanks for this plugin, is there any way to import settings of OptionTree ?!

I haven’t tested with option tree yet but I think it is possible. Can you send me the export file?

113 posts
  • Weekly Top Seller
  • Elite Author
  • Author Level 8
  • Bundle Boss
+5 more
djwd
says

Thank you very much for your valuable contribution on this subject FranklinM2.

I wanted to give it a try, but for some reason widgets do not get imported correctly. All sidebars have only one “Custom Recent Posts” widget and that’s it. I tried importing the widgets.wie through the plugin itself and it works fine, but as widgets.json it doesn’t work for me. I was wondering if you do you have any idea or hint to help me troubleshoot this (?). Thanks!

15 posts
  • 6 Years of Membership
  • Collector Level 2
YiorgosT
says

The easiest way I found to duplicate a demo installation is with the Duplicator plugin. It transfers everything including wordpress files, theme, plugins, widgets, menus, settings, content, etc. The user only needs to create a db, upload an install file and run it from the browser.

161 posts Can't stop the signal
  • Elite Author
  • Weekly Top Seller
  • Exclusive Author
  • Author Level 7
+4 more
FranklinM2
says

Thank you very much for your valuable contribution on this subject FranklinM2. I wanted to give it a try, but for some reason widgets do not get imported correctly. All sidebars have only one “Custom Recent Posts” widget and that’s it. I tried importing the widgets.wie through the plugin itself and it works fine, but as widgets.json it doesn’t work for me. I was wondering if you do you have any idea or hint to help me troubleshoot this (?). Thanks!

The current version as it is exits if it can’t find the theme option file. If I get some time I’ll push an update that moves to the next task instead.

@ YiorgosT I think authors are looking for something automated that can be integrated into a theme. I think Duplicator is overkill in this case since it does a msql dump and all that.

113 posts
  • Weekly Top Seller
  • Elite Author
  • Author Level 8
  • Bundle Boss
+5 more
djwd
says

The current version as it is exits if it can’t find the theme option file. If I get some time I’ll push an update that moves to the next task instead.

@ YiorgosT I think authors are looking for something automated that can be integrated into a theme. I think Duplicator is overkill in this case since it does a msql dump and all that.

Alright I see now, I didn’t use an options txt file, I didn’t think it was necessary as I already set the default options to be pretty much the same as the demo. Also I’m using Options Framework which doesn’t provide this ability. I can work on that though, thanks for the heads-up!

@YiorgosT
I also thought about that a while ago, but other than being overkill it also requires knowing the destination URL.

15 posts
  • 6 Years of Membership
  • Collector Level 2
YiorgosT
says

I also thought about that a while ago, but other than being overkill it also requires knowing the destination URL.

Actually, it doesn’t, the user only needs to upload the install file to the server and run it from the browser. It’s very simple for both author & user and creates an exact copy, much easier than xml import that requires additional fiddling by the user in regards to widgets, menus, etc… I use it for a niche theme I developed and works great…

5441 posts
  • Author Level 11
  • Moderator
  • Winner
  • 6 Years of Membership
+20 more
dtbaker
Moderator
says

Came here to say “COOL!”

Going to replace my dodgy ….

update_option('widget_'.$widget_name ......
update_option('sidebars_widgets' ......

... code with this in the next theme :)
57 posts Customer is King
  • Elite Author
  • Trendsetter
  • Author Level 7
  • Affiliate Level 2
+3 more
King-Theme
says

This problem has caused me headaches for a long time, and I finally found the solution for my item Hoxa.

1) custom plugin impoerter to import by xml for posts, pages, menus, tags, categories…

2) export all widgets, sliders… And import after step 1

3) reconfig some options to make sure it is same

And now, I have perfect tool for one-click importer :)

3 posts
  • 1 Year of Membership
  • Author Level 1
  • Collector Level 2
  • Exclusive Author
themephe
says
And now, I have perfect tool for one-click importer :)
I’m waiting you share the code :D
by
by
by
by
by
by