WordPress.org

Support

Support » How-To and Troubleshooting » Archive post listing query on mouse over

Archive post listing query on mouse over

  • Hi.. newbie here so sorry if this sounds like a stupid question.
    I have created a site to show posts (Photum theme) that can be chosen by selecting category on side panel. An image is shown (featured image) but problem arises when I want to selct that post…..
    when moving mouse over it just goes black showing title and add comment… you can click on post if you click on the white outline of image. What I am wanting is purely to be able to click on listed image to see post.
    It sounds simple but I cant find how to do this… sorry
    Thanks for any help
    website if you ned to look what I mean is http://www.leewelsby.co.uk/susanrumfitt/

Viewing 7 replies - 1 through 7 (of 7 total)
  • i guess this is somewhere in style.css under hover but I cant find out where it is sorry.. please help

    try closing the </a> tag before post div closed

    Thanks nitin but where would i find this… is it in style.css or in a php file? If so have no idea where… and how do i close it…
    as explained before “i’m new to this”

    it will go in your php file before loop end

    thanks again… but which php file? All i want is to see image and press anywhere on it to show post rather than going black etc

    in archive.php

    That’s what I was looking at…… have attached below.. hopefuly it will make sense to you 🙂

    <?php
    /**
     * The template for displaying Archive pages.
     *
     * Used to display archive-type pages if nothing more specific matches a query.
     * For example, puts together date-based pages if no date.php file exists.
     *
     * Learn more: http://codex.wordpress.org/Template_Hierarchy
     *
     * @package WordPress
     * @subpackage Twenty_Ten
     * @since Twenty Ten 1.0
     */
    
    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 do not bump, that’s not permitted here. If it ‘s that urgent then consider hiring someone. ]

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Archive post listing query on mouse over’ is closed to new replies.