![sitespecificplugin](https://dilip-parmar.in/wp-content/uploads/2024/04/sitespecificplugin.png)
Create a Simple Plugin in WordPress – 6 – How to add custom post meta into db and how to fetch it
Now we need to display post count for each post, for that we need to add custom field in db and it’s value. In WP we use post meta to…
Now we need to display post count for each post, for that we need to add custom field in db and it’s value. In WP we use post meta to…
We can run a simple static query and run that query as we did in first part while we activation hook but to fetch the data from the table we…
There is a simple function called wp_enqueue_script & wp_enqueue_style to add js & css but the arguments we are passing in both functions are important.
We will see how to pass parameters in short-code, How to assign default values to parameters and How to use separate files to create a long html.
In this lesson, we will create a table on activate hook, truncate table on deactivate hook and delete table on uninstall hook.
In this lesson, We will create a simple plugin files in WP, configure security rules, Initiate 3 hooks (Activation hook, Deactivation hook & Uninstall hook) & Create a short-code of…
What is WP rest API? The answer is this is a collection of JSON endpoints (URLs) to perform various operations in WordPress using any applications.
A WordPress nonce is a “number used once” security token to protect URLs and forms from malicious attacks.
WordPress provides thousands of hooks inbuilt so developers can do actions & filters on various places to achieve their custom behavior in WP.
There are some plugins that you can use to debug your WordPress when you are doing some custom code into it.