55+ Most Wanted WordPress Tips, Tricks, and Hacks

Ever wondered what WordPress tips, tricks, and hacks most popular WordPress sites are using?

There are so many ways to customize your WordPress website and use it more efficiently. However, it takes months for new users to discover the most useful tips and tricks.

In this article, we will share some of the most wanted WordPress tips, tricks, and hacks that will help you use WordPress like a pro.

WordPress tips, tricks, and hacks

Here is a list of all the tips, tricks, and hacks mentioned in this article. Feel free to jump to the one that catches your interest.

  1. Use a Custom Homepage
  2. Install Google Analytics in WordPress
  3. Password Protect WordPress Admin Directory
  4. Show Images in Rows and Columns
  5. Allow users to Subscribe to Comments
  6. Limit Login Attempts
  7. Display Excerpt (Post Summary) on Home and Archive Pages
  8. Add Custom Default Gravatar Image
  9. Adding custom CSS to a WordPress Theme
  10. Using Inspect Element Tool to Customize WordPress
  11. Add a Facebook Thumbnail Image
  12. Add Featured Image or Post Thumbnail to RSS Feed
  13. Show Excerpts in RSS Feed
  14. Use Shortcodes inside Text Widgets
  15. Fix WordPress Email Deliverability
  16. Add Content to Articles in RSS Feeds
  17. Delay Posts in RSS Feeds
  18. Display Social Media Feeds on Your Site
  19. Add Image Icons to Links Navigation Menu
  20. Open Navigation Menu Link in New Window
  21. Add Full-Screen Search Overlay in WordPress
  22. Add a Sticky Floating Navigation Menu
  23. Add multiple authors to a WordPress post
  24. Add Categories to WordPress Pages
  25. Create a Local WordPress Site on Your Computer
  26. Display Total Number of Comments in WordPress
  27. Show Total Number of Registered Users in WordPress
  28. Create New Image Sizes in WordPress
  29. Easily Set up Redirects in WordPress
  30. Convert Categories to Tags or Vice versa
  31. Bulk Move Posts Between Categories and Tags
  32. Display Last Updated Date of Your Posts
  33. How to Display Relative Dates in WordPress
  34. Remove WordPress Version Number
  35. Update WordPress URLs when Not Able to Access WP-Admin
  36. Deactivate All Plugins when not able to access WP-admin
  37. Make a Custom 404 Error Page
  38. Include Category in Post URLs
  39. Display Random Posts in WordPress
  40. Allow User Registration on Your WordPress Site
  41. Create a Custom User Registration Form in WordPress
  42. Exclude Specific Categories from RSS Feed
  43. Change Excerpt Length in WordPress
  44. Display Dynamic Copyright Date in WordPres
  45. How to Change a User Name in WordPress
  46. Allow Users to Like or Dislike Comments
  47. Duplicate a WordPress Post or Page
  48. Allow Users to Submit Posts to Your WordPress Site
  49. Turn Off Comment Notification Emails in WordPress
  50. Change Sender Name in Outgoing WordPress Emails
  51. Changing the Author of a WordPress Post
  52. Rearrange Post Edit Screen in WordPress
  53. Change Number of Posts Shown on Blog Pages
  54. Automatically Close Comments on Old Articles
  55. Split Long Posts into Pages

1. Use a Custom Homepage

By default, WordPress shows your latest posts on the homepage of your website. You can change that and use any page as your site’s homepage.

First, you need to create a new page in WordPress, and you can name this page Home.

Next, you will need to create another page, and let’s call this page Blog as you will use it to display your blog posts.

Now go to Settings » Reading page in your WordPress admin and under ‘Front page displays’ option and switch to ‘A static page’.

After that, you can select the pages you just created as your home and blog pages.

Static Frontpage

You can also create a custom template for your home page.

1. Create Custom Template in Site Editor

If you use a newer block theme on your WordPress site, you can create a custom template for your home page using the site editor.

Simply go to the Appearance » Editor page and click on the Add New button at the top of the template chooser screen.

Creating a new template in Site Editor

From the fly-down menu, you can choose what type of template you want to create. You can choose Front Page which will automatically include header and other settings, or you can choose a Custom Template to start from scratch.

If you choose a custom template, then you will be asked to give your template a name. After that, Site Editor will open it for editing.

Edit template

You can design your custom template in the block editor. Once you are finished don’t forget to save your changes.

You can now edit the Home page you created earlier. On the page edit screen, click on the Template option under the Summary box in page settings panel.

Choose custom template

Select your custom homepage template from here.

You can continue editing the page or save and publish your changes to see your custom home page design in action.

2. Create a Custom Template Manually

You can use this method if you are using an older theme or want to write the code manually.

Simply create a new file on your computer using a plain text editor and add this code at the top of it.

<?php /* Template Name: Custom Homepage */ ?>

Save this file as custom-homepage.php on your desktop.

Next, you need to connect to your website using an FTP client and go to /wp-content/themes/your-current-theme/ folder. Now upload the file you created earlier to your theme folder.

Return to the WordPress admin area and edit your home page.

You will be able to select your custom homepage template under the Summary metabox in the post settings column on the right.

Choose custom template

For more details, see our guide on how to create a custom page template in WordPress.

Now this page will be completely empty, and it will not show anything at all. You can use custom HTML/CSS and WordPress template tags to build your own page layout. You can also use a page builder plugin to easily create one using drag-and-drop tools.

2. Install Google Analytics in WordPress

Google Analytics is one of the must have tools for WordPress site owners. It allows you to see where your users are coming from and what they are doing on your website.

The best way to install Google Analytics is by using the MonsterInsights plugin. It is the best Google Analytics plugin for WordPress and shows beautiful reports right inside your WordPress admin area.

Simply install and activate the MonsterInsights plugin. For more details, see our tutorial on how to install a WordPress plugin.

Upon activation, the plugin will walk you through the set up. Simply follow the on-screen instructions to finish the setup.

MonsterInsights

For detailed instructions see our step-by-step guide on how to install Google Analytics in WordPress.

3. Password Protect WordPress Admin Directory

The WordPress admin directory is where you perform all administrative tasks on your website. It is already password-protected as users are required to enter a username and password before they can access the admin area.

However, by adding another layer of authentication, you can make it difficult for hackers to gain access to your WordPress site.

Here is how to enable password protection for your WordPress admin directory.

Login to your WordPress hosting account control panel. Next, click on the ‘Directory Privacy’ option under the Files section of your website’s Advanced settings.

Directory Privacy

Note: Most web hosts using cPanel, like Bluehost, will have similar steps. However, your dashboard might be slightly different from our screenshots, depending on your hosting provider.

Next, you will be asked to select the directories you want to protect.

Navigate to your WordPress website’s root folder and click on the Edit button next to the wp-admin folder.

Select admin folder

On the next screen, simply check the box that says ‘Password protect this directory’.

If you like, you can also give your directory a name like ‘Admin Area’ to help you remember.

Enable password protection

After that, click on the Save button to store your settings.

This will take you to a page where the confirmation message will appear. Click on the Go Back button to continue.

Success message and Go back

On the next screen, you will be asked to enter a username and password, and then confirm the password.

Make sure to note your username and password in a safe place, such as a password manager app.

Create user name and password

Make sure you click the ‘Save’ button when you’ve done that.

Now, when someone tries to access your /wp-admin directory, they will be prompted to enter the username and password you created above.

Protected directory

For alternate methods and more detailed instructions see our guide on how to password-protect your WordPress admin directory.

4. Show Images in Rows and Columns

Showing photos in rows and columns

By default, when you add multiple images to a WordPress post, they would appear right next to each other or on top of each other.

This does not look very good because your users will have to scroll a lot to see all of them.

This can be solved by displaying images in a grid layout. You can use the Gallery block to display images in a grid of rows and columns.

You can also use the columns block to display image side by side. If you want to display an image next to the text, then you can try Text and Media block.

For more details, see our guide on how to add an image gallery in WordPress.

5. Allow users to Subscribe to Comments

Subscribe to comments

Normally when users leave a comment on your website, they will have to manually visit the same article again to see if you or other users replied to comments.

Wouldn’t it be better if users were able to get email notifications about new comments on your posts? Here is how to add this feature to your website.

Simply install and activate the Subscribe to Comments Reloaded plugin. Upon activation, you need to visit Settings » Subscribe to Comments to configure the plugin settings.

