Forum Replies Created
-
AuthorPosts
-
MarcParticipant
FWIW, Below is the modified function code related to Matt's script from the site linked above. (Note: Matt's script name is changed) -
/** Add the featured image section */
add_action( 'genesis_after_header', 'minimum_featured_image' );
function minimum_featured_image() {
if ( is_home() ) {
echo '<div id="featured-image"><img src="'. get_stylesheet_directory_uri() . '/images/header-images/minimum-header-rotate.php" alt="College Station and Bryan TX event and wedding photography" title="College Station and Bryan TX event and wedding photography" /></div>';
}
/** elseif ( is_singular( array( 'post', 'page' ) ) && has_post_thumbnail() ){
echo '<div id="featured-image">';
echo get_the_post_thumbnail($thumbnail->ID, 'header');
echo '</div>';
} */
}
MarcParticipantCongrats on your success. I am glad there are alternatives, if I need. Thank you!
Script conflicts arise. I have Matt's script running on this site -
And on my local server with another site and RC3.5 + Minimum 2.0
But you can never tell ....
MarcParticipantKevin, seems like I "stepped" on your reply above. Either method will get you there. I like Matt's because I don't have to worry about any image names or conventions, just ftp them (whatever they are named) into the dedicated folder.
MarcParticipantIf you would consider having a different random image every time the home page is loaded, rather than timed rotating/sliding/fading images, you can easily integrate and use Matt Mullenweg's random image script here - http://ma.tt/scripts/randomimage/ . I have used it a couple of times with Minimum 2.0 and it works fine.
I like the random option it because it does not slow the page down any from how it is "out-of-the-box" yet offers a different image each time the page is visited.
MarcParticipantMarcParticipantI am with Nick. Clicked every option in your navbar and no 404's.
MarcParticipantIt was not CSS code, it would probably be best to remove it from your stylesheet.
You may find it easier to use a plugin, like this one -
http://wordpress.org/extend/plugins/extended-categories-widget/
MarcParticipantMarcParticipantThese should work -
Disallow: /*.gif$
Disallow: /*.jpg$
Disallow: /*.png$
-
AuthorPosts