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
/* | |
Theme Name: Macho Child Theme | |
Theme URI: http://demo.themebeans.com/macho | |
Description: Make your modifications to this child theme. | |
Author: Rich Tabor / ThemeBeans | |
Author URI: http://themebeans.com | |
Version: 1.0 | |
Template: macho | |
*/ |
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 ( is_post_type_archive('portfolio') OR is_tax() ) { ?> | |
<div class="block portfolio-archive"> | |
<h1 class="entry-title"> | |
<?php | |
if ( is_post_type_archive('portfolio') ) { | |
post_type_archive_title(); | |
} elseif ( get_the_terms($post->ID, 'portfolio_tag') ) { | |
printf( __( '%s', 'bean' ), single_tag_title( '', false ) . '' ); | |
} elseif (get_the_terms($post->ID, 'portfolio_category')) { |
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
.products li .portfolio:hover img, | |
.widget_bean_portfolio li:hover img, | |
#portfolio-grid li .portfolio:hover img, | |
li.masonry-item.grid-masonry:hover img { | |
-webkit-transform:scale(1.0)!important; | |
-moz-transform:scale(1.0)!important; | |
-o-transform:scale(1.0)!important; | |
transform:scale(1.=)!important; | |
} |
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_time(get_option('date_format')); ?> |
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
//BACKGROUND SUPPORT | |
add_theme_support( 'custom-background' ); |
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
/*===================================================================*/ | |
/* NO SINGLE VIEW FOR TEAM AND TESTIMONIAL POSTS | |
/*===================================================================*/ | |
function bean_no_single_cpt_redirect() | |
{ | |
if ( is_single() && 'testimonial' == $queried_post_type ) { | |
wp_redirect( home_url(), 301 ); | |
exit; | |
} | |
} //END function bean_no_single_cpt_redirect() |
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
'id_submit' => 'submit', | |
'class_submit' => 'submit', | |
'name_submit' => 'submit', | |
'submit_field' => '<p class="form-submit">%1$s %2$s</a>', | |
'submit_button' => '<input name="%1$s" type="submit" id="%2$s" class="%3$s" value="%4$s" />', |
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 previous_post_link( '%link', __('Previous', 'bean'), TRUE, '', 'portfolio_category'); ?> | |
<?php next_post_link( '%link', __('Next', 'bean'), TRUE, '', 'portfolio_category'); ?> |
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 .postcount { | |
display:none; | |
} |