For detailed instructions see our guide on how to allow users to subscribe to comments in WordPress.

6. Limit Login Attempts

Limit login attempts

By default, a WordPress user can make an unlimited number of attempts to log in to a WordPress site. This allows anyone to try guessing your password until they get it right.

To control this, you need to install and activate the Login LockDown plugin. It allows you to set limits on the number of failed attempts a user can make to login.

For detailed setup instructions see our guide on how to limit login attempts in WordPress.

7. Display Excerpt (Post Summary) on Home and Archive Pages

Excerpts post summaries

You may have noticed that all popular blogs show article summaries instead of full articles on their home and archive pages. It makes those pages load faster, increases page views, and avoids duplicate content across your website.

For more on this topic, see our article on excerpt (summary) vs full posts in WordPress archive pages.

Many premium and free WordPress themes already use excerpts on home and archive pages. However, if your theme doesn’t display excerpts, then see our guide on how to display post excerpts in WordPress themes.

8. Add Custom Default Gravatar Image

WordPress uses Gravatar to display user profile photos in WordPress. If a user does not have a gravatar, then WordPress uses a default image which is called ‘Mystery Person.’

This default gravatar image will appear many times in your WordPress comments area simply because a lot of users do not have a gravatar image associated with their email address.

You can easily replace this default gravatar with your own custom default gravatar image.

First, you will need to upload the image you want to use as your default gravatar image to your WordPress media library.

Go to Media » Add New page to upload the image. After uploading it, click on the Copy URL to Clipboard button.

Upload custom gravatar

Paste the URL you copied in a text file on your computer, you will need it in the next step.

Now you need to add the following custom code to your website. We suggest using the free WPCode plugin.

add_filter( 'avatar_defaults', 'wpb_new_gravatar' );
function wpb_new_gravatar ($avatar_defaults) {
$myavatar = 'http://example.com/wp-content/uploads/2017/01/wpb-default-gravatar.png';
$avatar_defaults[$myavatar] = "Default Gravatar";
return $avatar_defaults;
}

Don’t forget to replace $myavatar value with the URL of the custom gravatar image you uploaded earlier.

You can now visit the Settings » Discussion page, and you will notice your custom default avatar added to the default avatar choices.

For detailed instructions check out our tutorial on how to add and change the default gravatar in WordPress.

9. Adding custom CSS to a WordPress Theme

As a WordPress site owner, sometimes you may need to add custom CSS to your site. There are multiple ways to add custom CSS in WordPress. We’ll show you two methods.

1. Add Custom CSS using WPCode (Recommended)

Normally, you can add Custom CSS code in your theme settings. However, your custom CSS will disappear when you change the theme.

What if you wanted to reuse that CSS on this or some other website?

You can solve this by adding your Custom CSS by using the WPCode plugin. It is the best custom code plugin for WordPress and allows you to easily insert custom code and CSS anywhere on your website.

Plus, you can organize your code snippets by giving them names or save them to the cloud library and reuse them on other websites.

First, you need to install and activate the WPCode plugin.

Note: There is also a WPCode free version that you can try. We recommend upgrading to the paid version to unlock more features.

Upon activation, go to Code Snippets » + Add Snippet page and click on the Use Snippet button under ‘Add Your Custom Code (New Snippet)’ label.

Add custom CSS snippet

On the next screen, provide a title for your custom CSS snippet and then under the Code Type select CSS Snippet.

After that, you can add your custom CSS code in the Code Preview box.

Adding a custom CSS snippet

Scroll down to the Insertion section, from here you can choose where you want to add this custom CSS snippet.

If you want to add it site-wide then you can select Site Wide Header. Once you are finished, don’t forget to click on the Save Snippet button and flick the toggle from Inactive to Active.

Activate snippet

WPCode will now save your Custom CSS and add it to your website according to your settings.

2. Add Custom CSS in Theme Customizer

The easiest way to add custom CSS to any WordPress theme is by visiting the Appearance » Customize page in your WordPress admin.

If you cannot see the Customize menu under Appearance, then you can manually visit the Theme Customizer by adding the following URL in your browser’s address bar.

http://yourwebsite.com/wp-admin/customize.php

This will launch the WordPress theme customizer, and you will see your website’s preview in the right panel.

Now click on the ‘Additional CSS’ menu in the left panel to expand it.

Additional CSS

You will see a plain text box where you can add your custom CSS.

As soon as you add a valid CSS rule, you can see it applied on your website’s live preview pane.

Add custom CSS

Don’t forget to click on the ‘Save & Publish’ button on the top when you are finished.

For alternate methods and more detailed instructions, check out our beginner’s guide on how to add custom CSS in WordPress.

Note: Some themes, such as Divi from Elegant Themes, also have a spot in the theme options to include Custom CSS. Many of these mirror the Additional CSS section of the Theme Customizer, but we highly recommend choosing only one spot to keep CSS code on your website, whether it’s in WPCode, theme options, or the customizer.

10. Using Inspect Element Tool to Customize WordPress

Adding custom CSS sounds great, but how do you know which CSS classes to edit? How do you debug it without actually having to write CSS?

Using Inspect Element tool, you can edit HTML, CSS, or JavaScript code for any webpage and see your changes live (only on your computer).

For a DIY website owner, these tools can help you preview how a site design would look without actually making the changes for everyone.

Simply point and right-click on any element on a page, then select ‘Inspect’ from your browser’s menu.

Inspect tool

This will split your browser window, allowing you to see the HTML and CSS source code of the page.

You can move your mouse around the code to see the relevant area highlighted in the live preview.

Inspect HTML and CSS

Any changes you make here will be immediately visible on the page above. However, keep in mind that these changes are only happening in your browser and you are not actually editing the page.

This allows you to figure out what you need to edit and how. After that, you can go ahead and change your actual theme files or custom CSS code.

For more on this topic, see our article on the basics of Inspect element and customizing WordPress as a DIY user.

11. Add a Facebook Thumbnail Image

Facebook can automatically pick up an image from your articles when they are shared by you or anyone else. Usually, it picks the featured image of an article. However, sometimes it may pick a random image from the article that may not be suitable.

If you are using All in One SEO plugin, then you can select a Facebook thumbnail image in All in One SEO Settings box on the post edit screen, under the Social tab.

Facebook image in AIOSEO

You can also select a default Facebook thumbnail image by visiting the All in One SEO » Social Networks page.

You can upload a custom image or select an image from the media library.

Default Facebook page

If you scroll further down this settings page, you’ll be able to choose a thumbnail for your homepage as well.

You can see our guide on how to fix the Facebook incorrect thumbnail issue in WordPress for more details.

12. Add Featured Image or Post Thumbnail to RSS Feed

WordPress RSS feeds show a list of your most recent articles. If you show full articles in the feed, all images inside will be displayed. However, it does not include the featured image or post thumbnail in the article.

To fix this, you can add the following code to your theme’s functions.php file or by using WPCode, which is a safer method and can prevent your site from breaking with minor errors.

function rss_post_thumbnail($content) {
global $post;
if(has_post_thumbnail($post->ID)) {
$content = '<p>' . get_the_post_thumbnail($post->ID) .
'</p>' . get_the_content();
}
return $content;
}
add_filter('the_excerpt_rss', 'rss_post_thumbnail');
add_filter('the_content_feed', 'rss_post_thumbnail');

For more information, see our tutorial on how to add post thumbnails to RSS feeds in WordPress.

13. Show Excerpts in RSS Feed

By default, WordPress shows your full article in the RSS feed. This allows content scrapers to automatically fetch and steal your full articles. It also prevents your RSS feed subscribers from visiting your website.

To fix this, head over to Settings » Reading page and scroll down to ‘For each article in a feed, show’ option. Select summary and then click on the save changes button.

Excerpt RSS feed

14. Add a Click to Call to Button in WordPress

As mobile users make up the bulk of users for most businesses, sometimes a quicker way to contact can help you acquire new customers.

While you must have a contact form on your website, adding a quick button to make an instant call can be much faster for users.

The easiest way to add a click-to-call button is by using the WP Call Button plugin. This free plugin allows you to simply add your business phone number and show a call button on your website.

WP Call Button settings

You can choose the button position, color, and where to show it on your website.

If you don’t want to show the button sitewide, then you can show it on select posts and pages, or turn it on for mobile users only.

WP Call Button display settings

Lastly, if you want to strategically place the call button inside your content as a call to action, then you can easily do so with a block or by using the shortcode.

