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
// Load remaining scripts only if custom background is being used | |
// and we're on the home page or a page using the landing page template | |
// dave bugfix - had to move the "not" to be specifically on is_front_page to take backstretch out of landing page. | |
if ( ! get_background_image() || ( ( ! is_front_page() || is_page_template( 'page_landing.php' ) ) ) ) { | |
return; | |
} | |
/*** old code so you can see what changed. | |
if ( ! get_background_image() || ( ! ( is_front_page() || is_page_template( 'page_landing.php' ) ) ) ) { |
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
echo <<< EOT | |
<div class="customLogos"> | |
<div class="cLogoHolder"> | |
<a href="https://www.www.com/"><img src="/wp-content/themes/x/tribe-events/community/images/www.png" alt="" /></a> | |
<a href="http://www.www.com/"><img src="/wp-content/themes/x/tribe-events/community/images/www_edited.png" alt="" /></a> | |
</div> | |
</div> | |
EOT; |
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( 'wmhook_entry_image_link', 'dc_remove_featured_link' ); | |
function dc_remove_featured_link ( $link ) { | |
$link = ''; | |
return $link; | |
} |
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
// kill genesis meta description when using another SEO plugin. also remove genesis SEO metas from posts. | |
remove_action( 'genesis_meta','genesis_seo_meta_description' ); | |
remove_action( 'admin_menu', 'genesis_add_inpost_seo_box' ); |
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( 'genesis_attr_site-inner', 'dc_modify_site_inner_attr' ); | |
function dc_modify_site_inner_attr( $attributes ) { | |
$attributes['itemtype'] = 'http://schema.org/Report'; | |
$attributes['class'] .= ' myNewClass'; | |
return $attributes; | |
} | |
add_filter( 'genesis_attr_head', 'dc_modify_head_attr' ); | |
function dc_modify_head_attr( $attributes ) { | |
$attributes['itemtype'] = 'http://schema.org/Report'; |
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( 'genesis_attr_head', 'dc_modify_head_attr' ); | |
function dc_modify_head_attr( $attributes ) { | |
$attributes['itemtype'] = 'http://schema.org/Article'; | |
$attributes['bogusnewthing'] = 'brandnewwhatever'; | |
return $attributes; | |
} |
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 | |
/* | |
Template Name: Landing | |
*/ | |
get_template_part('something'); | |
NewerOlder