Categories
learning

Tailwind: Applying Child Classes on Parent Hover State

If you want classes to change on a child element when something happens on the parent, you might be able to use Tailwind’s group class. src

Categories
learning

Custom Tailwind Utility Classes

If you need a one-off custom class that Tailwind doesn’t have built in, you can dynamically generate a Tailwind class to suit your needs. src

Categories
learning

Applying Multiple Tailwind Classes as Single Class

From src, but I haven’t tested…

Categories
guides

Create new WP Admin from Command Line (WP-CLI)

Prerequisites: SSH access to WordPress host server WP-CLI installed on server src

Categories
guides

Less.css: Escape a Less function in favor of CSS3 function

When trying to use a CSS3 function (like min(), calc(), etc) inside a Less (.less) file, you need to escape the native Less function if it has the same name as a CSS function. You can do this using by putting the CSS function in quotes, and prepending that with a ~. Example using CSS […]

Categories
guides

WordPress Prompting for FTP Credentials

If you just want to see my recommended permissions for a DocRoot, that is here. When updating plugins, themes, or the WordPress core – or when activating WordFence (and possibly in other situations), you may be prompted for FTP credentials for the webserver. If so, this indicates that WordPress was not able to write to […]

Categories
guides

Import & Export MySQL/MariaDB from Command Line

To import a MySQL db: To export a MySQL db: To import to a Docker container To export to a Docker container

Categories
guides

Adding/Installing SSL/TLS/HTTPS

Some of these steps can be completed via command line with wp-cli if installed by using commands generated from this tool. To find out if wp-cli is installed, try running wp cli version. Adding the Cert These instructions are for SiteGround hosting with a free Let’s Encrypt certificate. Other hosts support of Let’s Encrypt and […]

Categories
guides

PHP Upload Limit Directives php.ini

If you’re having an issue with uploading via PHP, and want to adjust the PHP configuration limits in the .ini file, check the following directives: memory_limit upload_max_filesize post_max_size

Categories
guides

Manually Installing Apache/MySQL/PHP on Windows (DEV ONLY)

For Development Only I’m not a security expert, but I try to be security conscious. This guide was created for the purpose of local development on my own computer, not to host any site that any other computer would connect to. There was no security precautions taken, and this should not be presumed to be […]