Posts by FranklinM2

150 posts Can't stop the signal
  • 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
150 posts Can't stop the signal
  • 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 
150 posts Can't stop the signal
  • 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.

150 posts Can't stop the signal
  • 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.

150 posts Can't stop the signal
  • 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

Happy birthday Envato. :)

150 posts Can't stop the signal
  • 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
150 posts Can't stop the signal
  • 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 @fireform,

Now that you mention it I have noticed it too. I’ll look into the code and see what’s going on.

150 posts Can't stop the signal
  • 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’ve updated the gist to version 2.4.0. Thanks @artless

Main: https://gist.github.com/FrankM1/6327490
Config: https://gist.github.com/FrankM1/6327495

As always test before deploying.

150 posts Can't stop the signal
  • 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 love it. Esp the soundtrack. Great job. Two thumbs up. :)

150 posts Can't stop the signal
  • 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

Good luck Carmen and enjoy yourself in your new gig. :)

by
by
by
by
by
by