Can only access some files in the editor, all have same permissions
-
Hello, I have made my first WP template from scratch (it is not a child theme) and I am getting these problems (I have already Googled intensively but found nothing)
First of all, the structure of my template is this:
- CSS folder: contains reset.css and font files
- IMG folder: contains layout images
- JS folder: contains 3 javascript files
- my php files: footer, functions, header, index, sidebar and single
- the style.css and the screenshot.png
1. I always edit the files in my computer and then I upload them via FTP, but when I go to my Dashboard > Appearance > Editor, if I click on the stylesheet, the sidebar.php, the header.php or the functions.php, it shows a blank textarea. The other php files are loaded correctly. They are all in the same directory and have the same permissions.
2. I also seem to have a problem with the styles.
This is the blog:
https://tucineymas.comuv.comThis is how the blog should look like:
https://tucineymas.comuv.com/goodoneTo check whether the styles work or not, I have made a test directory inside my theme called “goodone” and I have uploaded there my theme without the php files. Then, I clicked “View source” in my browser and copied the html to a file called “kk.html“, and I uploaded it to this directory. It looks perfect (except for little details):
https://tucineymas.comuv.com/goodone/kk.html
If you compare it with itself when uploaded to the main theme folder (where my index.php is):
https://tucineymas.comuv.com/kk.html
the design looks broken again, so since it is the same file but in different locations (with access to the same styles) I guess WordPress is doing something to the files under my theme main folder, but I really can’t figure out what it is exactly:
So this is it, please don’t laugh at me, maybe I just need a vacation.
- The topic ‘Can only access some files in the editor, all have same permissions’ is closed to new replies.