// jQuery
$(document).ready(function() {
// code
})
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//http://wordpress.org/support/topic/transfer-multisite-to-another-server | |
//http://halfelf.org/2012/moving-wordpress-multisite/ | |
//http://codex.wordpress.org/Moving_WordPress | |
//http://www.realisingdesigns.com/2010/09/16/moving-the-domain-of-a-wordpress-multisite-install/ | |
UPDATE wp_options SET option_value = replace(option_value, 'www.production.com', 'beta.development.com') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET guid = replace(guid, 'www.production.com', 'beta.development.com'); | |
UPDATE wp_posts SET post_content = replace(post_content, 'www.production.com', 'beta.development.com'); | |
UPDATE wp_postmeta SET meta_value = replace(meta_value, 'www.production.com', 'beta.development.com'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Custom functions for the use of the Advanced Custom Fields plugin. | |
* These are helper functions that you can include in your theme | |
* which make it easier to your ACF. The purpose is to allow the | |
* inclusion of ACF fields while also checking to see if ACF is | |
* installed and activated. With these functions you may be able to | |
* deactivate ACF for debugging and your theme will not throw | |
* errors. | |
* |