For more details, take a look at our tutorial on how to easily add a click-to-call button in WordPress.

15. Fix WordPress Email Deliverability

By default, WordPress uses the PHP mail() function to send emails. Many WordPress hosting companies block or limit this function to prevent abuse.

This means you and your users may not be able to receive email notifications from your WordPress site. Some of these notifications are crucial such as lost password emails, new user registration emails, and more.

To fix this, you need to install and activate the WP Mail SMTP plugin. It is the best WordPress SMTP plugin on the market and allows you to send your WordPress emails using the proper SMTP protocol.

WP Mail SMTP settings

Note: There is also a free version called WP Mail SMTP Lite that you can use. We recommend upgrading to Pro to unlock more features.

For detailed instructions, see our tutorial on how to setup WP Mail SMTP with any host.

16. Add Content to Articles in RSS Feeds

Want to manipulate your WordPress RSS feeds by adding content to your articles visible only to your RSS feed subscribers?

The easiest way to do this is by using All in One SEO for WordPress plugin. It comes with an RSS Content feature that allows you to add content to articles in your RSS feed easily.

First, install and activate the All in One SEO for WordPress plugin. After that, go to All in One SEO » General Settings and switch to the RSS Content tab.

RSS before and after content

From here, you can add custom content to display before or after each item in your RSS feed.

Alternate Method:

This method requires you to add code to your website, you can use this method if you are not using All in One SEO for WordPress.

Simply add the following custom code snippet to your website using the WPCode plugin (recommended) or your theme’s functions.php file.

function wpbeginner_postrss($content) {
if(is_feed()){
$content = 'This post was written by Syed Balkhi '.$content.'Check out WPBeginner';
}
return $content;
}
add_filter('the_excerpt_rss', 'wpbeginner_postrss');
add_filter('the_content', 'wpbeginner_postrss');

This code shows the text ‘This post was written by Syed Balkhi’ before an article and ‘Check out WPBeginner’ after the article content.

For more ways to manipulate RSS feed content, see our guide on how to add content to your WordPress RSS feeds.

17. Delay Posts in RSS Feeds

Have you ever published an article accidentally before it was ready to go live? We have all been there. You can easily just unpublish the article and continue editing it.

However, RSS feed readers and email subscribers may already get it in their inboxes. There is an easy fix to avoid this -delaying posts from appearing in your RSS feed.

Add the following custom code snippet using the WPCode plugin (recommended) or your theme’s functions.php file.

function publish_later_on_feed($where) {
 
    global $wpdb;
 
    if ( is_feed() ) {
        // timestamp in WP-format
        $now = gmdate('Y-m-d H:i:s');
 
        // value for wait; + device
        $wait = '10'; // integer
 
        // http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_timestampdiff
        $device = 'MINUTE'; //MINUTE, HOUR, DAY, WEEK, MONTH, YEAR
 
        // add SQL-sytax to default $where
        $where .= " AND TIMESTAMPDIFF($device, $wpdb->posts.post_date_gmt, '$now') > $wait ";
    }
    return $where;
}
 
add_filter('posts_where', 'publish_later_on_feed');

This code delays your published posts from appearing in the RSS feed for 10 minutes.

For more details, see our article on how to delay posts from appearing in the WordPress RSS feed.

18. Display Social Media Feeds on Your Site

Recent marketing statistics research shows that an average user spends around 2 hours and 29 minutes on social media.

This presents a huge opportunity for you to grow your social media following and bring them back to your website.

The easiest way to build social media following is to promote your social profiles on your website.

To do that, you will need Smash Balloon. It is the best WordPress social media plugin suite on the market and allows you to beautifully promote your social media feeds on your website.

Social media feed

Smash Balloon makes it easy to embed Facebook posts, Tweets, Instagram photos, YouTube videos, combined feeds in a social wall, and more.

For detailed instructions, see our tutorial on how to add social media feeds in WordPress.

Display icons in navigation menus

Do you want to display image icons next to links in your navigation menu? The easiest solution is to use the Menu Image plugin.

After installing the plugin, simply head over to Appearance » Menu, and you will see the option to add images with each item in your existing menu.

Menu image

Note: The plugin does not work with Block themes and with the full-site editor.

If, for some reason, you don’t want to use a plugin and would instead do it manually, you can.

First, you need to create the images that you want to use as icons and upload them to your WordPress media library. After that, copy their URLs so that you can use them later.

Adding Navigation Menu Icons in Site Editor

If you are using a block theme then this method is for you. Simply launch the Site Editor by visiting the Appearance » Editor page.

Click on your navigation menu to edit it and then click on a link item in your menu. In the block settings, click on the Advanced tab to expand it and then add a custom CSS class.

Add custom CSS class

After that, click on the Style icon at the top, this will open the Style Editor.

Click on the three-dot menu in the panel and then select Additional CSS.

Opening additional CSS in site editor

Next, you need to add the following custom CSS to your theme.

.shop { 
background-image:url('https://example.com/wp-content/uploads/2023/06/cart-icon.png');
background-position:left;
background-repeat:no-repeat;
padding-left:30px!important;
} 

Don’t forget to replace the background-image URL with your own image icon and adjust the padding to your own requirements.

Adding Navigation Menu Icons in Classic Themes

First, you need to visit the Appearance » Menus page and then click on the Screen Options button at the top right corner of the screen.

Adding CSS classes to a WordPress navigation menu

This will bring down a menu where you need to check the box next to CSS classes option.

After that scroll down to your navigation menu and click on an item to expand it. You will see an option to add CSS classes. Enter a different CSS class for each menu item.

CSS class menu item

Don’t forget to click on the save menu button to store your changes.

Next, you need to upload the image icons to your WordPress site by visiting Media » Add Media page. After uploading the image files copy their URLs as you will need them in the next step.

Now you can add an image icon to your navigation menu by adding custom CSS. Here is a sample CSS that you can use as a starting point.

.homepage {
background-image: url('https://www.example.com/wp-content/uploads/2014/12/home.png');
background-repeat: no-repeat;
background-position: left;
padding-left: 5px;
}

Don’t forget to replace the image URL with your own image file URL.

Sometimes you may need to make a navigation menu link open in a new window. However, you may not be able to notice the option to do that when adding links.

Opening Navigation Menu Link in New Window in Site Editor

If you are using a block theme on your website, then this method is for you.

Simply go to Appearance » Editor to launch the site editor. After that, click on the link you want to open in a new window.

Edit nav menu link in site editor

In the block toolbar click on the Link button to edit that link.

This will reveal link settings. From here click to slide the toggle next to the ‘Open in new tab’ option.

Open in new tab site editor

Opening Navigation Menu Link in New Window in Classic Themes

Actually, the option is hidden to remove clutter from the screen.

You will need to click on the screen options button at the top right corner of the screen and check the ‘link target’ option.

Link target

Next, you need to scroll down to the menu item that you want to open in a new window.

Click on the menu item to expand it, and you will see the option to open the link in a new tab.

Open link in new tab

Don’t forget to click on the save menu button to store your changes.

21. Add Full-Screen Search Overlay in WordPress

Full screen search

If you click on the search icon at the top right corner of any page on WPBeginner, then you will notice a full-screen search overlay appear. It improves the search experience and makes it more engaging.

You can add this to your WordPress site as well. The easiest way to do this is by installing and activating the WordPress Full Screen Search Overlay plugin.

The plugin works out of the box and there are no settings for you to configure.

Upon activation, it turns any default WordPress search form field into a full-screen search overlay.

For more details, see our guide on how to add a full-screen search overlay in WordPress.

Bonus Tip: Just adding the fullscreen search overlay wouldn’t affect the quality of search results. The default WordPress search is not effective at all.

You can immediately upgrade the quality of search results on your WordPress site by installing the SearchWP plugin. It is the best WordPress search plugin on the market that allows you to add your own search engine to WordPress.

SearchWP website

The best part is that it works seamlessly and will automatically replace the default WordPress search feature.

For details, see our article on how to improve WordPress search with SearchWP.

22. Add a Sticky Floating Navigation Menu

A sticky floating navigation menu stays on top of the screen as a user scrolls down. Some WordPress themes have this feature as an option in their settings. If your theme doesn’t have this option, then you can try this method.

First, you need to install and activate the Sticky Menu (or Anything!) on Scroll plugin.

Upon activation, go to the plugin’s settings page located under Settings » Sticky Menu (or Anything!). Add the CSS class of your navigation menu and save changes.

