by Floyd Hartford | Sep 19, 2022 | CSS, Website Development
The CSS “box model” is confusing. Mainly because an element’s width is the width of the element plus its padding-width and border-width. Setting your element’s width to 100% and assigning 20px padding actually results in a width of 100% + 40px....
by Floyd Hartford | Aug 16, 2022 | Website Development
Do you want to password protect your entire website, a file, directory, or path on your website? Maybe you want to setup authentication to share content with a client or other authorized user. Or maybe you’re working on a website project that’s not ready...
by Floyd Hartford | Aug 16, 2022 | Website Development
Favicons. You might not be familiar with the word, but you’ve definitely seen them. Favicons are those little graphic icons displaying next to a website’s title at the top of your browser in the tabs. If you have a website you can add a custom favicon to...
by Floyd Hartford | Aug 14, 2022 | Website Development
Creating a WordPress block — which you might currently or formerly have referred to as a “Gutenberg Block” — is something I struggled with for a while. I found it difficult to locate a tutorial or how-to-guide that was both comprehensive,...
by Floyd Hartford | Aug 12, 2022 | PHP, Website Development
Learn how to remove srcset from wp_get_attachment_image() for WordPress, so you can display consistently sized attachment images every time. wp_get_attachment_image() is WordPress’s built-in function to create an <img /> tag, so you can display a media file...
by Floyd Hartford | Aug 12, 2022 | PHP, Website Development
Obligatory throat clearing… I want to include dynamic sidebars in WordPress page templates. Context When creating a “Page” in WordPress you have the option to assign a page template. Page templates allow you to apply a custom layout to a page....