What are Permalinks in WordPress?

Permalinks are the permanent URLs to your individual pages and blog posts, as well as your category and tag archives. A permalink is the web address used to link to your content. The URL to each post should be permanent and never change — hence the name permalink.

go to your wp-admin >

Read More

Transients API in WordPress

The Transients API is very similar to the Options API but with the added feature of an expiration time, which simplifies the process of using the wp_options database table to temporarily store cached information. WordPress Transients API, which offers a simple and standardized way of storing cached data in

Read More

The WP_Query Function in WordPress

The WP_Query is a very powerful WordPress function used to make very specific WordPress loops based on a large number options.

The WP_Query function is placed before the loop. A nice aspect of this function is that all you have to do is place it before the loop and you don’t

Read More

Disable update notification for individual plugins / All

code for the plugin file itself:-

I like to put this in the actual plugin. Since I’ve only ever disabled updates on a plugin because I’ve edited or forked the code and don’t want to lose my edits on an update, I’ve already edited the plugin and thus don’t

Read More

Adding or Including custom post type to default WordPress loop

Adding or Including custom post type to default WordPress loop by altering the ‘pre_get_posts’ function. Here it use add_action() function. This will help to display those posts (custom posts) alongside the default posts in the regular post feed.

Add this in you functions.php file


Read More

Options API in WordPress

The Options API is a simple and standardized way of storing data in the database. The API makes it easy to create, access, update, and delete options. All the data is stored in the wp_options table under a given custom name.

Read More

What is WordPress Revisions?

The WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). The display indicates what has changed in each revision – what was added,

Read More