Support » Fixing WordPress » How do I change the footer text?

  • Hey, I’d like to change the text in the footer to something else. I’d like for it to say something like copyright “my business” and maybe the adress or contact info. I’m using this theme: http://wpexplorer.me/demo.php?theme=ultra

    Where do I change it? Here are excerpts from the footer.php and css…

    Footer

    <?php
    global $options;
    foreach ($options as $value) {
    if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_option( $value['id'] ); }
    }
    ?>
    <div class="clear"></div>
    </div><!-- /container -->
    </div><!-- /wrap -->
    <div id="copyright">
    &copy; <?php the_time('Y') ?> <?php bloginfo('name'); ?>
    	<?php if ($xs_disable_social_links == "true") { ?>
    	<?php } else { ?>
    		<ul id="social">
    			<li><a href="http://www.twitter.com/<?php echo $xs_twitter ?>" title="Twitter"><img src="<?php bloginfo('template_url'); ?>/images/twitter.png" alt="Twitter" /></a></li>
    			<li><a href="<?php echo $xs_facebook ?>" title="Facebook Page"><img src="<?php bloginfo('template_url'); ?>/images/facebook.png" alt="Facebook" /></a></li>
    			<li><a href="<?php echo $xs_feed ?>" title="Feed"><img src="<?php bloginfo('template_url'); ?>/images/feed.png" alt="Feed" /></a></li>
    	</ul><!-- /social -->
    	<?php } ?>
    </div><!-- /copyright -->
    <?php wp_footer(); ?>
    </body>
    </html>

    css

    /************************************************************************************
    Copyright
    ************************************************************************************/
    #social{position:absolute; bottom:10px; right:20px; margin:0; list-style:none}
    #social li{float:left; margin:0 0 0 6px}
    
    /************************************************************************************
    Copyright
    ************************************************************************************/
    #copyright{background:#000; width:960px; margin:0 auto 20px auto; position:relative; padding:10px; color:#999; font-size:10px; border-top:1px solid #333}
    #copyright p{margin:0}
    #copyright a{color:#999}
    #copyright a:hover{color:#FFF}
    #back-to-top{position:absolute; right:10px; bottom:10px; font-size:11px}

Viewing 3 replies - 1 through 3 (of 3 total)
  • This line:
    & copy ; <?php the_time('Y') ?> <?php bloginfo('name'); ?>
    defines what shows up on the footer.

    & copy ; displays the copyright symbol
    <?php the_time(‘Y’) ?> displays the current year
    <?php bloginfo(‘name’); ?> displays the title

    If I wanted to put “© Stepford Digital 2013” and maybe some contact info… how would that look? Thanks!

    replace this line:
    & copy; <?php the_time('Y') ?> <?php bloginfo('name'); ?>

    with:
    & copy; Stepford Digital <?php the_time('Y') ?>

    (remove the space between & and copy; )

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I change the footer text?’ is closed to new replies.