Thread Starter
jmadz1
(@jmadz1)
Try getting rid of all of the styled quotes in your code.
Thread Starter
jmadz1
(@jmadz1)
Sorry, which are the styled quotes? Yes, I am a noob at website developing.
Every single and double-quote is a styled – rather than a plain – quote. Stick to using a text editor when writing/amending code.
Thread Starter
jmadz1
(@jmadz1)
Ahhh ok thankyou, I’ll give it a go.
Thread Starter
jmadz1
(@jmadz1)
I’m afraid it didn’t work. Any other ideas?
Can we see the amended code in the pastebin?
Thread Starter
jmadz1
(@jmadz1)
This is the amended code: http://pastebin.com/SkEPitz6
When I change all single and double quotes to non-styled quotes, I get this error message:
Parse error: syntax error, unexpected $end in /home/jmadz/public_html/wp-content/themes/coffeebreak-10/functions.php on line 27
Line 27 is the end php bit “?>”.
I’ve check and there is no white space around it.
Thread Starter
jmadz1
(@jmadz1)
Ignore lines 1,2,3 and 4 on the amended pastebin. Those are my sidebars.
Thread Starter
jmadz1
(@jmadz1)
Ok here’s some more information. When I upload this code:
http://pastebin.com/mvaanLCG
WordPress then changes my functions.php file so it has this code instead:
http://pastebin.com/kgbeFcHX
Maybe that has something to do with it. So then I have to paste in the original uploaded code, into my functions.php file which is already uploaded in wordpress. And when I do that I get those wrong ascii symbols I was firt talking about.
If I leave the code as it is, I get lots of question mark ascii symbols instead. Either way, it’s wrong.
I’m not quite sure that this function is supposed to do but try http://pastebin.com/NAQzHBDt
Thread Starter
jmadz1
(@jmadz1)
Thanks for your help esmi. I eventually found a code that worked properly. You were a lot of help though. This question is now SOLVED.