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.

Comments

  1. says

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

    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.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>