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="#" class="rollover" title="Webvamp"><span class="displace">Webvamp</span></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
| add_filter('image_size_names_choose', 'my_new_image_sizes'); | |
| function my_new_image_sizes($sizes) { | |
| $addsizes = array( | |
| "my-new-size" => __( "My New Size") | |
| ); | |
| $newsizes = array_merge($sizes, $addsizes); | |
| return $newsizes; | |
| } |
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
| add_action ('the_content','my_excerpts'); | |
| function my_excerpts($content = false) { | |
| global $post; | |
| // If is the home page, an archive, or search results | |
| if(is_front_page() || is_archive() || is_search() || is_tag()) : | |
| global $post; | |
| $content = $post->post_excerpt; | |
| // If an excerpt is set in the Optional Excerpt box | |
| if($content) : | |
| $content = apply_filters('the_excerpt', $content); |
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
| add_action('genesis_before_loop', 'child_before_loop'); | |
| function child_before_loop () { | |
| if ( !is_page() ) { | |
| global $query_string; | |
| query_posts($query_string . "&order=ASC&orderby=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
| function jp_search_filter( $query ) { | |
| if ( $query->is_search && $query->is_main_query() ) { | |
| // unset certain pages | |
| $query->set( 'post__not_in', array( 10,11,20,105 ) ); | |
| // setup certain categories | |
| $query->set('cat',array('stores')); | |
| // setup certain post types | |
| $query->set( 'post_type', array( 'post', 'movies', 'products', '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
| remove_action('genesis_before_footer','genesis_footer_widget_areas'); | |
| add_action('genesis_footer','genesis_footer_widget_areas'); |
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
| add_filter( 'gform_confirmation_anchor', '__return_true' ); |
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
| jQuery(document).ready(function($) { | |
| $("body").backstretch([BackStretchImg.src],{duration:3000,fade:750}); | |
| }); |
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
| add_filter('image_size_names_choose', 'my_image_sizes'); | |
| function my_image_sizes($sizes) { | |
| $addsizes = array( | |
| "new-size" => __( "New Size") | |
| ); | |
| $newsizes = array_merge($sizes, $addsizes); | |
| return $newsizes; | |
| } |
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
| /* *** Chrome and Safari */ | |
| [placeholder]:focus::-webkit-input-placeholder { | |
| transition: opacity 0.5s 0.5s ease; | |
| opacity: 0; | |
| } | |
| /* *** Firefox */ | |
| [placeholder]:focus::-moz-placeholder { | |
| opacity: 0; | |
| } |