Directory Protection Minus Specific Files/Folders

Here is some code I found that can be used to protect a directory but tell the server to still allow access to specific files and folders. SetEnvIf Request_URI “(path/to/folder/)$” allow SetEnvIf Request_URI “(path/to/file\.php)$” allow Order...

Disable Gutenberg via Filter

So the Gutenberg editor can be very interesting to use and very user friendly. If you are use to using other editors or layout systems then sometimes it is a good idea to disable it in the child theme.  All you have to do is add the following code to your...

Disable PHP File Execution via .htaccess

Here is the code that you can put in your .htaccess file within a folder to disable php file execution.  It is very useful in the WordPress's wp-content/uploads directory for making sure files that get uploaded are not executable. <Files *.php> deny from all...

Disabling a CheckBox until a Textarea is scrolled to end

So there are sometimes occasions where I need to have a person who is on a form scroll to the end of a checkbox to try to make sure they have read it. Scrolling to end just means they acknolwdge this even if they don't read it so I created the following jQuery. I...

Divi Accordion Customizations

So when it comes to Divi Accordion I didn't like how the first one was always open and there wasn't a way to close one without opening up another one.  So I came across the following code to accomplish what I was looking for. Here is the Javascript needed to give...