Posts by FranklinM2

146 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
+3 more
FranklinM2 says

Getting onto the Weekly Top Sellers :) Yay!!

146 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
+3 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?

146 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
+3 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.

146 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
+3 more
FranklinM2 says

double post

146 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
+3 more
FranklinM2 says

Haha, back in the day.

146 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
+3 more
FranklinM2 says

Thanks for giving it a spin. I think this will work with any theme if you set it up properly.

You need to get the widgets data using https://wordpress.org/plugins/widget-importer-exporter/ rename the file to widgets.json instead on widgets.wie

The trick with the menu is knowing which menus have been exported in the content.xml and where they are placed in the theme. Just look for the

register_nav_menu( ); 

functions to see what the menu name and location and add them to the set_demo_menus function.

The first two php errors you are seeing are just that, warnings. I think the WordPress Importer library hasn’t been updated yet.

The third warning might be because you haven’t define the theme options file yet. Not sure.

146 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
+3 more
FranklinM2 says

Try out the new version. It is now standalone. You can test with default WordPress theme.

https://github.com/FrankM1/radium-one-click-demo-install
146 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
+3 more
FranklinM2 says

I think I forgot to mention you need to load up some files. Try adding this to the top of the init file.

require_once(  dirname( __FILE__ ) .'/importer/radium-importer.php' ); //load data importer admin 
146 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
+3 more
FranklinM2 says

I think I figured out how to import everything using a one click import system. This includes widgets, navigation menus, content and theme options the only thing left is setting those settings in Settings->Reading.

For widgets: I discovered a plugin called Widget Settings Importer/Exporter https://wordpress.org/plugins/widget-settings-importexport/

This plugin exports the widgets as a json file. And as you may know json is awesome.

For menus I use a function like this. It runs after the content has finished importing.
function set_demo_menus(){

        //Import Menus
        $top_menu = get_term_by('name', 'Top Menu', 'nav_menu');
        $main_menu = get_term_by('name', 'Main Menu', 'nav_menu');
        $footer_menu = get_term_by('name', 'Footer Menu', 'nav_menu');

        set_theme_mod( 'nav_menu_locations' , array('top-menu' => $top_menu->term_id, 'primary' => $main_menu->term_id, 'footer-menu' => $footer_menu->term_id ) );

    }

You can see the full code on github here https://github.com/FrankM1/radium-one-click-demo-install You may need to make modification on how theme options are saved because this is different for each framework.

Feel free to share, fork or whatever.

146 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
+3 more
FranklinM2 says

100%! whoa, I did’t expect that :) it’s awesome.

by
by
by
by
by
by