For detailed instructions, see our tutorial on how to create a sticky floating navigation menu in WordPress.

23. Add Multiple Authors to a WordPress Post

Do you want to credit multiple authors for an article on your website? By default, WordPress posts are assigned to a single author. However, if you often need to credit multiple authors, then there is an easier way to do this.

You will need to install and activate the Co-Authors Plus plugin.

After that, go to Users » All Users page and click on the ‘Create Author Profile’ link below a user that you want to add as co-author.

Create author profile

On the next screen, you can set up the user’s profile as an author on your website. The plugin even allows you to upload a custom author image.

Once finished, don’t forget to click on the Update button to save your changes.

Edit author profile

Now go ahead and edit the post or page where you want to credit multiple authors.

On the post edit screen, you will notice the new ‘Authors’ tab under the post settings panel.

Add multiple authors

24. Add Categories to WordPress Pages

Want to add categories and tags to pages in WordPress? By default, they are only available for posts. Mainly, because pages are supposed to be static standalone content (see difference between posts and pages in WordPress).

If you want to add categories and tags, then simply add the following custom code snippet using the WPCode plugin or your theme’s functions.php file.

// add tag and category support to pages
function tags_categories_support_all() {
  register_taxonomy_for_object_type('post_tag', 'page');
  register_taxonomy_for_object_type('category', 'page');
}
 
// ensure all tags and categories are included in queries
function tags_categories_support_query($wp_query) {
  if ($wp_query->get('tag')) $wp_query->set('post_type', 'any');
  if ($wp_query->get('category_name')) $wp_query->set('post_type', 'any');
}
 
// tag and category hooks
add_action('init', 'tags_categories_support_all');
add_action('pre_get_posts', 'tags_categories_support_query');

25. Create a Local WordPress Site on Your Computer

Many WordPress site owners and developers install WordPress on their computers. Doing so will allow you to develop a WordPress site locally, try plugins and themes, and learn WordPress basics.

We have created detailed step-by-step instructions on how to install WordPress on your Windows computer or on Mac.

26. Display Total Number of Comments in WordPress

Comments provide an easier way for users to engage with content on your website. Showing the total number of comments can be used as social proof and encourage more users to participate in discussions.

The easiest way to do this is by installing the Simple Blog Stats plugin. Upon activation, you can add [sbs_apoproved] shortcode to any post or page to display the total number of comments.

Display total number of comments in WordPress

For a code method and more instructions, see our article on how to display total number of comments in WordPress.

27. Show Total Number of Registered Users in WordPress

Total number of users

If you allow users to register on your WordPress site, then showing the total number of registered users can encourage more users to signup.

The easiest way to do this is by installing the Simple Blog Stats plugin. Upon activation, you can add [sbs_users] shortcode to any post or page to display total number of registered users.

For more detailed instructions, see our tutorial on how to show total number of registered users in WordPress.

28. Create New Image Sizes in WordPress

When you upload an image to your blog, WordPress automatically creates several copies of the image. Your WordPress theme and plugins can also add new image sizes.

To create new image sizes in WordPress, you need to add the following custom code snippet using the WPCode plugin or your theme’s functions.php file.

add_image_size( 'sidebar-thumb', 120, 120, true ); // Hard Crop Mode
add_image_size( 'homepage-thumb', 220, 180 ); // Soft Crop Mode
add_image_size( 'singlepost-thumb', 590, 9999 ); // Unlimited Height Mode

This code adds three new image sizes. Don’t forget to change image size names and dimensions to your own requirements.

For more information, see our tutorial on how to create new image sizes in WordPress.

29. Easily Set up Redirects in WordPress

If you have been working on your website for some time now, then you may occasionally want to change URLs or merge content.

However, this could create a 404 error on the older content if you delete it. There are also SEO concerns, such as how do you tell search engines that this content has moved to a new location?

This is where 301 redirects come in. This allows you to automatically redirect visitors to new posts while telling search engines that the content has moved to this new location.

There are many ways to set up redirects, but the easiest and safest way to do this is by using All in One SEO for WordPress.

All in One SEO for WordPress comes with a redirects manager that helps you easily set up all types of redirects on your WordPress site.

First, you need to install and activate the All in One SEO for WordPress plugin.

Note: You’ll need at least PRO plan of the plugin to unlock the Redirection manager.

Upon activation, you need to visit All in One SEO » Redirects page. Add your old article URL under the Source URL and your new location under the Target URL fields.

Setup redirects in AIOSEO

Choose 301 Moved Permanently under the Redirect Type and click on the Add Redirect button to save your settings.

For more details, see our tutorial on how to create 301 redirects in WordPress.

30. Convert Categories to Tags or Vice Versa

Often folks are not clear about how to properly use categories and tags in WordPress. Sometimes you may end up creating categories that should have been tags or vice versa.

It is easily fixable.

Head over to Tools » Import page and then install Categories and Tags Converter.

Convert category to tags

After installation, click on the run importer link to continue.

On the converter page, you can switch between categories to tags or tags to categories converter. Next, select the items you want to convert and then click on the convert button.

Convert categories and tags

31. Bulk Move Posts Between Categories and Tags

Sometimes you may want to bulk-move posts between categories and tags. Doing that one by one for each post can be time-consuming.

Actually, there is a plugin for that. Simply install and activate the Bulk Move plugin. Upon activation, you need to go to Tools » Bulk Move to move your posts.

Bulk move posts to categories

For more detailed instructions, visit our tutorial on how to bulk-move posts to categories and tags in WordPress.

32. Display Last Updated Date of Your Posts

Last updated date

By default, most WordPress themes will show the date when an article was published. This is fine and would work for most websites and blogs.

However, if you regularly update your old content, then you may want to show your users when an article was last updated. Otherwise, you users wouldn’t notice that the article contains current information.

This can be achieved by adding the following code to add the following custom code snippet using the WPCode plugin or your theme’s functions.php file.

function wpb_last_updated_date( $content ) {
$u_time = get_the_time('U');
$u_modified_time = get_the_modified_time('U');
if ($u_modified_time >= $u_time + 86400) {
$updated_date = get_the_modified_time('F jS, Y');
$updated_time = get_the_modified_time('h:i a');
$custom_content .= '<p class="last-updated">Last updated on '. $updated_date . ' at '. $updated_time .'</p>';
} 
 
    $custom_content .= $content;
    return $custom_content;
}
add_filter( 'the_content', 'wpb_last_updated_date' );

For more detailed instructions see our guide on how to display last updated date in WordPress.

33. How to Display Relative Dates in WordPress

Want to display relative dates like yesterday, 10 hours ago, or a week ago for your posts in WordPress? Relative dates give users a sense of how much time has passed since something was posted.

To add relative dates, you need to install and activate the Meks Time Ago plugin. Upon activation, you need to visit Settings » General page and scroll down to ‘Meks Time Ago Options’ section.

Meks time ago

You can select when to use time ago and how to display it. Don’t forget to click on the save changes button to store your settings.

For more details, see our guide on how to display relative dates in WordPress.

34. Remove WordPress Version Number

By default, WordPress adds the WordPress version to your website’s header. Some people think it’s a security liability. Our answer to this is simple: keep WordPress updated.

However, if you want to remove the WordPress version number, simply add the following custom code snippet using the WPCode plugin or your theme’s functions.php file.

function wpbeginner_remove_version() {
return '';
}
add_filter('the_generator', 'wpbeginner_remove_version');

For more information on this topic see our article on the right way to remove WordPress version number.

35. Update WordPress URLs when Not Able to Access WP-Admin

Update WordPress URLs

Sometimes when moving a WordPress site to new domain or due to a misconfiguration you may need to update WordPress URLs.

These URLs tell WordPress where to display your site and where WordPress core files are located. Incorrect settings can lock you out of WordPress admin area or redirect you to the old website.

The easiest way to update WordPress URLs is by adding the following custom code snippet using the WPCode plugin or your theme’s functions.php file.

update_option( 'siteurl', 'http://example.com' );
update_option( 'home', 'http://example.com' );

Don’t forget to replace example.com with your own domain name.

Once you access your WordPress site go to Settings » General page and update the URLs there. After that, you need to remove the code you added to the functions file.

If you also need to update URLs in your posts and pages, then see our guide on how to properly update URLs when moving your WordPress site.

36. Deactivate All Plugins When Not Able to Access WP-Admin

