Skip to main content

Posts

Showing posts with the label Plugin

How to add Facebook Page Plugin to WordPress

Facebook Page Plugin helps you to embed and promote Facebook Page on your website. Visitors can like and share your Facebook Page without leaving your site. Using of WordPress widget you can easily add Facebook Page Plugin to your website. You should need to place this FB Page widget at the sidebar of your website. This tutorial has divided by two steps. In the first step we will create the Facebook Page Plugin at the Facebook and second step helps to implement this FB page plugin in WordPress. Create Facebook Page Plugin  Go to the Facebook social plugin page and navigate to Social Plugins >> Page Plugin .  In this page you will find the configuration options for your Facebook Page Plugin. Into the Facebook Page URL input field enter your Facebook page URL. Plugin preview would be generated and also you can configure Plugin width, height and other options.  Once configuration is completed, click on the Get Code button. A popup would be appearing with the ...

Create a custom WordPress Plugin from scratch

WordPress is the most popular open source content management system for today’s world web application. WordPress Plugins allow easy modification, customization, and enhancement of a WordPress blog. A WordPress Plugin is a program, or a set of one or more functions, written in the PHP, that adds a specific set of features or services to the WordPress without changing the core programming of WordPress. In this tutorial we will describe the creation of a custom WordPress Plugin from the scratch. WordPress Developers can learn how to create custom WordPress Plugin. The following step by step tutorial has made the custom WordPress plugin development process very simple. You can easily create WordPress plugin with our tutorial. Let’s start the WordPress Plugin creation tutorial. 1) Plugin Directory Creation: Create a directory with your Plugin name.(Like : myPlugin/ ) myPlugin/ 2) Main Plugin File: In the Plugin directory ( myPlugin/ ) create a PHP file with the same name of the Plugin direc...

How to create WordPress Plugin

This post explains you about how to create a wordpress plugin,how to  install & uninstall the plugin, how to create a plugin Admin menu . Here are some basic steps to create a plugin called contact_us,   that will shows data in admin panel. 1-Create a folder contact_us  in wp-content/plugins 2-Create a file contact_us.php and open it. Now you need to put some basic plugin details and remember wordpress will recognize you by this information. /* Plugin Name:Contact Us Plugin Plugin URI: http://www.91weblessons.com Description: WordPress Contact Us plugin Author: Vishal Gupta Version: 1.0.1 Author URI: http://www.91weblessons.com */ 3-Now go to the admin and click Plugins. You will see your plugin is in the listing. 4-Now the time to set database table setting , which will created dynamically at time of plugin installation. And also dropped at uninstallation. global $wpdb; $pro_table_prefix=$wpdb->prefix; define('PRO_TABLE_PREFIX', $pro_table_prefix); 5-Now time...