This file contains hidden or 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
Original Copyright (c) 2011 ZURB, http://www.zurb.com/ | |
One line edited(.flex-video padding-bottom) for optimum YouTube embed size to eliminate black bars. |
This file contains hidden or 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 | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php | |
*/ | |
$args = array( |
This file contains hidden or 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
# Pulled from http://www.idowebdesign.ca/mysql-replace/ | |
UPDATE wp_comments SET comment_author_url = REPLACE(comment_author_url, 'old-url.com', 'new-url.com'); | |
UPDATE wp_options SET option_value = REPLACE(option_value, 'old-url.com', 'new-url.com'); | |
UPDATE wp_postmeta SET meta_value = REPLACE(meta_value, 'old-url.com', 'new-url.com'); | |
UPDATE wp_posts SET post_content = REPLACE(post_content, 'old-url.com', 'new-url.com'); | |
UPDATE wp_posts SET post_excerpt = REPLACE(post_excerpt, 'old-url.com', 'new-url.com'); | |
UPDATE wp_posts SET guid = REPLACE(guid, 'old-url.com', 'new-url.com'); | |
UPDATE wp_usermeta SET meta_value = REPLACE(meta_value, 'old-url.com', 'new-url.com'); | |
UPDATE wp_users SET user_email = REPLACE(user_email, 'old-url.com', 'new-url.com'); |
This file contains hidden or 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
echo '<pre>'; print_r($array); echo '</pre>'; |