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?