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 | |
/** | |
* The template for displaying posts by category | |
* | |
* @package Reactor | |
* @subpackge Templates | |
* @since 1.0.0 | |
*/ | |
?> |
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
.logo { | |
float: none; | |
width: auto; | |
text-align: center; | |
} | |
.main-menu-item { | |
float: none; | |
text-align: left; | |
display: inline-block; |
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
register_nav_menu('top-bar-l', __( 'Top Bar Left', 'reactor')); | |
register_nav_menu('top-bar-r', __( 'Top Bar Right', 'reactor')); | |
/** | |
* Top bar left menu | |
* | |
* @since 1.0.0 | |
* @see wp_nav_menu | |
* @param array $locations Associative array of menu location identifiers (like a slug) and descriptive text. |
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
function custom_url_logo(){ | |
$logo = reactor_option( 'custom_logo_media', get_template_directory_uri() . '/library/img/logo.png' ); | |
$logo2x = reactor_option( 'custom_logo_retina', get_template_directory_uri() . '/library/img/[email protected]' ); | |
if ( $logo['url'] || $logo2x['url'] ) : ?> | |
<div class="logo large-2 medium-2 columns"> | |
<a href="<?php echo esc_url('http:Your custom URL HERE'); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> | |
<img data-interchange='[<?php echo $logo['url']; ?>, (default)], [<?php echo $logo2x['url']; ?>, (retina)]' alt="" class="hideie"> |
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
#layout >.row { | |
max-width: 1200px; | |
margin-left:-10px; | |
} |
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 | |
/* ------------------------------------------------------- | |
You can add your custom functions below | |
-------------------------------------------------------- */ | |
function custom_stunning_header() { | |
global $crum_theme_option; | |
$custom_st_header = get_post_meta(get_the_ID(),'single_post_st_header',true); |
NewerOlder