Jump to content

Blog Footer help


ag206

Recommended Posts

Hello all,

 

Need some help real quick... I'm sure it will be a breeze for most of you on here but I of course am lost.

I'm getting an error on line 7 of my footer as I tried to add logo credit to a friends website.

What I was trying to add was "Image Courtesy of WinterMe.com" after my copyright mochimonkey.com

Also if there is a way to add his logo that would be awesome to know as well.

I'm using wordpress on the back end. and Lightroom is the theme.

 

 

Thanks very much in advance.

 

Here is the code:

 

<div class="clear"></div>
</div>
<div id="footer">
<span class="text">
<?php
$blog_name = '<a href="'.get_bloginfo('url').'">'.get_bloginfo('name').'</a>';
printf(__('· Copyright %s %s %s · ','lightword'), '©',date('Y'),$blog_name, ·')
?>

<a title="<?php _e('Go to top','lightword'); ?>" class="top" href="#top"><?php _e('Go to top','lightword'); ?> ↑</a>

</span>
</div>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/menu.js"></script>

<?php wp_footer(); ?>

</div>
</body>
</html>

 

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/192064-blog-footer-help/
Share on other sites

Oh I gues y have now two qoutes there

if now your code looks like '·'' <= two ' chars

remove one

 

 

here is the code as it stands now.

<div class="clear"></div>
</div>
<div id="footer">
<span class="text">
<?php
$blog_name = '<a href="'.get_bloginfo('url').'">'.get_bloginfo('name').'</a>';
printf(__('·'Copyright %s %s %s '·' ','lightword'), '©',date('Y'),$blog_name, '·')
?>

<a title="<?php _e('Go to top','lightword'); ?>" class="top" href="#top"><?php _e('Go to top','lightword'); ?> ↑</a>

</span>
</div>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/menu.js"></script>

<?php wp_footer(); ?>

</div>
</body>
</html>

Link to comment
https://forums.phpfreaks.com/topic/192064-blog-footer-help/#findComment-1012302
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.