Categories
guides wordpress

Preload Resources in a WordPress theme functions.php file

Sometimes a report from Lighthouse will indicate you should preload a resource. Adding this (and replacing the href, and making sure you use the correct as= value) to your theme’s functions.php file will preload a resource. Note that in the case of fonts, the cross-origin attribute is required, even if the file is not actually […]

Categories
Uncategorized

Can’t Find my Amazon Locker Collection Code

This information is entirely thanks to Marc Carson’s site, please visit there for information on how to resolve this issue. This page exists to help me find it since (sorry Marc) I don’t regularly remember his site’s name when I encounter this issue, which happens more often than it should. In case Marc’s site ever […]

Categories
troubleshooting

Enable SSH Access for Bluehost Hosting

TL;DR: Contact support. Longer… After both importing and authorizing your key in cPanel, you try to connect by using the username found in the top-right of cPanel: So you double and triple check the Bluehost docs, trying to see what you might have missed. Is there another setting you have to flip for this to […]

Categories
guides wordpress

Errors Importing Prebuilt Template from Avada 7+

This may be an edge case that no one else has issues with, but here is my setup: cPanel SiteGround hosting Primary primary.tld site lives in the public_html/ folder, and many staging sites live in public_html/staging/. DNS points newdomain.staging.tld to SG IP address SG cPanel configured with subdomain pointing to specific folder inside staging/ The […]

Categories
guides learning

Symlink to App Directory

When you build a web app, not all of the files related to the project or in your git repo need to be publicly accessible. You can clone the repo to the webserver, but then create a symlink to connect your Apache DocRoot (or somewhere else in an existing site’s folder structure) to point to […]

Categories
Uncategorized

console.log in PHP

Title isn’t really accurate at all, but it is likely how I’ll recognize this as what I’m looking for next time I need this information.

Categories
guides

Delegate Access on GoDaddy Domains

If you have someone helping manage or launch a website for you, and you have your domain name registered through GoDaddy, it can be really helpful to give them some access to your GoDaddy account without having to give them your own username and password. GoDaddy has several levels of access that you can grant […]

Categories
guides troubleshooting

Too Many Redirects error on WordPress Site

Yesterday, a site I was helping with had an issue where requests were erroring out with a browser message saying there were too many redirects or an infinite redirect loop. The site had been working for months, and no one could recall making any changes to the site since the last known working state. The […]

Categories
guides

Add Script to WP Site Head

To be added to theme’s functions.php For things like Google Analytics, etc…

Categories
good stuff

Do not punish the behavior you want to see

Go look at this, read it! It is so worth the click. If for some reason that link doesn’t work, you can try this or this, but please try the above one first since it is (as best I can tell) the original source.