• How To Display Different Sidebars For Different Pages

    How To Display Different Sidebars For Different Pages

    Page Template (Best for Single Pages) If you only need to call a different sidebar on a single page and that page is totally unique, and there’s no need to have a plan for children of those pages, then a simple page template should do the trick. Just go to your parent theme, copy page.php […]

  • Disable CORS For Localhost

    Disable CORS For Localhost

    Method 1: Firefox (not recommended) In the Firefox address bar, type about:config. You’ll be greeted with a warning. Click “Accept the Risk and Continue”. Next, you’ll see a search bar where you can search for specific preferences. If you made it this far, there’s a good chance you know exactly the setting you’re looking for. […]

  • Block Registrations By Email Domain

    Block Registrations By Email Domain

    Today I ran into a situation where I was getting a new user registration every half hour for the entire afternoon. I came across this solution that will block registrations by email domain. First, it blocks registrations by email domain. This simple denial of registration does not require WordFence, as it’s just a really useful […]

  • Search And Replace Using PHPmyadmin

    Search And Replace Using PHPmyadmin

    Select Your Database To search and replace using phpmyadmin, first you’ll need to select and open the database you want to run the search and replace query on. Once you’ve selected it, you’ll see the tabs across the top of the screen change. Execute Query Click on the SQL tab at the top, and you’ll […]

  • Fitness320

    Fitness320

    Project Tasks Convert a traditional e-commerce website to a subscription-based website with irregular renewal times. Create a fully-automated email campaign that welcomes new subscribers and reminds existing subscribers of their renewal one week before. Create a “virtual gym” that restricts digital content (videos, PDFs, and web pages) to paid subscribers. Inside the “virtual gym” members […]

  • Make Any WordPress Block Sticky Without Plugins

    Make Any WordPress Block Sticky Without Plugins

    position: sticky vs position: fixed In CSS, you can use both position: sticky and position: fixed to make any WordPress block sticky, but there are some important differences that should be noted. position: sticky keeps that element within the document flow. Great for things like columns and sidebars that have content above them. When the […]

  • How to Host Multiple Local Sites Using XAMPP and VirtualHosts

    How to Host Multiple Local Sites Using XAMPP and VirtualHosts

    As a web developer, it’s always a good idea to have a good working local environment for testing. Let’s dive into how to host multiple local sites using XAMPP and VirtualHosts. XAMPP Install You can download and instlal XAMPP over at https://www.apachefriends.org/download.html. XAMPP includes Apache and all the necessary setup to get your environment off […]

  • Customize the Default WordPress Login Page Without Plugins

    Customize the Default WordPress Login Page Without Plugins

    Let’s take a look at how to customize the default WordPress login page without using any plugins. Changing the Logo First, open your functions.php file in your child theme and drop in the following function: Just keep in mind that get_template_directory_uri() returns the root directory of your parent theme. To return the root directory of […]

  • Add Custom Fonts to a WordPress Site Without Any Plugins

    Add Custom Fonts to a WordPress Site Without Any Plugins

    Let’s dive into how to add custom fonts to WordPress without using any plugins. Choose a Font Originally, I was using a font called “Arrow” from DaFont. This actually ended up giving me problems later on, something I’ll cover later. Convert to WOFF2 (if you need to) Any font in the entire world. Just make […]

  • Enqueue Stylesheets in a WordPress Block Theme

    Enqueue Stylesheets in a WordPress Block Theme

    Today we’re going to take a look at how to enqueue stylesheets in a WordPress block theme. My main stylesheet for a newly created custom WordPress block theme wasn’t loading after several tries and I couldn’t figure out what was going on. Every search result was just saying , “Oh, you gotta enqueue your stylesheet, […]