Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.