How to Sync Announcements Across Multiple WordPress Websites Using WP REST API
Managing multiple WordPress websites under the same domain area can be challenging, especially when it comes to publishing global announcements.
Managing multiple WordPress websites under the same domain area can be challenging, especially when it comes to publishing global announcements.
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…