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.

7 thoughts on “How to make WordPress Twitter Tools Plugin XHTML Valid

  1. 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.

  2. agario

    I will make sure to bookmark it and come back to learn extra of your helpful
    info. Thank you for the post. I will definitely comeback.

Leave a Reply

Your email address will not be published.