• Home
  • About Mitch
  • Speaking
  • Articles
  • Contact
  • Home
  • About Mitch
  • Speaking
  • Articles
  • Contact

Digital Strategist

WordPress Developer

Content Creator

Unapologetic Punk

Mitch Canter

  • X
  • Bluesky
  • GitHub
  • Twitch
  • YouTube
  • LinkedIn
Development

The Case of the Disappearing Widgets

CMDR Mitchcraft

Reading time: 1 minute

I’ve migrated tons of WordPress sites in my tenure as a WordPress developer, but over the years one thing would always bother me: my widgets kept disappearing.  I’d dump the SQL database and import it to the new server only to find that every single widget had vanished.

So, I looked for a solution.

WP-Migrate-DB (despite it’s fancy title) keeps every option and SQL line when you activate it, and saves it to a file just like a regular export.  The differences are very clear:

  • Unlike a traditional export, you can define ahead of time the destination URL and even the destination file structure (/home/snv/ – not  my actual structure, by the way, but a good example).
  • It saves all of the smaller options that are normally left out of an export.

You can download it through your blog or through the repository.

 

Export, phpMyAdmin, SQL, WP Migrate DB
  • WordPress.com Announces Premium Themes

    WordPress.com Announces Premium Themes

    Reading time: 1 minute

    News from the WordPress.com blog – premium themes are becoming available to WordPress.com subscribers. I am proud to introduce the very first two premium themes on WordPress.com: Headlines and Shelf. Headlines is a sophisticated magazine theme from WooThemes with a Featured Post slideshow, multiple menus, and 15 beautiful color schemes. It’s available now for a…

    WordPress
  • Foursquare vs. Gowalla… annnnnd fight!

    Foursquare vs. Gowalla… annnnnd fight!

    Reading time: 5 minutes

    <script type=”text/javascript”>function initMenus() {    $(‘ul#accordion li ul’).hide();    $.each($(‘ul#accordion’), function(){        $(‘#’ + this.id + ‘.expandfirst ul:first’).show();    });    $(‘ul#accordion li h2.widgettitle’).click(        function() {            var checkElement = $(this).next();            var parent = this.parentNode.parentNode.id;             if($(‘#’ + parent).hasClass(‘noaccordion’)) {                $(this).next().slideToggle(‘normal’);                return false;            }            if((checkElement.is(‘ul’)) && (checkElement.is(‘:visible’))) {                if($(‘#’ + parent).hasClass(‘collapsible’)) {                    $(‘#’ + parent + ‘ ul:visible’).slideUp(‘normal’);                }                return false;           …

    Tutorial, WordPress