Morshed Alam

A teacher by profession, a traveler by passion and a netizen by choice.

Morshed Alam
list

Display A List of Custom Taxonomy Terms with Posts Number

A WordPress taxonomy is a way to organize groups of posts and custom post types. By default, WordPress comes with two taxonomies called categories and tags. However, if you are using a custom post type, then you may need custom taxonomies. There are two types of custom taxonomies. Hierarchical Taxonomy (works like categories) Non-Hierarchical Taxonomy …

Display A List of Custom Taxonomy Terms with Posts Number Read More »

Redirect WordPress Page

How to Create Custom Registration URL in WordPress without Plugin

To fight spam registration, this could be helpful. In this tutorial, we will use WordPress function wp_safe_redirect(). First, create a page. No need to add content. We will use this page’s slug. Suppose it’s “register”. Paste following code in your theme’s functions.php Now your registration URL will be yoursite.com/register instead of yoursite.com/wp-login.php?action=register == The End …

How to Create Custom Registration URL in WordPress without Plugin Read More »

Redirect Successful Registraion

How to Redirect Successful Registration to Thank You Page in WordPress

By default WordPress redirects a successful registration to example.com/wp-login.php?checkemail=registered where it shows “Registration complete. Please check your email, then visit the login page”. But you can redirect them to your custom thank you page like example.com/thanks. There you can say them to check the spam folder for your email alongside thanking them. Create a page …

How to Redirect Successful Registration to Thank You Page in WordPress Read More »

author slug base

How to Change Author URL Slug and Base with or without Plugin

WordPress has permalink settings. WordPress offers you the ability to create a custom URL structure for your permalinks and archives. Custom URL structures can improve the aesthetics, usability, and forward-compatibility of your links. A number of tags are available, and there are some examples in permalink settings. However, there is no option for you to …

How to Change Author URL Slug and Base with or without Plugin Read More »