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
/*===================================================================*/ | |
/* SEARCH FILTER | |
/*===================================================================*/ | |
if ( !function_exists( 'bean_search_filter' ) ) | |
{ | |
function bean_search_filter($query) | |
{ | |
if ( !$query->is_admin && $query->is_search) | |
{ | |
//UNCOMMENT BELOW TO SEARCH FOR POSTS ONLY |
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
<a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'bean' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a> |
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 echo home_url('/?'); ?> |
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 $terms = get_the_terms( $post->ID, 'portfolio_category' ); ?> | |
<?php if ( $terms && ! is_wp_error( $terms ) ) : ?> | |
<li><?php the_terms($post->ID, 'portfolio_category', '', ', ', ''); ?></li> | |
<?php endif;?> |
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
<div class="overlay"> | |
<h5> | |
<a title="<?php printf(__('Permanent Link to %s', 'bean'), get_the_title()); ?>" href="<?php the_permalink(); ?>"><?php the_title(); ?></a> | |
</h5> | |
</div> |
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
/* Masonry Grids */ | |
.masonry-item { | |
padding: 15px; /* Adjust this padding here to add/subtract from the gutter */ | |
width: 50%; | |
} | |
/* Portfolio Grids (Floating) */ | |
#load-more .portfolio, | |
.products li .portfolio, |
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, | |
li.masonry-item.grid-masonry:hover img, | |
#portfolio-grid li .portfolio:hover img, | |
.hidden-sidebar.dark .bean-shot:hover img, | |
.hidden-sidebar.dark .flickr_badge_image:hover img, | |
.hidden-sidebar.dark .bean500px_badge_image:hover img, | |
.hidden-sidebar.dark .instagram_badge_image:hover img{ | |
opacity: 0.1; | |
-webkit-transform:scale(1.0)!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
<title><?php wp_title( '|', true, 'right' ); ?></title> |
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
/*===================================================================*/ | |
/* ONLY SEARCH POSTS | |
/*===================================================================*/ | |
function bean_search_filter($query) | |
{ | |
if ( !$query->is_admin && $query->is_search) | |
{ | |
//UNCOMMENT BELOW TO SEARCH FOR POSTS ONLY | |
//$query->set('post_type', 'post' ); | |
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
'tax_query' => array( | |
array( | |
'taxonomy' => 'portfolio_category', | |
'field' => 'slug', | |
'terms' => 'print', | |
'operator' => 'NOT IN', | |
), | |
), |