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 | |
/** | |
* Filter YouTube oEmbed to include '&rel=0' to force channel related videos | |
* once video is complete, rather than showing user related videos. | |
* | |
* @param $html | |
* @param $url | |
* @param $args | |
* | |
* @return mixed |
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
# Do the following command | |
# Ref: http://soderlind.no/archives/2011/08/26/running-wordpress-locally-on-mac-os-x-lion/ | |
# Chown / Chmod site directory | |
$ sudo chown -R :_www [site_directory] | |
$ sudo chmod -R g+w [site_directory] | |
# Add to "wp-config.php" | |
define('FS_METHOD', 'direct'); |
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 | |
/** | |
* My Project | |
* | |
* @package MyProject | |
* @subpackage JesGs_Walker_Category | |
* @author Jess Green <[email protected]> | |
* @version $Id$ | |
*/ |