Footer text problem
-
Hey,
Simple question… I can’t get rid of the semicolo after company name] in my footer text.this is the php now
© Stepford Digital <?php the_time('Y') ?> <?php bloginfo('name'); ?>This is what it looked like before.
© <?php the_time('Y') ?> <?php bloginfo('name'); ?>Anyone know why the semicolon won’t go away? So basically I added the company name and when I saw that the semicolon came with I removed that. But it’s still there…
Thanks for any assistance!
-
the semicolon is likely from somewhere else;
please post a live link to the problem.
or at least post the full code of footer.php
the semicolon is likely from somewhere else;
please post a live link to the problem.
or at least post the full code of footer.php
Ok. here it is. Thanks!
<?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"> © Stepford Digital <?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>can’t find any stray semicolon in the code.
©needs to keep the semicolon;
if you want to have the current year in the copyright, then useecho date('Y');try to fix your line and see if that changes anything:
© Stepford Digital <?php echo date('Y'); ?> <?php bloginfo('name'); ?>you might need to post a live link to your site to illustrate where the semicolon appears.
Lol! This -> “© needs to keep the semicolon” solved it. (It already displays the current year.) Thanks alchymyth, you’re the best!
(It already displays the current year.)
it displays the year of the possibly last post shown on the page – totally random; go back into the archive of posts of 2012, to check it;
The topic ‘Footer text problem’ is closed to new replies.