Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter blong

    (@blong)

    Ok I figured it out.
    For anyone with the same problem here’s what I did:

    in the header, add

    <script type="text/javascript">
    
    function goToAnchor() {
    location.href ="#myAnchor";
    }
    
    </script>

    between the head tags, right after the title.

    next change the body tag from
    <body <?php body_class(); ?>>
    to
    <body onload="goToAnchor();" <?php body_class(); ?>>

    and then open loop.php and add
    <a name="myAnchor"></a>
    right before the loop begins.

    That’s it! I’m still not exactly sure what I had wrong before
    but it’s working now ??

    Thread Starter blong

    (@blong)

    Ok I figured it out. I did delete the <h1> tags but they were in category.php. Thank you so much for your help!

    Thread Starter blong

    (@blong)

    This is what I deleted

    <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>

    but it still says the category. Did I delete the wrong thing?

    Thread Starter blong

    (@blong)

    It worked perfectly! Thank you soooooo much!

    Thread Starter blong

    (@blong)

    Thank you so much! That document gave me exactly what I was looking for!

Viewing 5 replies - 1 through 5 (of 5 total)