mobile menu trigger, icon

Category: WordPress

Up to March 10, 2022, WordPress is the widest category in this blog. I could include this topic within the “Web Development.” But depending on the volume of posts, I decided to give it a standalone room to breathe.

To be more specific, many of the posts require programming knowledge. Also, there are some WordPress posts that are beginner-friendly and I wrote them as supplementary to another complex post.

Here is a couple of them:

How to Remove “Website Field” From the Comments
How to Add Page-Slug to Body Class?
What to Do When You’re Unable to Reset Password
How to Display Related Posts (Without Plugin)
How to Add Pagination to Theme?
Remove random string (WordPress v= in URL)


How to Edit Footer Credit in Extra Theme?

Extra theme default footer credit

The Extra theme does not allow you to edit the footer credit via the customizer. But you can edit the Extra theme footer credit in a few different ways. Let me show you the easiest way to edit the footer credit. Code explanation If you inspect the element for the footer credit text, you’ll see an HTML markup like this: If you look at the above code, you’ll see that it has a CSS ID of “footer-info” in the P-Tag. So, I am targeting the entire P-Tag with the CSS ID and replacing the content using the jQuery html() method. […]

Read More →

How to Fix Briefly Unavailable for Scheduled Maintenance [WordPress]

Briefly unavailable for scheduled maintenance

Briefly unavailable for scheduled maintenance occurs when WordPress fails to complete the update of a certain theme, plugin, or the version of WordPress itself. In the update process, WordPress enables the maintenance mood, and it disappears once the update is complete. But if you see that your website is under the maintenance mood for a long time than expected, then you have to disable the scheduled maintenance manually. Otherwise, no action is required and the scheduled maintenance will disappear automatically. You can think of a long time if it’s more than 5 minutes or so. To deactivate the scheduled maintenance, […]

Read More →

Fatal error: Maximum execution time of 30 seconds exceeded -How to fix

Fatal error: Maximum execution time of 30 seconds exceeded

You’ll see this fatal error of “Maximum execution time of 30 seconds exceeded in….” when you try to update your WordPress theme, plugin, or WordPress itself. This error generally occurs in Localhost. However, 30 seconds is enough to execute any good script but in your localhost (XAMPP/WAMP/MAMP/etc) it may take more than 30 seconds. The problem can also happen on live websites as well. And sometimes you may have issues uploading photos and other files to the WordPress media library. Also, page builders like Divi, Elementor, etc need a minimum PHP max_execution_time such as 120. And if your site does […]

Read More →

How to Add Page-Slug to WordPress Body Class?

Add page slug to body

Sometimes you may need to add specific class names to the HTML body tag. WordPress has a “body_class” function that outputs the class names to the body element. In this post, I will show you different use cases of the ‘body_class’ and you’ll know the following: How to add page slug to the body class Go to your WordPress theme folder and open the “functions.php” file. Copy and paste the following code, and save the file. Go to your website & open any page, and now you’ll see the page slug to the HTML body tag. For example- if you […]

Read More →

How to Disable Pingbacks on WordPress Comments

Frustrations

Navigate to “Settings » Discussion” and look for the first section “Default post settings.” Once you find that, uncheck the first option “Attempt to notify any blogs linked to from the post.” And “Save Changes.” It will disable/stop all the pingbacks on your WordPress website/blog posts. Pingbacks are the internal (also external) linking notification that shows in your “Comments” section/menu on the WordPress dashboard. It tells you that one of your blog posts has been linked with another. Pingbacks are not a bad thing but it’s annoying. Because every time you make an internal link, WordPress will notify you both […]

Read More →

How to take down a website?

Take down website professionally

Sometimes you may need to delete your website. But there is a safe & professional way to do it. You can remove the website with a few clicks but it’s not the end. The search engines will still show your web pages on the internet. Also, there are other people who may buy your domain and may create a different website on it. As a result, your audience might be confused and even victims. So what to do when you don’t need a website? Let’s see how to handle this situation safely & professionally. How to take down a website […]

Read More →

How to Add an Age Verification Page in WordPress (for Free)

Age verification page

Do you want your visitors to verify their age before entering the website? In this post, I will show you the easiest way to add an age verification page to your WordPress website. There are lots of free and premium plugins for age verifications. In this post, I will show you the best & free plugin for age verification. Age Gate is one of the best plugins for restricting your website content based on age. I tested multiple plugins before writing this post. Let’s see how it works. Once you install & activate the plugin, you’ll get an extra menu/option […]

Read More →

How to Display Author Bio in WordPress Single Post (Without Plugin)

Author Bio

Do you want to display the author’s biography in every single post? In this post, I will show you how to display the author bio in every single post. The biography section will contain the photo of the author, his/her name, description, and profile link. See the top image as a reference. Navigate to your WordPress theme, and open the ‘single.php’ and paste the following code where you want to display the post author’s biography. Don’t worry, I will explain the code later: Once you save the file, you’ll see the post author’s biography. As I said earlier, it will […]

Read More →

How to Display All Authors on Your WordPress Website (without plugin)

List of authors with profile picture, name and link

Do you want to display all the authors on your WordPress website? In this post, I will show you how to display the list of authors on your website. Also, I will show you two types of author lists. The first layout will contain authors’ profile pictures, names, and profile links. And the second layout will contain the name (clickable) of the authors with post count. Let’s get started. Display all authors with profile photo, name & URL: First of all, I will give you the code and then explain. Copy & paste the following code where you want to […]

Read More →

What to do when you’re unable to reset your password (WordPress)?

computational thought

Due to an SMTP issue, your WordPress website may not send password reset emails or even it may stop sending any emails. At this moment, you won’t be able to fix the issue because you have to log in to the admin dashboard. Anyways, if you forgot your username & password, and if you do not receive the password reset email, this post will walk you through the process to gain full access to your website. In some cases, people complain that their password is not working and WordPress does not send any password reset links. This could be an […]

Read More →