admin管理员组文章数量:1434959
I have a friend who has a wordpress website, he wants some help and as I have been coding with html, css, javascript (but with bootstrap) I am helping him out. However, he has a very old version of the Customizr theme on wordpress and as I haven't used wordpress much I cannot find the full code and CSS for the website. The options on the custom editor are extremely limited and I would really need to see more code for the website, it just seems it is all...hidden?!
He thinks I have full admin access, I am logged in as "admin".. could his old designer (who has gone AWOL) be hiding them to stop him changing them?
When I got to the parent theme, the header is only 10 lines long! None of the code for the navbar etc is in there, and the parent CSS file is empty, the child CSS file just has around 50 lines of custom CSS and that is it.
it says in the parent theme:
/** * The styleheets of Customizr are located in inc/css. Each skin has its own stylesheet : blue.css, green.css, ... *
but inc/css are nowhere to be seen!!
Could someone please enlighten me where the CSS and header/footer etc code is hiding? I do have quite a lot of coding experience but I really do not know much about wordpress, so please point me in the right direction of how I can find the main CSS code and the real header file etc instead of telling me not to modify the code etc.
Sorry if I am being ridiculously stupid but a google search has yielded me no information on this which bought me here.
Thanks for any help
I have a friend who has a wordpress website, he wants some help and as I have been coding with html, css, javascript (but with bootstrap) I am helping him out. However, he has a very old version of the Customizr theme on wordpress and as I haven't used wordpress much I cannot find the full code and CSS for the website. The options on the custom editor are extremely limited and I would really need to see more code for the website, it just seems it is all...hidden?!
He thinks I have full admin access, I am logged in as "admin".. could his old designer (who has gone AWOL) be hiding them to stop him changing them?
When I got to the parent theme, the header is only 10 lines long! None of the code for the navbar etc is in there, and the parent CSS file is empty, the child CSS file just has around 50 lines of custom CSS and that is it.
it says in the parent theme:
/** * The styleheets of Customizr are located in inc/css. Each skin has its own stylesheet : blue.css, green.css, ... *
but inc/css are nowhere to be seen!!
Could someone please enlighten me where the CSS and header/footer etc code is hiding? I do have quite a lot of coding experience but I really do not know much about wordpress, so please point me in the right direction of how I can find the main CSS code and the real header file etc instead of telling me not to modify the code etc.
Sorry if I am being ridiculously stupid but a google search has yielded me no information on this which bought me here.
Thanks for any help
Share Improve this question edited Nov 22, 2016 at 2:58 ck777 asked Nov 22, 2016 at 2:44 ck777ck777 11 bronze badge1 Answer
Reset to default 0If i understand your question correctly:
Go to your Wordpress installation public_html folder, open up wp-config.php and past this into it on its own line at the bottom:
define('DISALLOW_FILE_EDIT', false);
that will then activate the "Editor" tab on the flyout menu in the themes "Appearance" link.
Be careful WP has no option (well it may do now but i highly doubt it) to reverse any changes or has syntax highlighting, your best option is to ftp the themes style.css to your workstation, copy it, then work on it remotely and upload when done, the copy is your insurance policy if it all goes wrong you can just reupload the original version.
when done either remove the line you pasted into the config file or change false to true to hide the editor again.
本文标签: wp adminWhere are the Parent themes CSS amp PHP files hidden on Wordpress
版权声明:本文标题:wp admin - Where are the Parent themes CSS & PHP files hidden on Wordpress? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745643736a2668010.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论