-1

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

0

If 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.

  • Hey thanks for this, but where abouts is that? On the server or in wordpress? – ck777 Nov 22 '16 at 3:20
  • I do not have access to the server as the old designer has all the log-ins and has abandoned his job! – ck777 Nov 22 '16 at 3:22
  • Oh, and the editor is there in the appearance menu, along with parent and child theme but the parent them files such as header.php are almost empty! I am so confused I think there must be more code than this, ie the code for the actual theme, I cannot find it anywhere! – ck777 Nov 22 '16 at 3:23
  • The file is in the public html folder. tell your buddy to contact his hosting company and have the logins reset, thats a security issue. – MartinJJ Nov 22 '16 at 3:25
  • Sorry i cant help you with that as i never use child themes, something in my psyche just tells me they aint worth the effort, im old school i guess.. – MartinJJ Nov 22 '16 at 3:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.