Forums

[resolved] I cannot display © sign in my blog footer. what should I do? (7 posts)

  1. burakbbb
    Member
    Posted 2 years ago #

    hello, in my footer I'm trying to diplay copyright symbol; ©. but when i insert it into php codes it is somehow displayed as a square. how can I get over this problem.

    Also how can I insert any other characters, the ones that are not found in english alphabet, because they are not displayed properly either.

    my codes are below

    <p class="footerpoweredby">©
    	<?php
    		printf( _c('Copyright 2005-2008 Burak's Website Powered by %1$s and %2$s|1:WordPress, 2:K2', 'k2_domain'),
    			'<a href="http://wordpress.org/">' . __('WordPress', 'k2_domain') . '</a>',
    			'<a href="http://getk2.com/" title="' . __('Loves you like a kitten.', 'k2_domain') . '">K2</a>'
    		);
    	?>
    </p>
  2. tamilsweet
    Member
    Posted 2 years ago #

    use © instead of ©

  3. tamilsweet
    Member
    Posted 2 years ago #

    user &copy; instead of ©

  4. burakbbb
    Member
    Posted 2 years ago #

    thanks very much. do you know where i can find how to type many other characters in php such as ç ş or ğ letters in php.

  5. tamilsweet
    Member
    Posted 2 years ago #

  6. tamilsweet
    Member
    Posted 2 years ago #

    Just for your information. These are not characters in PHP they are just HTML special characters. PHP has nothing to do with this.
    Note that the code is outside PHP tags <?php ?>

  7. burakbbb
    Member
    Posted 2 years ago #

    ok thank you very much for your help!! :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.