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
//html language set | |
<html <?php language_attributes(); ?> > | |
//meta charset | |
<meta charset="<?php bloginfo( 'charset' ); ?>"> | |
//title set | |
<title><?php wp_title( '|', true, 'right' ); ?></title> | |
//before ending head |
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
//Comments query | |
<?php comments_popup_link( 'No Comments', 'One Comments', '% Comments', '', 'Comment is disable' ); ?> | |
//comments template | |
<?php comments_template( '', true ); ?> |
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
add_theme_support( 'post-thumbnails', array( 'post' ) ); | |
add_image_size( 'post-image', 150, 150, true ); |
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
/** | |
* Required: set 'ot_theme_mode' filter to true. | |
*/ | |
add_filter( 'ot_theme_mode', '__return_true' ); | |
/** | |
* Required: include OptionTree. | |
*/ | |
require( trailingslashit( get_template_directory() ) . 'option-tree/ot-loader.php' ); |
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
<form role="search" method="get" id="searchform" class="searchform" action="http://localhost/corlate/"> | |
<div> | |
<label class="screen-reader-text" for="s">Search for:</label> | |
<input type="text" value="Feature shortcode" name="s" id="s"> | |
<input type="submit" id="searchsubmit" value="Search"> | |
</div> | |
</form> |
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
<h2> | |
<?php printf( __( 'Search Results for: %s', 'twentyfourteen' ), get_search_query() ); ?> | |
</h2> |
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( 'get_option_tree') ) : if( get_option_tree( 'your_tree_id') ) : ?> | |
<a href="<?php bloginfo('home'); ?>"><img src="<?php get_option_tree( 'your_tree_id', '', 'true' ); ?>" alt=""/></a> | |
<?php else : ?> | |
<a href="<?php bloginfo('home'); ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/logo.jpg" alt=""/></a> | |
<?php endif; endif; ?> |
NewerOlder