How To Change The Window Size For Codeception WP Web Driver

If you use acceptance testing for you WordPress plugin or theme development, it’s likely you’re using Codeception. I use the WP Web Driver browser in my testing as it has the most testing options. Usually the size of the browser window doesn’t matter, because I’m running it headless. Today I was testing menu access. Somewhat

How To Rearrange Astra Post Elements

A reader asked how to completely rearrange the post elements in WordPress Astra. They wanted to order it as: Date Post title Author Post content Categories Tags They also wanted the same ordering on both the single posts and in the category pages. Regardless of whether you want to order your layout in this exact

How To Find Your WordPress Version

There are three ways you can find which WordPress version is running on your site: displayed in the WordPress admin area, in the HTML source, or by using PHP code. How to find your WordPress version in the admin area When you first log in to the WordPress admin area as an admin, you will

How To Make A Four Column Layout In Gutenberg

To make a four column layout in the WordPress Gutenberg editor, select the equal three column layout, hover over a gap between the columns and add the fourth column. Start by choosing the “Columns” block. Assuming you want four equal columns, choose the three equal columns variation. It’s the 33 / 33 / 33 one.

How To Get WordPress User Display Name

There are times when you want to personalise a user’s experience, perhaps in a membership site or in a marketplace style site. In those cases, it’s handy to be able to display a users name. You probably don’t want to display the actual usernames, especially when WordPress provides a way for people to customize how

How To Close Down A WordPress Website

There comes a point in every business, when it’s time to close down. I closed down a business website for a client today and figured I’d walk through how I did it, for people who’ve not done it before. It’s not as simple as just deleting the website and walking away. You want to leave

How To Fix "Another Update Is Currently In Progress" WordPress Error

From time to time, when I’m updating WordPress, I get hit with the error message “Another update is currently in progress”. This is caused by a line (possibly two) in the database that is supposed to stop clashing updates, but sometimes gets stuck. You could leave the site alone for 15 minutes and it will

How To Add Dynamic Pricing To Gravity Forms With Stripe

I often use a Gravity Form connected to Stripe to take payment for things like web design jobs. The problem is that the pricing on the form is static by default. I need the same information from every web design client, but the price will change based on the size or scope of the job.

How To Stop WordPress Partial Match Redirection

We had an unusual situation where we deleted a page and wanted to serve a 404 error page in its place. Instead, anyone who went to that URL was redirected to another page on the site. That hadn’t happened with any other URLs. Then it happened with another page we deleted. There were no redirect

How To Clean Up WordPress Head Code

WordPress does a lot of things for us automatically. However, because it tries to be all things to all people, there are a few bits of code in the header that I always take out. Reducing the code can speed up the site and make it easier for a developer to see what’s actually important