WordPress.org

Ready to get started?Download WordPress

Forums

[closed] archive php.. how to change hover properties?? (1 post)

  1. LeeWelsby
    Member
    Posted 1 year ago #

    I have the following archive.php coding and have a problem on my website.. please help.
    I can show all posts by featured image but all I want is o be abe to click on image to show post... at the moment it goes black on mouse over showing file info and you can only click on ege of image.... newbie so please be patient
    website to check is http://www.leewelsby.co.uk/susanrumfitt

    thanks

    */
    
    get_header(); ?>
    
    		<div id="container">
    			<div id="content" role="main">
    <?php
    	/* Queue the first post, that way we know
    	 * what date we're dealing with (if that is the case).
    	 *
    	 * We reset this later so we can run the loop
    	 * properly with a call to rewind_posts().
    	 */
    	if ( have_posts() )
    		the_post();
    ?>
    
    			<h1 class="page-title">
    <?php if ( is_day() ) : ?>
    				<?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ); ?>
    <?php elseif ( is_month() ) : ?>
    				<?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date( 'F Y' ) ); ?>
    <?php elseif ( is_year() ) : ?>
    				<?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date( 'Y' ) ); ?>
    <?php else : ?>
    				<?php _e( 'Blog Archives', 'twentyten' ); ?>
    <?php endif; ?>
    			</h1>
    <div id="move">
    <?php
    	/* Since we called the_post() above, we need to
    	 * rewind the loop back to the beginning that way
    	 * we can run the loop properly, in full.
    	 */
    	rewind_posts();
    
    	/* Run the loop for the archives page to output the posts.
    	 * If you want to overload this in a child theme then include a file
    	 * called loop-archive.php and that will be used instead.
    	 */
    	 get_template_part( 'loop', 'archive' );
    ?>
    </div>                         <div class="clr"></div>
                  	<div id="footer" role="contentinfo">
               		<div id="site-info">
    				Copyright © <?php echo date("Y"); ?> <a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
    					<?php bloginfo( 'name' ); ?>
    				</a>. All rights reserved.
    			</div><!-- #site-info -->
    	</div><!-- #footer -->
    			</div><!-- #content -->
                <?php get_sidebar(); ?>
    		</div><!-- #container -->
    
    <?php get_footer(); ?>

    [please mark any posted code according to forum guidelines http://codex.wordpress.org/Forum_Welcome#Posting_Code - as it is, the above code is partially corrupted by the forum parser]

    [closed as duplicate of http://wordpress.org/support/topic/archive-post-listing-query-on-mouse-over?replies=8 - continue with the original topic]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags