How to use CSS in WordPress Plugin

Introduction We will discuss here how to use CSS in WordPress plugin. We will use the same plugin we created in the example. We have seen how to use AJAX, jQuery in our previous tutorial. This example will also show you how to en-queue CSS file. Till now our simple email subscription form does the necessary things what it required. But in this example we will apply some style to make it look more better. The basic idea of this post is to show you how to use CSS (Cascading Style Sheet) in…

Continue

How to use AJAX, jQuery in WordPress Plugin

Introduction We will discuss here how to use AJAX in WordPress plugin. We will use the same plugin we created in the example. We have seen how to create MySQL table in our previous tutorial. This example will also show you how to en-queue JavaScript files. Till now our simple email subscription form could not perform any action but in this example we will use AJAX technique with jQuery so that users will be allowed to subscribe to the posts.

Continue

How to create table with WordPress Plugin

Introduction In this post we will discuss about how to create table with WordPress plugin. When you are writing a plugin for WordPress (a simple email subscription form), you will find that you need to store some information in the WordPress database. Certainly there are ways to store information and you can find more on this here but we will see here in simple way how to create a table and store information into database.

Continue

How to create plugin in WordPress

Introduction In this post we are going to discuss how to create plugin in WordPress CMS (Content Management System). Creating custom WordPress plugin is simple and you just need to follow some steps to make it available in your WordPress site. We will create a simple email subscription form through which users will be able to subscribe to your recent posts. We will also discuss why do you need to create your own plugin in the next section. Why do you need plugins? WordPress plugin allows you to modify, customize…

Continue