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
// 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
//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 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
/** 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_singular( 'aeprofiles' ) ) { //or use wap-community | |
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
Want to add more than 3 listings in the Featured Listings widget using the AgentPress Listings plugin. As long as you keep it three listings wide, you can add as many as you like with one change. | |
Find this section in your style.css file: | |
.home-listings .featured-listings .entry { | |
float: left; | |
margin-bottom: 0; | |
margin-right: 60px; | |
min-height: 140px; <====== change that to have multiple rows of 3 featured listings | |
text-align: center; |
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
<p>Our SEO services are among the very best in the industry.</p> | |
<div class="pricing-table"> | |
<div class="one-third first"> | |
<h4>Basic - $95</h4> | |
<ul> | |
<li>List Item #1</li> | |
<li>List Item #2</li> | |
<li>List Item #3</li> |
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 layout support for community pages | |
add_post_type_support( 'wap-community', 'genesis-layouts' ); |
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
// Filter the title with a custom function | |
add_filter('genesis_seo_title', 'wap_site_title' ); | |
// Add additional custom style to site header | |
function wap_site_title( $title ) { | |
// Change $custom_title text as you wish | |
$custom_title = '<span class="custom-title">WA</span>Estate'; | |
// Don't change the rest of this on down |