When troubleshooting WordPress errors, you will be often asked to deactivate all WordPress plugins. You can just go to Plugins in your dashboard and deactivate all plugins. But what if you are locked out of your WordPress site?

Here is how you can easily deactivate plugins when locked out of the admin area.

First, connect to your WordPress site using an FTP client and go to your /wp-content/ folder. Inside it, you will find the /plugins folder.

Rename plugins folder

Now you just need to rename the plugins folder to plugins.old and WordPress will automatically deactivate all plugins.

For alternate methods and more information see our guide on how to deactivate all plugins when not able to access wp-admin.

A 404 error occurs when users type in the wrong address or the address does not exist on your website.

By default, your WordPress theme will then use its 404 error template to display the error.

However, these pages are often quite useless and leave users clueless about what they should do next.

You can fix this by making your own custom 404 error page without writing any code. Doing so will allow you to point users to other useful content on your website.

First, you need to install and activate the SeedProd plugin. It is the best WordPress page builder on the market and allows you to easily create custom pages, landing pages, and even complete WordPress themes without writing code.

Upon activation, go to SeedProd » Landing pages and click on the Set up a 404 Page button.

Setup 404 page

Next, the plugin will ask you to choose a template for your 404 page.

SeedProd comes with a bunch of beautiful 404 page templates that you can use as a starting point.

Choose template

After that, you will enter the SeedProd page builder.

It is an intuitive design tool where you can simply drag and drop blocks and edit them with point and click.

Design your 404 page

You can add a search form, your most popular articles, top-selling products, or anything you want.

Once you are finished, simply click on the Save and Publish button at the top.

For more details, see our tutorial on how to improve 404 page in WordPress.

38. Include Category in Post URLs

You may have noticed that many WordPress sites use categories in their post URLs. This allows them to add more useful information into a URL which is good for user experience as well as SEO.

If you want to add a category name into your WordPress post URLs, then head over to Settings » Permalinks page. Click on the custom structure and add /%category%/%postname%/ in the field next to it.

Category in post URL

Don’t forget to click on the save changes button to store your settings.

To learn more about how WordPress will handle subcategories and multiple categories, see our guide on how to include categories and subcategories in WordPress URLs.

39. Display Random Posts in WordPress

Want to display random posts in your WordPress sidebar? Random posts give your users a chance to discover articles that they would otherwise never get to see.

First, you need to add the following custom code snippet using the WPCode plugin or your theme’s functions.php file.

function wpb_rand_posts() { 
  
$args = array(
    'post_type' => 'post',
    'orderby'   => 'rand',
    'posts_per_page' => 5,
    );
  
$the_query = new WP_Query( $args );
  
if ( $the_query->have_posts() ) {
  
$string .= '<ul>';
    while ( $the_query->have_posts() ) {
        $the_query->the_post();
        $string .= '<li><a href="'. get_permalink() .'">'. get_the_title() .'</a></li>';
    }
    $string .= '</ul>';
    /* Restore original Post Data */
    wp_reset_postdata();
} else {
  
$string .= 'no posts found';
}
  
return $string;
} 
  
add_shortcode('wpb-random-posts','wpb_rand_posts');
add_filter('widget_text', 'do_shortcode');

After that, you can use the [wpb-random-posts] shortcode in your posts, pages, or sidebar widgets to display random posts.

Add random posts shortcode

For an alternate method, see our guide on how to display random posts in WordPress.

40. Allow User Registration on Your WordPress Site

WordPress comes with a powerful user management system with different roles and capabilities. If you want to allow users to register on your site, here is how you would turn on that feature.

Head over to Settings » General page and click on the check box next to Membership option. Below that, you need to choose the default role that will be assigned to new users, if you are unsure, then use subscriber.

Anyone can register

For more details see our guide on how to allow user registration on your WordPress site.

41. Create a Custom User Registration Form in WordPress

When you open user registration on your site, users will be using the default WordPress registration form. You can replace it with a custom user registration form for an improved user experience.

First, you will need to install and activate the WPForms plugin. You will need at least the Pro plan to get access to the user registration addon.

Upon activation, go to WPForms » Addons page to install and activate the user registration addon.

After that, create a new form by visiting WPForms » Add New page. This will launch the WPForms builder, where you need to select the User Registration Form as your template.

User registration form template

After creating your form you need to click on the embed button to copy the embed code. Now you can add this code to any WordPress post or page to display your custom user registration form.

For more detailed instructions, see our guide on how to create a custom user registration form in WordPress.

42. Exclude Specific Categories from RSS Feed

Sometimes you may need to exclude specific categories from your WordPress RSS feed. Doing so will hide posts filed under those categories from appearing in your RSS feeds.

Simply add the following custom code snippet using the WPCode plugin or your theme’s functions.php file.

function wpcode_snippets_exclude_feed_category( $query ) {
	if ( $query->is_feed ) {
		// Replace 15 with the desired category id you want to exclude.
		$query->set( 'cat', '-15' );
	}
}
add_action( 'pre_get_posts', 'wpcode_snippets_exclude_feed_category' );

Don’t forget to replace 15 with the ID of the category that you want to exclude.

For more details and alternate methods, see our tutorial on how to exclude specific categories from RSS feeds in WordPress.

43. Change Excerpt Length in WordPress

The default WordPress excerpt length is often too short to describe a post’s summary. To change excerpt length you can add the following custom code snippet using the WPCode plugin or your theme’s functions.php file.

// Changing excerpt length
function new_excerpt_length($length) {
return 100;
}
add_filter('excerpt_length', 'new_excerpt_length');
 
// Changing excerpt more
function new_excerpt_more($more) {
return '...';
}
add_filter('excerpt_more', 'new_excerpt_more');

If you do not want to mess with code, then see our guide on how to customize WordPress excerpts (no coding required).

To add a copyright date to your WordPress site’s footer, you can edit the footer template in your theme and add a copyright notice.

However, the year that you use in the code will need to be manually updated next year.

Instead, you can use the following code to dynamically display the current year in your copyright notice.

© 2009 – <?php echo date('Y'); ?> YourSite.com

For more advanced solutions, check out our article on how to add dynamic copyright dates in WordPress.

45. How to Change a User Name in WordPress

WordPress allows you to easily change the name of a user, but you cannot change the username. There are two ways of doing this.

The easiest way is by using a plugin called Easy Username Updater. Upon activation, simply go to the Users » Username Updater page and then click the ‘update’ link next to the username you want to change.

update user

Now you simply enter the new username and then click the ‘Update Username’ button.

If you’d like to notify the user about the change, then make sure you check the ‘Send User Notification’ box first.

Update username

For alternate methods, see our article on how to change your WordPress username.

46. Allow Users to Like or Dislike Comments

Thrive comments preview

Have you seen how many popular sites like YouTube allow users to like and dislike comments? This brings more user engagement to the discussion on your website.

First, you need to install and activate the Thrive Comments plugin. It is the best WordPress comments plugin and helps you boost engagement on your website.

It adds comment voting, badges, social sharing, and other conversational features to your WordPress comments.

Upon activation, you need to visit Thrive Dashboard » Thrive Comments page and click on the Voting and Badges tab to expand it.

Thrive comments

From here, you can choose the ‘Up and Down’ in Thrive Comments which will let users Like or Dislike comments. After that, don’t forget to save your changes.

You can now check your WordPress comments to see these options in action.

47. Duplicate a WordPress Post or Page

The manual way to duplicate a post is by creating a new post or page and then copying the content from the old one. However, this wouldn’t copy the post settings like categories, featured images, tags, etc.

The more efficient way to do this is by using the Duplicate Post plugin. Simply install and activate the plugin and then go to Posts » All Posts page.

Clone a post

You will see the option to clone a post or create a new draft.

For more detailed instructions, see our article on how to easily duplicate posts and pages in WordPress with a single click.

48. Allow Users to Submit Posts to Your WordPress Site

Authors on your WordPress site can just log in to their accounts and write posts. But what if you wanted your users to be able to submit posts directly without creating an account?

The best way to do this is by creating a blog post submission form.

You will need to install and activate the WPForms plugin. You will need the pro version of the plugin to access the post-submission addon.

Upon activation, go to WPForms » Addons page to download and activate the post submissions addon.

After that you can go to WPForms » Add New page and then select ‘Blog post submission form’ as your template.

Post submission form

Once you are done editing the form click on the embed button to copy the form embed code. Now you can paste this code in any WordPress post or page to display a blog post submission form.

