A single post link like http://www.iamjoetaylor.co.uk/home/%EF%BF%BDhttp://www.iamjoetaylor.co.uk:/home/?p=1%EF%BF%BDtitle=%22Hello is never going to work. Are you using <?php the_permalink();?> to create the links to the single posts in index.php.
Yeah I noticed that, I knew there would be something wrong with that part of the code.
My code at this point is: <h2><a href=”<?php the_permalink(); ?>“title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
The tutorial I was using for my theme got a bit vague at this point and was a little unclear.
I’m guessing there’s something wrong here. Sorry for taking so long to reply by the way and thanks for the help.
Hi, can someone help with this? I’m quite stuck here.
Thanks
Check your curly quotes here:
href=”<?php the_permalink(); ?>“
Replace them with the correct entity.
Also, add a space here, between the closing quotes, and title:
?>“title=
p.s. if you copy-and-paste code from an online tutorial, always paste the code into a text editor first, so that things like curly quotes are removed/replaced with the correct entities.
Ahh, thankyou very much! That must have been the only bit I c+p’d.
Thanks again