Theme Editor Not Showing

I made a custom WordPress theme from scratch for a client, then zipped it up and sent it to them. They installed the theme fine, but for some reason the theme editor does not display. What I mean is there is no link to “Editor” under appearance anymore. Does anyone know why this would happen? … Read more

Is there a way to activate different theme for specified users? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Asking to recommend a product (plugin, theme, book, hosting provider), tool, library or off-site resource is out of scope of the site, as it attracts opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it. Closed … Read more

Cutomize Colors utility: How to add more configurable colors to a theme

Recent WordPress install, default theme. There are three colors which can be customized from the admin gui, but there are at least three other colors visible on the website which can’t be customized from there: Posts/pages background text colors in posts/pages text and background color in the search field I assume it is possible to … Read more

Exclude file from theme editor

Is possible to exclude some files from being viewed and modified in the theme editor? 1 Answer 1 In general I wouldn’t recommend editing files that way and just disable it with the well known DISALLOW_FILE_EDIT or DISALLOW_FILE_MODS constants, that are checked within the map_meta_cap() function. But anyway it’s interesting to see if we can … Read more

get_template_directory has an odd functionality

I have WordPress 4.4 installed localy on wamp server 2.5 x64 on Windows 10 and noticed that: get_template_directory(); returns this: ‘C:\wamp\www\my-site//content/themes/my-theme’ Questions What’s the reason for those two sequential slashes, if this is not a bug? Why WordPress does not handle DS correctly (regarding slashes and backslashes)? is this something up to the web server … Read more