Posts submitted by users will be stored in your WordPress posts as Pending Review. You can then review, edit and publish them.

For more detailed instructions, take a look at our guide on how to allow users to submit posts to your WordPress site.

49. Turn Off Comment Notification Emails in WordPress

WordPress automatically sends email notifications when someone leaves a comment or when a comment is awaiting moderation. This is exciting when you first start your blog, but it becomes very annoying after a short while.

The good news is that you can easily turn these notifications off. Visit the Settings » Discussion page on your WordPress admin and then scroll down to ‘Email Me Whenever’ section. Uncheck both options and then click on the save changes button.

Disable comment email

50. Change Sender Name in Outgoing WordPress Emails

By default, when WordPress sends an email notification it uses ‘WordPress’ as the sender name. This looks a bit unprofessional, and you may want to change it to a real person or your website title.

The easiest way to do this is by using the WP Mail SMTP plugin. It is the best WordPress SMTP plugin that improves your WordPress email deliverability.

Simply install the WP Mail SMTP plugin and then go to WP Mail SMTP » Settings. From here, you change the sender name in the ‘From Name’ field.

Change sender name for WordPress emails

For a code method and more details, see our guide on how to change the sender name in outgoing WordPress emails.

51. Changing the Author of a WordPress Post

Changing the author of a post is quite straightforward. Simply edit the post and select the new author from the Author drop-down menu under the Summary tab.

Change author

After that, don’t forget to Save or Update the post to store your changes.

On the other hand, if you have disabled the block editor and are using the Classic Editor, then the author option may be hidden on your screen.

You will need to edit the post where you want to change the author name and then click on the Screen Options button at the top right corner of the screen. Check the box next to the ‘Author’ option.

Show author

This will display the author meta box on the post edit screen where you can select a different author for the post.

For more details, check out our article on how to change the author of a post in WordPress.

52. Rearrange Post Edit Screen in WordPress

Sometimes you may feel that categories are located too far down on the post edit screen, or maybe the Featured Image box should be higher.

Many users don’t notice it for a while but all the boxes on the post edit screen are quite flexible. You can click to collapse them and even drag-and-drop them to arrange the screen to your liking.

Editor preferences

This will bring up a popup where you can choose to show / hide panels in the default editor.

To learn more, see our tutorial on how to rearrange the post edit screen in WordPress.

53. Change Number of Posts Shown on Blog Pages

By default, WordPress shows 10 posts on your blog pages and archives. You can change that to any number you want.

You will need to visit the Settings » Reading page and then scroll down to ‘Blog pages show at most’ option. Enter the number of posts you want to display, then click the save changes button.

Blog post numbers

54. Automatically Close Comments on Old Articles

Sometimes you would notice that some very old posts on your site start getting regular spam comments for no apparent reason. One way to deal with this is by closing comments on older articles.

WordPress allows you to automatically turn off comments on old articles. You need to visit the Settings » Discussion page in your admin panel and then scroll down to ‘Other comment settings’ section.

Simply check the box next to ‘Automatically close comments on posts older than X days’ and replace the number with however long you want users to be able to leave comments.

Close comments on old posts

To learn how to deal with spam comments, see these tips to combat comment spam in WordPress.

55. Split Long Posts into Pages

Want to split lengthy posts into pages so that users can easily navigate them without scrolling too much? WordPress makes it super easy, just add the following code where you want to split a post into the next page.

<!––nextpage––>

WordPress will add a page break at this point and the rest of the post will appear on the next page. You can add the same code again when you want to start another page, and so on.

For more detailed instructions see our guide on how to split WordPress posts into multiple pages.

That’s all for now! We hope this article helped you find some new WordPress tips, tricks, and hacks. You may also want to see our ultimate guide to boost WordPress speed and performance.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post 55+ Most Wanted WordPress Tips, Tricks, and Hacks first appeared on WPBeginner.

Best of Best WordPress Tutorials of 2022 on WPBeginner

2022 is about to come to an end, and like every year it brings us an opportunity to look back at our accomplishments and goals.

This year, slow economic activity drove many people to start a new website or online business. A large number of users took advantage of WPBeginner’s free resources to launch their businesses online.

We are grateful for the continued support of our users, which provides us with inspiration and energy to move forward.

To keep up with our tradition, in this article we’ll share our staff pick of the best of best WordPress tutorials on WPBeginner.

We’ll also share an overview of 2022 from our CEO to gain some perspective and reflect upon the progress.

Yearly roundup of the best WordPress tutorials on WPBeginner

WPBeginner Recap 2022 by Syed Balkhi

2022 has been a wonderful year, and it was full of new experiences.

This year, I definitely pushed myself to new limits when it came to time management, balancing priorities, and business growth.

I turned 32, visited 8 countries including a trip to the Arctic circle and an African safari where I saw a black Rhino, bought a few companies, launched new products, and overall I’m ending the year stronger than ever.

None of this would be possible without the support of my wife, Amanda, and my family.

Balkhi Family 2022 - WPBeginner Recap

We accomplished a lot in 2022, and like always I learned a ton of lessons.

Note: I did a personal 2022 year end review on my blog that has more lessons and insights along with my goals for 2023.

This year WPBeginner turned 13 years old which means we officially have a teenager on our hand.

We spent a lot of time this year creating new content, but most importantly updating hundreds of previously written tutorials to ensure they’re all up to date.

I’m really proud of the work our team has done. Aside from the content side, our software products passed the milestone of 20 million active installs. We celebrated it with a NASDAQ billboard in Time Square.

This was a pretty huge moment for our entire team — going from a blog to being on Time Square in New York City!!!

Awesome Motive NASDAQ Billboard - WPBeginner

For me personally, it was a dream come true moment, and this is proof that hard work does pay off.

Our WPBeginner Engage community on Facebook passed 90,000 members, and it’s the largest WordPress facebook group (it’s free to join).

WPBeginner YouTube Channel passed 282,000 subscribers, and we passed 43 million video views.

We launched the WPBeginner podcast this year, and we got over 29,000 views on YouTube as well as over 4000+ downloads. This is a new content experiment for us, and I can see our monthly downloads continue to grow steadily.

Please let me know your thoughts on the podcast and make sure to subscribe on Apple Podcast, Google Podcasts, Spotify, or YouTube.

WPBeginner – Fun Fact:

Our team has now grown to over 230+ people across 45 different countries. We’re hiring for full-time remote positions. If you’re interested, check out our Careers page.

Our growth is a direct result of the incredible growth of WordPress. It is the world’s most popular website builder used by over 43% of all websites.

I shared 3 trends that I believe will help WordPress market share grow to 50% and beyond.

We have a lot free tools in the works for WPBeginner readers, and I can’t wait to share them with you over the next two months.

One of the questions I often get from new readers is how does WPBeginner make money? Well, it’s through our suite of premium plugins and SaaS application. I did a brief overview of WPBeginner income, but here’s a quick recap of our various products.

AIOSEO

All in One SEO (aka AIOSEO) is one of the most popular WordPress SEO plugins that’s now being used by over 3 million websites. This year the team worked really hard to make it by far the best SEO toolkit in the market.

If you want to improve your SEO rankings, then you should use AIOSEO.

We added a powerful Link Assistant feature to help automate the internal linking process. It also lets you see which domains you’re linking out to, which posts have no links, and so on. This is great for both SEO pros and business owners.

I had this feature built to help our businesses improve our content marketing, and also do SEO cleanups when we acquire new businesses.

Link assistant overview

We also introduced the Next-Gen Schema generator to help you level up your on-page SEO game. Basically you can generate custom schema templates to improve your SEO rankings without writing any code.

AIOSEO Custom Schema Generator for WordPress

Aside from that, we added the headline analyzer to help you write better headlines, we created an automated table of content block that’s actually customizable, and so much more.

There is a reason why AIOSEO has seen the level of growth that we did this year as more people are switching away from legacy WordPress SEO plugins to AIOSEO. Here are 9 reasons why you should switch to AIOSEO.

There’s also a free version available too which is plenty powerful.

WPForms

WPForms is the fastest growing online form builder for WordPress with over 5 million active installs. It’s now the #7 most popular plugin in the WordPress.org plugin directory. Here’s a link to the WPForms free version.

This year we added several powerful features to help you improve your workflow and save time. For example, we introduced Form Revisions which adds version control for online forms. We also added form tags, ability to recover deleted forms, form locator, and form search to make managing forms a breeze.

