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 | |
/* WP-Resize: a TimThumb alternative using native WP functions. Original credit goes to Victor Teixeira (http://wpquestions.com/user/discourseShow/id/1981/discourse_id/20) | |
/* Example use: | |
<?php | |
$thumb = get_post_thumbnail_id(); |
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 | |
/* | |
Functions | |
Author: Tyler Cunningham | |
Establishes the core theme functions. | |
Copyright (C) 2011 CyberChimps | |
Version 3.0 | |
*/ | |
/** |
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
// Call Superfish/jQuery | |
if ( !is_admin() ) | |
{ | |
function droidpress_frontend_scripts() | |
{ | |
// Adjust the below path to where scripts dir is, if you must. | |
$scriptdir = get_template_directory_uri() ."/library/sf/"; | |
// Register the Superfish javascript file |