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 if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
| /** | |
| * @file application/libraries/Image_autorotate.php | |
| */ | |
| class Image_autorotate | |
| { | |
| function __construct($params = NULL) { | |
| if (!is_array($params) || empty($params)) return FALSE; |
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
| Total props to Brian Cray: http://briancray.com/posts/estimated-reading-time-web-design/ |
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 | |
| /** | |
| * Related Posts. | |
| * | |
| * Usage: | |
| * To show related by categories: | |
| * Add in single.php <?php dfw_related_posts(); ?>. | |
| * To show related by tags: | |
| * Add in single.php <?php dfw_related_posts('tag'); ?>. |
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 | |
| //http://w4dev.com/wp/change-wordpress-author-url-base/ | |
| function my_custom_author_base(){ | |
| $author_base = "profile" ; //Your desired author base. | |
| global $wp_rewrite ; | |
| $wp_rewrite->author_base = $author_base ; | |
| $wp_rewrite->flush_rules() ; | |
| } |
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
| body { | |
| background: #222; | |
| color: #ddd; | |
| white-space: pre; | |
| font-family: monospace; | |
| } | |
| a { | |
| color: #6482c8; | |
| } |
NewerOlder