WordPress Form Version Control by WPForms

We added a form layout field to allow you to create multi-column form layouts without any code. This was a much requested feature, and I’m glad the team was able to get it out.

Multi Column WordPress Forms by WPForms

Aside from that, we added a native integration for Google Sheets (no need for Zapier). We also added integrations for HubSpot and PayPal commerce along with introducing more powerful anti-spam settings.

WPForms is continuing to raise the bar, and I’m really proud of our team.

The WPForms team also did their own 2022 Year in Review post which is far more interactive and super cool.

WPCode

We launched a new product called WPCode which is a WordPress code manager to future-proof your website customizations using smart code snippets.

WPCode is like the ultimate Swiss-Army knife tool that will help you replace dozens of existing WordPress plugins while making your website faster. My ultimate goal here was to help website owners save time and hassle while managing website customizations.

WPCode - Best WordPress Code Snippets Plugin

The idea came mainly from our users because about a decade ago in 2012, I created a free plugin called Insert Headers and Footers. This plugin made it easy for you to add code in WordPress header or footer area such as Google Analytics script, FB pixel, other tracking codes, and such.

Over the years, the plugin grew to over 1 million active installs. Every month, I would get requests from users to add more functionality such as the ability to conditionally load scripts on certain pages, ability to add code snippets in other areas of the website, and so on.

So we rebranded the plugin to WPCode (much better name), and we made it 100x more powerful. Best of all we kept most things free.

I can say it’s by far the MOST POWERFUL plugin you’ll install on your WordPress site, and I’m not exaggerating. You can read my full announcement here or watch this video on WPBeginner channel to see why I am so excited about this plugin.

We have big plans for it. Just last month, we launched the Private Cloud Snippets library to improve developer workflow. You can now save all your code snippets to cloud and re-use them across multiple client projects.

We also added code revisions (aka version control) to WordPress admin area, built deeper integration for WooCommerce & EDD, created device-specific snippet rules, and a whole lot more.

You can expect a lot of great things coming from WPCode in 2023.

SendLayer

SendLayer is another new product that we launched this year. It’s an email delivery platform that helps you get your website emails into your user’s inbox with maximum deliverability, reliability, and scalability.

SendLayer best SMTP service provider

You can use SendLayer with WordPress or any other platform that you prefer because it’s a powerful SMTP email service API. It gives you reliable email delivery while protecting your domain reputation from spam filters and giving you detailed email logs along with open & click analytics.

2023 will be a big year for SendLayer — we’re planning some big announcements in the next couple months.

I shared more details in our announcement post on why I’m so excited about this.

WP Simple Pay

Last year, we acquired WP Simple Pay as part of the Sandhills product acquisition. It’s a simple yet powerful solution that helps you accepting one-time and recurring payments on your WordPress site without setting up a shopping cart.

WP Simple Pay Plugin

We redesigned the website to highlight the features it offers, and we also added tons of other powerful features like the ability to add Buy Now Pay Later, Automatic tax calculation based on user location, flexible coupon management, pre-made payment form templates along with deep integration with WordPress page builders, a brand new onboarding wizard, and so much more.

There’s a free version available as well that you can use to accept payments securely on your website with mobile-optimized forms, card validation, and more.

I’m really proud of how this product is evolving, and we have some big features coming next year.

Other Notable Product Highlights

  • OptinMonster which is the #1 popup and conversion optimization plugin that I created for our business added revenue attribution this year, so now you can see exactly how much revenue you generate from each popup campaign. We also added dozens of new templates, smart blocks, field mapping, and deeper integrations.
  • MonsterInsights is the best WordPress analytics plugin in the market used by over 3 million websites. This year we introduced a new WordPress User Journey feature for eCommerce which shows you all the steps the user took before making a purchase.
  • Easy Digital Downloads team launched version 3.0 which was a major re-factor. Now includes support for block editor, multi-currency, improved checkout forms, better reporting, and more. This is the eCommerce plugin that I use to sell our digital products.
  • MemberPress which is the best membership plugin for WordPress added certifications, so now you can offer certificates to students upon completion of the course. MemberPress continues to be the leading solution for creating membership sites & LMS sites.
  • Smash Balloon is the most popular social media feeds plugin for WordPress. This year the team completely revamped all the plugins to add a much improved social feed customizer with live preview and more.
  • Uncanny Automator, the leading WordPress workflow automation plugin now has over workflow 100+ integrations to help you automate your WordPress site. This plugin can help you eliminate Zapier so you can save more money and time with website automations.

Acquisitions and Investments

This year we did few really great acquisitions & investments. Here are the new products that have joined the WPBeginner family :)

FunnelKit (formerly WooFunnels) is a leading sales funnel builder and marketing automation platform for WooCommerce. Over 18,000+ smart store owners use FunnelKit to create high-converting checkouts, order bumps, one click upsells & automations that are proven to boost profits.

They also have a really powerful email automation and CRM product called FunnelKit Automation (formerly Autonami). It’s basically an ActiveCampaign alternative for WordPress which gives you the email marketing & SMS features for a fraction of the cost.

You can read the full story to see screenshots, animations, and more.

We also acquired WP Charitable, a popular donation and fundraising plugin. Over 10,000+ non-profit organizations and website owners across the world use Charitable to create fundraising campaigns and raise more money online (see the full story).

End of November, one of the WPBeginner Growth Fund companies, Strategy11, acquired WP Tasty and Nutrifox.

Strategy11 is the team behind Formidable Forms, Business Directory Plugin, and Advanced Classified. Steve & Steph Wells joined the WPBeginner Growth Fund in 2018, and we have seen tremendous growth in the business since then.

When the opportunity presented itself, we decided to acquire the WP Tasty plugin suite which offers a suite of tools for food bloggers including a WordPress recipe plugin, a smart roundup plugin, affiliate management plugin, and a better Pinterest integration.

Nutrifox is a SaaS nutrition label generator for food bloggers as well food brands who’re looking to show nutrition labels for compliance reasons on their website.

Aside from these, we have recently acquired few other businesses, but the announcement is not public yet, so I will be sharing those likely in January or February

Want us to acquire or invest in your business? Learn more about the WPBeginner Growth fund where I invest in WordPress and SaaS companies.

With that said, let’s take a look at 2022’s best WordPress tutorials on WPBeginner.

January

How to Display Your Form in a Single Line in WordPress (Easy Way) – Not all forms need multiple fields and some may even look good in a single line. In this tutorial, we showed how to easily display forms in a single line in WordPress.

How to Fix ‘Comments Are Closed’ in WordPress (Beginner’s Guide) – A common WordPress issue that is often caused by misconfigured WordPress settings. In this article, we showed how to easily resolve the ‘Comments are closed’ issue in WordPress.

How to Create a Video Membership Site in WordPress – WordPress makes it easier to sell on-demand and members-only content. In this tutorial, we walked users through the steps to build a video membership website in WordPress.

What Are Web Push Notifications and How Do They Work? (Explained) – We published an explainer about web push notifications for beginners. The article talks about web push notifications and how beginners can use them to grow their businesses.

How to Easily Create a Custom WordPress Theme (Without Any Code) – Ever wanted to make a custom WordPress theme exactly to your liking? In this article, we showed how to easily create a custom WordPress theme without writing any code.

February

How to Increase Your Landing Page Conversions by 300% – Landing pages are an important marketing tool to boost sales. In this article, we shared proven tips that help users increase their landing page conversions.

How to Create a Facebook Ads Landing Page in WordPress – If you are running Facebook ads, then you would want to direct users to a properly optimized landing page. In this tutorial, we showed how to easily create a beautiful Facebook ad landing page in WordPress for higher conversions.

How to Disable Widget Blocks in WordPress (Restore Classic Widgets) – WordPress replaced the widget screen with new widget blocks. However, many users have themes built for legacy widgets. In this article, we showed how to disable widget blocks and use legacy classic widgets.

How to Add Nofollow Links in WordPress Navigation Menus – Adding nofollow attribute to external links is helpful for SEO but how do you add it to a navigation menu link? In this tutorial, we showed +how to easily add nofollow links in navigation menus.

March

How to Add IndexNow in WordPress to Speed Up SEO Results – IndexNow is a new SEO feature that allows websites to get their new content indexed by popular search engines. In this tutorial, we explained how to add IndexNow in WordPress to improve SEO.

