Forums

tags bing inserted into page where no php is (1 post)

  1. mrtaylor
    Member
    Posted 5 months ago #

    I'm guessing there is javascript somewhere inserting <a> </a> in my pages. I'm not sure why. The site is working fine.. I was just trying to get the hmtl to validate when I found it. It's a child theme based on TwentyTen. This chunk is from the header. Anyone recognize the cause of it?

    This is the source:

    <div id="info-box">
    				<a href="<?php echo home_url( '/' ); ?>?page_id=196">
    					<div id="contact-info">
    					</div>
    				<a/>
    
    				<div id="site-description">
    					Custom Wreckers<br>& Car Carriers
    				</div><!-- close site description -->
    			</div><!--  close info box  -->
    
    			<div id="access" role="navigation">
    
    			  <?php /*  Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
    
    				<div class="skip-link screen-reader-text">
    					<a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>">
    						<?php _e( 'Skip to content', 'twentyten' ); ?>
    					</a>
    				</div>

    the result:

    <div id="info-box">
    	<a href="http://localhost/?page_id=196">
    		<div id="contact-info"> </div>
    	</a>
    	<a>
    		<div id="site-description">
    		Custom Wreckers
    		<br>
    		& Car Carriers
    		</div>
    	</a>
    </div>
    <a> </a>
    <div id="access" role="navigation">
    	<a> </a>
    	<div class="skip-link screen-reader-text">
    		<a> </a>
    		<a title="Skip to content" href="#content"> Skip to content </a>
    	</div>

Reply

You must log in to post.

About this Topic