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
/** | |
* Fullscreenr - lightweight full screen background jquery plugin | |
* By Jan Schneiders | |
* www.nanotux.com | |
* | |
* Modifications by Chris Van Patten | |
* http://www.vanpattenmedia.com | |
* Version 1.5 | |
**/ |
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 | |
/* Last updated with phpFlickr 3.1 | |
* | |
* Edit these variables to reflect the values you need. $default_redirect | |
* and $permissions are only important if you are linking here instead of | |
* using phpFlickr::auth() from another page or if you set the remember_uri | |
* argument to false. | |
*/ | |
// Include configuration file |
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 | |
/* | |
Plugin Name: Linkify URLs | |
*/ | |
add_filter( 'the_content', 'linkify_urls' ); | |
function linkify_urls( $content ){ | |
return preg_replace( '/\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i', '<a href="$0">$0</a>', $content ); | |
} |
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 | |
// Register an app: http://dev.twitter.com/apps | |
define('CONSUMER_KEY', 'YOUR CONSUMER KEY'); | |
define('CONSUMER_SECRET', 'YOUR CONSUMER SECRET'); | |
define('TWITTER_TOKEN', ''); | |
define('TWITTER_TOKEN_SECRET', ''); | |
$oauth = new OAuth(CONSUMER_KEY, CONSUMER_SECRET, OAUTH_SIG_METHOD_HMACSHA1, OAUTH_AUTH_TYPE_URI); |
NewerOlder