How to Properly Use Focus Keyphrase in WordPress – Optimizing your content for a focus keyphrase helps you improve SEO rankings. In this article, we explained how to properly use focus keyphrase in WordPress to improve search rankings.

18+ Best ClickFunnels Alternatives – ClickFunnels is a website builder tool for marketers to create sales funnels and boost conversions. In this article, we discussed its pros and cons and shared the best ClickFunnels alternative that are actually better and less expensive or free.

How to Fix ‘The Site Is Experiencing Technical Difficulties’ in WordPress – This is a vague and common WordPress error that may be very frustrating for beginners. In this article, we showed how to easily fix ‘The site is experiencing technical difficulties’ issue in WordPress.

April

Best Internal Linking Plugins for WordPress – Internal linking is critical for better SEO rankings and higher pageviews. In this article, we showcased the best internal linking plugins for WordPress that you can use to automatically or manually add internal links.

How to Accept Apple Pay in WordPress – Apple Pay is a convenient payment solution for customers and small businesses. In this article, we showed how to easily accept Apple Pay in WordPress without hiring developers.

Elementor vs Divi vs SeedProd (Compared) – Users often ask us about which is the best page builder among the top contenders. In this article, we compared Elementor vs Divi vs SeedProd to figure out which is the best site builder tool for WordPress beginners.

How to Accept Recurring Payments in WordPress – Many online businesses rely on recurring payments instead of one-time payments. In this beginner’s guide, we shared four methods to easily accept recurring payments in WordPress.

May

Beginner’s Guide: How to Use WordPress Block Patterns – Block patterns are a new WordPress feature that allows site owners to quickly insert common layouts into their pages using the Gutenberg content editor. In this article, we explained WordPress block patterns and how to use them.

How to Easily Add a Download Link in WordPress – Adding a download link in WordPress makes it easier for your customers to download files. In this tutorial, we showed multiple ways to easily add a download link to WordPress.

How to Add Collaboration in WordPress Block Editor (Google-Doc Style) – For multi-author WordPress websites, collaboration can become quite complicated. In this article, we showed how to easily add Google Docs style collaboration in the WordPress block editor.

How to Accept Google Pay in WordPress (The Easy Way) – Google Pay is another convinient payment option for mobile customers. In this article, we showed how to easily accept Google Pay on a WordPress website.

How to Limit the Number of WordPress Form Entries – Do you want to limit the number of entries users can submit using a WordPress form? In this tutorial, we showed how to easily limit the number of WordPress entries.

June

How to Add Text on Top of an Image in WordPress – We have been often asked by users about how to add text on top of an image in WordPress. In this article, we showed multiple ways to easily add text on top of an image in WordPress.

How to Display WordPress Form Entries on Your Site – Some website owners want to collect data via forms and display it on their website. Whether is a survey, feedback, or other user generated content. In this article, we showed how to easily display WordPress form entries on your website.

Best Call Center Software For 2022 – Many users like to talk to a business on the phone instead of email. Adding a call center software for your support and sales team can help convert those users into paying customers. In this article, our experts picked the best call center software for small businesses.

How to Create a Reddit-Like Website with WordPress – Reddit is a popular online community with millions of highly engaged users. In this article, we showed how you can easily create a Reddit-like website with WordPress.

July

How to Make a Multi Vendor Ecommerce Website with WordPress – Do you wanto create a multi-vendor eCommerce platform? In this article, we showed how to easily make a multi-vendor eCommerce website in WordPress.

How to Create an Author Website in WordPress (Step by Step) – WordPress is quite popular among best-selling authors. In this article, we showed how to create a professional author website in WordPress.

How to Connect Multiple WordPress Sites Together – Do you want to connect multiple WordPress websites to automate everyday admin tasks? In this article, we shared 3 easy ways to connect multiple WordPress sites together.

How to Sell Digital Art and Graphics Online – WordPress makes it super easy to sell anything online. In this article, we talked about how to easily sell digital and graphics online using WordPress.

August

How to Easily Integrate Shopify with WordPress (Step by Step) – Do you want to use Shopify and WordPress together? In this article, we showed how to easily integrate Shopify with WordPress and take advantage of both platforms.

How to Set Up Automated Drip Notifications in WordPress – Drip notifications allow you to send scheduled notifications to subscribers via email or push notifications. In this article, we showed how to set up automated drip notifications in WordPress.

How to Customize WooCommerce Emails – Default WooCommerce emails are quite plain and boring. In this article, we showed two ways to easily customize WooCommerce emails to make them more useful.

How to Customize the Search Results Page in WordPress – The default WordPress search is too basic for most websites. In this tutorial, we walk you through the steos you can take to customize WordPress search results page with better results and user experience.

September

Best Monthly Web Hosting Plans – Are you looking for a monthly web hosting plan? In this showcase, our experts picked the best monthly web hosting plans (starting at $4.95 per month).

The Ultimate Guide to GA4 in WordPress for Beginners – With the current version of Google Analytics being sunset on July 1, 2023, we got a ton of questions from users about the new Google Analytics 4 (GA4). In this beginner’s guide, we explained Google Analytics 4 for WordPress users.

How to Create a Table of Contents in WordPress Posts and Pages – a Table of Contents improves user experience for longer articles and can also help with SEO when used properly. In this tutorial, we showed how to easily create a table of contents in WordPress posts and pages.

2022 Blogging Statistics, Trends & Data – For this article, our research tream collected the most interesting and significant blogging statistics, trends, and data. This information can help you analyze some of the latest trends in blogging and how it has evolved over time.

October

Reasons Why We Switched from Yoast to All in One SEO – On WPBeginner, we switched from Yoast to All in One SEO for WordPress. This article explained top reasons why we switched from Yoast to All in One SEO.

How to Speed up WooCommerce Performance – Speed is crucial for the success of an online store. In this guide, we shared easy to implement tips to speed up WooCommerce performance.

How Much Traffic Can WordPress Handle? – One of the common misconceptions about WordPress is that it is harder to scale for large traffic. In this article, we debunked this myth by explaining how much traffic can WordPress handle.

In October, our research team published three new resources:

November

The WordPress SEO Crawl Budget Problem and How to Fix It – Search engine bots set a crawl budget for each website, and your website may end up wasting it on unnecessary pages. In this article, we explained the SEO crawl budget problem and how to easily fix it.

How to Offer an Ad-Free Version of Your WordPress Site to Subscribers – Want to remove advertisements for paid subscribers of your website? In this tutorial, we showed how to easily offer an ad-free version of your website to subscribers.

GoDaddy Website Builder vs WordPress – Which One is Better? – GoDaddy offers a basic website builder tool to quickly create simple websites. In this article, we compared GoDaddy website builder vs WordPress to show which one is better.

How to Easily Add Browser Tab Notification in WordPress – You may have noticed some websites with tabs highlighted with animations, icons, and text. In this tutorial, we showed how to easily add browsser tab notification in WordPress.

How to Add a Buy Now Button in WordPress – Do you want to add a quick buy now button in WordPress? In this tutorial, we showed 3 ways to easily add a buy now button in WordPress.

December

How to Sell Excel or Google Spreadsheets in WordPress – Excel and Google spreadsheet files are popular items sold online. These can be templates, printable workbooks, and more. In this tutorial, we showed how to easily sell Excel or Google spreadsheets in WordPress.

What is Headless WordPress and Should You Use It? – A headless WordPress website separated WordPress from the front-end. In this guide, we explained headless WordPress with pros and cons.

A History of Blogging (1993 – Present Day Timeline) – Our team compiled and updated a useful resource about blogging. In this resource, you’ll see a comprehensive history of blogging from 1993 to present time.

How to Enable Maintenance Mode for WooCommerce – Worried about misplaced orders when you are performing maintenance tasks on your WooCommerce store? In this tutorial, we showed how to enable maintenance mode for WooCommerce to safely execute maintenance tasks.

How to Add Venmo in WordPress & WooCommerce – Venmo is a popular and convinient payment gateway. In this guide, we showed how to easily add Venmo in WordPress and WooCommerce as a payment method.

These were some of the best WordPress tutorials on WPBeginner in 2022. We hope that you found them helpful.

We want to thank all WPBeginner users, who visited our website, offered feedback, left comments, and shared it with others. We truly appreciate you.

We look forward to adding even more useful WordPress tutorials in 2023. Have a Happy New Year.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post Best of Best WordPress Tutorials of 2022 on WPBeginner first appeared on WPBeginner.