I have been starting to try to figure out how to code custom wordpress themes, but I am staring at the basic code for the wordpress site... and I can't figure out what and why there are a bunch of square blocks in the code in random places... (Also why is the code so dang messy?)
Square blocks in code
Started by Bouzy210, Jun 10 2008 06:45 PM
4 replies to this topic
#1
Posted 10 June 2008 - 06:45 PM
#2
Posted 10 June 2008 - 11:49 PM
Square blocks in the plaintext files basically means an unsupported character. This typically happens when going from linux to windows (for example), where linux uses \n characters for it's line breaks and windows uses \r\n (thus rendering the \n as the infamous square block).
Don't use wordpress myself, so that is about all i can offer.
Don't use wordpress myself, so that is about all i can offer.
#3
Posted 11 June 2008 - 06:52 PM
acually I just opened up my files in wordpad and they are fine... in notepad they are all mess up for some reason. Go figure.
#4
Posted 12 June 2008 - 01:02 AM
That just means that i was right. Wordpad, like dreamweaver, recoginzes both \r\n and \n and will handle them as though they are the OS-default line endings. Notepad does no such translations, it is plain-text in it's purest form.
#5
Posted 19 June 2008 - 10:46 AM
I think you'd be better off installing something like XAMP if you're using Windows on your home PC. Then your PC will have what's needed to run MySQL, PHP, and Apache. It will act like a server. Then you can install Wordpress and look at and play with it as much as you want!
Or you could visit Wordpress.org and see their documentation to get an idea as to how the system works.
Or you could visit Wordpress.org and see their documentation to get an idea as to how the system works.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
