How to make WordPress Twitter Tools Plugin XHTML Valid

A common error occurs when including a URL which contains an ampersand (“&”). WordPress Twitter Tools Plugin by Alex King do this, I mean put & in the url. So we have to replace & with it’s equivalent &

Follow the procedure :

1. Always Backup the original File
2. Find the twitter-tools.php file in Twitter Tools Plugin folder
3. Find the following piece of code in the file

<link rel="stylesheet" type="text/css" href="'.site_url('/index.php?ak_action=aktt_css&v='.AKTT_VERSION).'" />
<script type="text/javascript" src="'.site_url('/index.php?ak_action=aktt_js&v='.AKTT_VERSION).'"></script>
Replace the Code with this
<link rel="stylesheet" type="text/css" href="'.site_url('/index.php?ak_action=aktt_css&amp;v='.AKTT_VERSION).'" />
<script type="text/javascript" src="'.site_url('/index.php?ak_action=aktt_js&amp;v='.AKTT_VERSION).'"></script>

Go to XHTML Validation Service and re-validate.

  • http://www.friv4game.net/ Friv 4

    You need to be clear to me and everyone is easy to apply on the job

  • http://www.fri-v.com/ Friv

    is easy to apply on the job??

  • http://www.parafriv.net/ Para Friv

    This really is not an easy job.

  • http://www.friv2.org/Flappy_Bird.html flappy bird

    It will give your home page a unique look. You can enjoy seeing the home
    pages browsers that have the “special effect” created by you. It will
    be the sign of your thoughts, emotions and characteristics as well. You
    can show your own individual thoughts and likings through the customize
    Google home pages.

  • http://www.frivlink.com/ frivlink

    It will give your home page a unique look. You can enjoy seeing the home
    pages browsers that have the “special effect” created by you.