jmadz1
Member
Posted 11 months ago #
My code in functions.php:
[Code moderated as per the Forum Rules. Please use the pastebin]
Instead of showing a "»" between breadcrumbs, it is doing something else. Check it out http://www.pullupbarsx.com. Just above the leftbar, beneath navbar. Anyone know how to solve this problem, or at least what's wrong with it?
Many thanks.
jmadz1
Member
Posted 11 months ago #
Try getting rid of all of the styled quotes in your code.
jmadz1
Member
Posted 11 months ago #
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.
jmadz1
Member
Posted 11 months ago #
Ahhh ok thankyou, I'll give it a go.
jmadz1
Member
Posted 11 months ago #
I'm afraid it didn't work. Any other ideas?
Can we see the amended code in the pastebin?
jmadz1
Member
Posted 11 months ago #
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.
jmadz1
Member
Posted 11 months ago #
Ignore lines 1,2,3 and 4 on the amended pastebin. Those are my sidebars.
jmadz1
Member
Posted 11 months ago #
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
jmadz1
Member
Posted 11 months ago #
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.