Change Read More Text in WordPress

If you want to change the default read more text in wordpress for the posts, then you have to add a filter hook to customize the read more link for…

Read more »

Count Script Execution Time in PHP

If you want to check how much time your code is taking then you have to write script execution time functionality. We will use microtime() function to check execution time….

Read more »

Disable Theme and Plugin Editor in WordPress

If you have multiple administrators on your website and you don’t want to allow them to change the theme’s files and plugin’s file then you have to disable theme and…

Read more »

Show the Last Updated Date of Your Posts

Basically, WordPress shows the publish date of the post/page when that post was created. It is the default functionality in all themes. But if you want to show the last…

Read more »

Hide wp-includes, wp-content, and wp-uploads in the Browser

If these folders (wp-includes, wp-content, and wp-uploads) are visible in the browser then you must hide them. If you want to check these folders are visible or not then try…

Read more »

Add Custom Gravatar Image In WordPress Without Plugin

WordPress uses the default Gravatar image if the user does not have an own image to show as a profile photo. Default Gravatar image is a “Mystery Person”. There is…

Read more »

Inline if else Condition in PHP – (with double ??)

In this trick, I will show you how you can use double ?? operator (also called “null coalescing operator“) to make inline if else condition more clean and useful. We…

Read more »

Custom Archive Page for Custom Post Type

This is very easy. If you have built a custom post type and want to create a custom archive page for that custom post type then you have to copy…

Read more »