The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Archive post listing query on mouse over (8 posts)

  1. LeeWelsby
    Posted 3 years ago #

    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/

  2. LeeWelsby
    Posted 3 years ago #

    i guess this is somewhere in style.css under hover but I cant find out where it is sorry.. please help

  3. IMICreation
    Posted 3 years ago #

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

  4. LeeWelsby
    Posted 3 years ago #

    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"

  5. IMICreation
    Posted 3 years ago #

    it will go in your php file before loop end

  6. LeeWelsby
    Posted 3 years ago #

    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

  7. IMICreation
    Posted 3 years ago #

    in archive.php

  8. LeeWelsby
    Posted 3 years ago #

    That's what I was looking at...... have attached below.. hopefuly it will make sense to you :)

     * 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">
    	/* 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() )
    			<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; ?>
    <div id="move">
    	/* 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.
    	/* 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. ]

Topic Closed

This topic has been closed to new replies.

About this Topic