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
/** Change Text Shown When No Posts Are Found */ | |
add_filter('genesis_noposts_text', 'eo_noposts_text'); | |
function eo_noposts_text($text) | |
{ | |
$text = '<span class="noposts-text">' . __('Your request did not return any results, please check back later.', 'eo') . '</span>'; | |
return $text; | |
} | |
//If you want to style the text that is displayed just add some styles in the style-sheet for .noposts-text. |
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 featured image above single posts. | |
add_action( 'genesis_before_entry_content', 'wap_featured_image' ); | |
function wap_featured_image() { | |
// Return early if not a singular or does not have thumbnail | |
if ( ! is_singular() || ! has_post_thumbnail() || is_page(36) || is_page(37) || is_page(38) ) { | |
return; | |
} | |
echo '<div class="featured-image">'; |
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
//look for this | |
.full-width-content .content | |
//and changed the width from 740px to be something wider. The max width is 1140px. | |
//what i sent | |
On your site, when I use Inspect Element, I see this section of code: | |
/* Site Containers | |
--------------------------------------------- */ |
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 search widget below header. | |
add_action( 'genesis_after_header', 'wap_search_bar' ); | |
function wap_search_bar() { | |
// bail if we're not on the front page | |
if ! is_front_page() { | |
return; | |
} |
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
.home-welcome { | |
background-color: rgb(0, 0, 0); | |
background-color: rgba(0, 0, 0, .4); | |
} | |
.home .search-bar { | |
background-color: rgb(0, 0, 0); | |
background: rgba(0, 0, 0, .4); | |
} |
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
function reg_cat() { | |
register_taxonomy_for_object_type('category','wap-community'); | |
} | |
add_action('init', 'reg_cat'); |
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
Reducing the value 164px below to something less will bring the photo up | |
.header-image .site-title a { | |
background-position: left center !important; | |
float: left; | |
min-height: 164px; | |
width: 100%; | |
} | |
Changing the 40px on the padding value below will let you adjust the vertical placement |
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 | |
/** | |
* This file adds an AgentPress Listings custom post type archive template to the Winning Agent Pro Theme. | |
* | |
* @author Ginger Coolidge | |
* @package Winning Agent Pro | |
* @subpackage Customizations | |
*/ | |
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
/* | |
Gist Formatting Overrides | |
---------------------------------------------------------------------------------------------------- */ | |
.gist { | |
font-size: 14px; | |
} | |
.gist table { | |
line-height:1; | |
} |
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 | |
//* Do NOT include the opening php tag | |
//* Remove comment form allowed tags | |
add_filter( 'comment_form_defaults', 'bg_remove_comment_form_allowed_tags' ); | |
function bg_remove_comment_form_allowed_tags( $defaults ) { | |
$defaults['comment_notes_after'] = ''; | |
return $defaults; |