WordPress.org

Ready to get started?Download WordPress

Forums

Duplicate footer text error (5 posts)

  1. imissyourobot
    Member
    Posted 11 months ago #

    I can't seem to correct the issue of there being duplicated text in my footer. I'm not a code expert so I don't really know what to change since the theme I'm working with was made custom for us.

    the url is rockyruggiero.com

    Below you can find the code inside our footer.php

    <div class="row" style="height:15px; margin-top:20px"></div>
    <div class="row" style="background:#c4c4c4; height:1px; margin-top:20px margin-bottom:40px;"></div><br />
    <div class="row">
    	<div class="twelvecol last" align="center">
    		<p style="font-size:12px;">&copy;
    			<?php
    				global $page, $paged;
    				wp_title( '|', true, 'right' );
    				bloginfo( 'name' );
    
    			    $site_description = get_bloginfo( 'description', 'display' );
    				if ( $site_description && ( is_home() || is_front_page() ) )
    					echo " | $site_description";
    				// Add a page number if necessary:
    				if ( $paged >= 2 || $page >= 2 )
    					echo ' | ' . sprintf( __( 'Page %s', 'rocky' ), max( $paged, $page ) );
    			?>
    		<strong>|</strong> All Rights Reserved.</p>
    	</div>
    </div>
    <div class="row" style="height:15px;"></div>
    <!~ JAVASCRIPT ~!>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/libs/jquery.js"></script>
    
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/zurb/foundation.min.js"></script>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/zurb/jquery.foundation.accordion.js"></script>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/zurb/jquery.foundation.alerts.js"></script>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/zurb/jquery.foundation.buttons.js"></script>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/zurb/jquery.foundation.clearing.js"></script>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/zurb/jquery.foundation.forms.js"></script>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/zurb/jquery.foundation.joyride.js"></script>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/zurb/jquery.foundation.magellan.js"></script>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/zurb/jquery.foundation.mediaQueryToggle.js"></script>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/zurb/jquery.foundation.navigation.js"></script>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/zurb/jquery.foundation.orbit.js"></script>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/zurb/jquery.foundation.reveal.js"></script>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/zurb/jquery.foundation.tabs.js"></script>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/zurb/jquery.foundation.tooltips.js"></script>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/zurb/jquery.foundation.topbar.js"></script>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/zurb/jquery.placeholder.js"></script>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/jquery.flexslider.js"></script>
    
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/fancybox/jquery.fancybox.js"></script>
    <script type="text/javascript" src="<?php echo get_bloginfo ('template_url'); ?>/assets/javascript/fancybox/jquery.fancybox.pack.js"></script>
    <script type="text/javascript">
       $(window).load(function() {
           $("#slider").orbit();
       });
    	$(document).ready(function() {
    		$(".fancybox").fancybox({
    			openEffect	: 'none',
    			closeEffect	: 'none'
    		});
    	});
    </script>
    </body>
    </html>

    I appreciate any help you may be able provide me with!

  2. imissyourobot
    Member
    Posted 11 months ago #

    No Replies?

    Can someone please help me out?

  3. imissyourobot
    Member
    Posted 11 months ago #

    Okay.

    Considering there must be some reason this post is not getting a response - Can someone at least tell me why no one is responding to this question? Is there some guideline that I skipped or something I did wrong? Normally this forum is very helpful. I would appreciate any input.

    Thanks in advance,

    Scott

  4. WPyogi
    Volunteer Moderator
    Posted 11 months ago #

    Can someone at least tell me why no one is responding to this question?

    I think it's mostly just random -- depends on who's around when you asked but it also may depend on the question - in this case, it's not necessarily an easy/common question. In fact, I don't see an duplicated text in your footer at all.

    But you DO have some serious mark-up errors - so some of those could be quite problematic - for one, having any code above the DOCTYPE on any webpage is never correct.

    http://validator.w3.org/check?uri=http%3A%2F%2Frockyruggiero.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

  5. imissyourobot
    Member
    Posted 11 months ago #

    Thank you for your response WPyogi :)

    The duplicated text I have in my footer would be that of the copyright area:

    © Home | Rocky Ruggiero Cultural Programs for the ArtsRocky Ruggiero Cultural Programs for the Arts | All Rights Reserved.

    In my experience, which is obviously almost non-existent in regards to this type of work - the copyright information is usually placed inside the footer. This is why I posted this question with the indication that there was an error in my footer code. Any insight on how I might go about resolving this?

    Thanks,

    Scott

Reply

You must log in to post.

About this Topic