Setting link for wordpress plugin

This tutorial will help you to set the “settings” link to your plugin in plugin list page “../wp-admin/plugins.php”. I added one function “add_settings_link_to_your_plugins” to set the setting link and i called this function using add_filter() method. // Add settings link to your wordpress plugin page function add_settings_link_to_your_plugins($links) { $settings_link = ‘ Settings’; array_unshift($links, $settings_link); return […]

Adobe Edge Audio

Adobe Edge Audio (sound) Adobe Edge Audio With Volume Control Adobe Edge Audio (Sound) Step 1: Create new file in adobe edge. Step 2: Configure the width ,height and other proprties like ID, Color etc.. Step 3: Create button for play and pause the audio. The button name is playbtn.(use rectangle,rounded rectangle to create button). Using […]

CodeIgniter Autoload

To autoload resources, open the application/config/autoload.php file and add the item you want loaded to the autoload array. Important Points Of Autoload Concept Libraries Helper Config Language Model Sample autoload.php configuration Important Points Of Autoload Concept This file specifies which systems should be loaded by default (OR) The files initialized automatically every time the system […]

CodeIgniter Configuration

This config.php file are located under application/config filder or your own custom configuration file. This class is initialized automatically by the system so there is no need to do it manually. To load custom config file, we have to use the following function within the controller. $this->config->load(‘custom_config_file’); Where custom_config_file is the name of your config […]

CodeIgniter Database Configuration

Database Support Active Group Database Credentials database.php File Database Support The database.php file contains all the information to connect to a database. A Database is required for most web application programming. CodeIgniter supported databases are MySQL (4.1+), MySQLi, MS SQL, Postgres, Oracle, SQLite, and ODBC Active Group In codeigniter database configurtion, we could create number […]

CodeIgniter – Insert Query

CodeIgniter insert query will execute using following functions. They are $this->db->query() Insert With Query Bindings Standard Insert $this->db->insert_string() $this->db->insert_batch() Escaping Insert Queries Get Inserted ID Get Affected Rows $this->db->query() Program 1: $sql = “insert into tbl_user (name, age, groupname) values (‘codeigniter, 35, ‘Group 1’)”; $this->db->query($sql); Program 2: $data = array( ‘name’ = > $_POST[‘name’] , […]

CodeIgniter – Insert Query

CodeIgniter insert query will execute using following functions. They are $this->db->query() Insert With Query Bindings Standard Insert $this->db->insert_string() $this->db->insert_batch() Escaping Insert Queries Get Inserted ID Get Affected Rows $this->db->query() Program 1: $sql = “insert into tbl_user (name, age, groupname) values (‘codeigniter, 35, ‘Group 1’)”; $this->db->query($sql); Program 2: $data = array( ‘name’ = > $_POST[‘name’] , […]