Support » Fixing WordPress » Links not opening correctly

Viewing 4 replies - 1 through 4 (of 4 total)
  • What code did you use to add these links?

    complete code for this link is as follows:

    <a href=”http://twitter.com/home/?status=<?php echo urlencode(the_title(”,”, false)) ?>:<?php the_permalink() ?>” target=”_blank”><img src="images/twitter.png" width="19" height="19" border="0" alt="" /></a>

    You need to replace your ‘curly quotes’ with just normal quotation marks.

    <a href="http://twitter.com/home/?status=<?php echo urlencode(the_title(",", false)) ?>:<?php the_permalink() ?>" target="_blank"><img src="images/twitter.png" width="19" height="19" border="0" alt="" /></a>

    Should work.

    Thanks Spencer, I knew it would be something simple… been staring at the page for too long 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Links not opening correctly’ is closed to new replies.