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
<!-- Size for iPhone and iPod touch - 57 x 57 (in pixels) --> | |
<link rel="apple-touch-icon" href="http://example.com/images/icon-57x57.png"> | |
<!-- Size for high-resolution iPhone and iPod touch - 114 x 114 (in pixels) --> | |
<link rel="apple-touch-icon" sizes="114x114" href="http://example.com/images/icon-114x114.png"> | |
<!-- Size for iPad - 72 x 72 (in pixels) --> | |
<link rel="apple-touch-icon" sizes="72x72" href="http://example.com/images/icon-72x72.png"> | |
<!-- Size for high-resolution iPad - 144 x 144 (in pixels) --> | |
<link rel="apple-touch-icon" sizes="144x144" href="http://example.com/images/icon-144x144.png"> |
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 | |
/** | |
* Template for ordering custom post types by terms on | |
* on the post types archive.php | |
* | |
* @package WordPress | |
* @author Justin Kopepasah | |
* | |
*/ |
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
function glog() { | |
git log --pretty=format:"«––––––––––––––––––––––––––––––––––––––––––––––––––»%n%m%m%m %cn - %ce%n%m%m%m %Cblue%s%Creset%n%m%m%m %Cred%t%Creset%Cgreen%d%Creset%n%m%m%m %cr - %cd" | |
} |
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
function remove_more_link_scroll( $link ) { | |
$link = preg_replace( '|#more-[0-9]+|', '', $link ); | |
return $link; | |
} | |
add_filter( 'the_content_more_link', 'remove_more_link_scroll' ); |
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
input[type="color"], | |
input[type="email"], | |
input[type="password"], | |
input[type="search"], | |
input[type="tel"], | |
input[type="text"], | |
input[type="url"], | |
input[type="number"], | |
input[type="date"], | |
input[type="time"], |
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 | |
if ( ! function_exists( 'less_filter_stylesheet_uri' ) ) { | |
function less_filter_stylesheet_uri( $stylesheet_uri, $stylesheet_dir_uri ) { | |
$current_user = wp_get_current_user(); | |
if ( $current_user->ID == '1' ) | |
$src = $stylesheet_dir_uri . '/style.less'; | |
else | |
$src = $stylesheet_dir_uri . '/style.min.css'; |
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 | |
function gist_shortcode( $atts ) { | |
extract( shortcode_atts( array( | |
'user' => '', | |
'id' => '', | |
'file' => '', | |
), $atts ) ); | |
if ( empty( $user ) | empty( $id ) | empty( $file ) ) |
OlderNewer