The Purpose of a Hosts File In order for a domain to point to a server it must be mapped to a DNS resolver. For instance if you type onpointplugins.com in your browser, you are sent to IP address "108.62.123.43" and the website loads. Almost always, the DNS resolution happens through an exchange of DNS servers both within your computer, router and servers located in the cloud. A Hosts files allows you to override all other DNS resolvers in favor of file's contents for specified domains. … [Read more...]
Category: Tutorials
How to Change Your Domain Name on WordPress
You've decided it is time to change the domain on your website. Maybe you are doing a rebrand or switching a testing site to the live domain. Whatever the reason, the process for changing the domain on a WordPress site is reasonably straightforward. This article will take you through the process. Setting Up Your New Domain. Changing The Domain Name In WordPress. Redirect Your Old Domain. Notify Search Engines. Setting Up Your New Domain The first step to changing your domain … [Read more...]
Disabling WooCommerce Blocks
We are a big fan of the WooCommerce plugin for its stability and the ability to create our own custom templates. We are also a big fan of clean UX and performant enterprise level websites. https://wordpress.org/plugins/woocommerce/ One thing we have never been a fan of was WooCommerce Blocks. Don't get me wrong, the blocks are really cool. In a world of Full Site Editing it's reasonably necessary for WooCommerce to provide blocks for users to have the ability to build the site code free. … [Read more...]
Gutenberg Block Editor – Translating TypeScript
WordPress versions 4.9 and below allowed you to translate text in your JavaScript by passing JSON objects via wp_localize_script. While this system works great it has some limitations. With the release of WordPress 5.0, support was introduced to allow developers to translate their theme or plugin directly within JavaScript. Translating in JavaScript has some nice benefits: You add your text in the React components where it is used so you don't have to map objects to … [Read more...]
Retrieving Account Access For a Discontinued Email
A relatively common occurrence is for a user on your organization to purchase a plugin license using their personal email address instead of a shared email. This works fine until the user leaves your organization and their email is removed. If you know the password of the plugin account you may log in and change the email address under Account Details. The following process will allow you to regain access to the plugin account as well as change the email address to a shared … [Read more...]
Making PHPUnit 7 tests work with PHP8
Update: The WordPress core integration testing library now supports PHPUnit 9 and no longer requires a special PHPUnit 7 library. Our version of PHPUnit 7 has been discontinued and is no longer available. More information may be found here. A few months ago a new major version of PHP was released which brought many code style and functionality enhancements. A very useful update toward making PHP strict typed and running more computational complex programs natively on PHP. If you are … [Read more...]