If your using wordpress machine for your website or blog,you may sometimes be required to make certain changes or add anything further to any php or css file.You can do this simply by editing the appropriate php file by opening it in a text editor(notepad) and then again upload the whole template into your server.
But if you have uploaded your template and written a few posts,you may be resilient to change the theme for even a minute.Then in those cases you have to edit the theme using the theme editor feature in wordpress.But when you make a change to the php file and save it,you find that your changes are not saved.
This is because you do not have rights to edit the content in the php or css files.
This is just similar to any file/folder in your desktop.If we want the file only to be readable and no writing,we just simply go to properties of the file and check on read-only radio button.
You should do the same thing with php files in your theme.For that use your favourite FTP client (Filezilla for eg.) and connect to your server.Open wp-content in the remote server side and then open themes.
Select all php and css files(use ctrl and select each file).After selecting all required files right click on any file and open file attributes.
There you probably see either 626,636 or 646.Change it to 666.By changing it to 666 you are giving public(yourself) a right to edit the file.
After doing those changes you can edit any php or css file as you like from the theme edit option in the wordpress.
Like the post? then why not subscribe to sriraj.org and give us the pleasure to deliverfuture such posts right into your mail box?
Visitors who read this article also read:
- xml-sitemap error, make sure the file exists and is writableIf you got the above message when trying to implement the XML sitemap, then you have the solution here. I’m...
- Checklist after every WordPress upgradeWith WordPress, you’re almost sure that there will be a new version available at least every 2 months (averaging total...
- Hiding wordpress content directories from being listedIf you type yourdomain/wp-content/plugins or themes,you can view all the plugins or themes you use. The thing here is, everyone...
- Warning: Cannot modify header information – headers already sent by output started atThe complete header error will actually look something like this : Warning: Cannot modify header information – headers already sent...
- Put an image in your sidebar and link it to a siteOh c’mon you’re looking for a way to put images in your sidebar.You know this one,i bet you do but...
- Access your PC files from any where; Get 2GB free Dropbox accountYou don’t need to have a Smartphone, not even a USB drive, to carry your important files with you, where...

{ 2 comments… read them below or add one }
Hi. It doesn’t work…
After selecting all required files I right click on any file and open file “properties”, but I don’t see any numbers to change!!!
Do you know why?
Thanks
Which FTP are you using?
After pointing to the required file using a FTP client, right click on the file. And if you don’t find numbers like 644 or 744 you probably might have a xxx. Enter 777 in the place of xxx and save the settings.
Hope that helps.
{ 3 trackbacks }