While developing WordPress site most of the time we use different plugin for the better support of the site.And some times we as a developer make some customization in the default plugin files for our required functionality.

The plugin files are always get updated from its developer and the updates for newer version are notified to us by the wordpress. Suppose we have make some customization in code in the original plugin’s file then that changes will be removed if we update the plugin file to newer version.So to solve this problem we have to stop the automatic update option of the plugin or update notification of the plugin.

Many a times in the project we have to use jQuery code.And some times this jQuery code gets conflict with some other jQuery code.So to solve that issue i have some solution which will help you to getout from the jQuery conflict issue so that you can get back to your work.

When you are using multiple jQuery files you may lead to the conflict amoung them.Because most of the time jQuery file use “$” in the file as the jQuery reference variable throw out the code.And because of this “$” variable jQuery files get conflict with each other.

To resolve the jQuery conflict issue you can use any of the below option,

Option 1:

When you put jQuery into no-conflict mode, you have the option of assigning a variable name to replace $. ( only once )

In the core php, we need to write at-least 10 to 15 lines, sometimes more than that for the database connection and insert update or delete operations on the database..

But in the wordpress we just need a single line for the opration and no need to connect to database. Because this steps are done at the installation only.

INSERT QUERY :

$wpdb->insert( $table, $data, $format );

table (string):

The name of the table.

data (array):

Data to insert in column => value pairs.

format (array|string) : (optional)

An array of formats to be mapped to each of the value in $data. If string, that format will be used for all of the values in $data. If omitted, all values in $data will be treated as strings unless otherwise specified in wpdb::$field_types.

I have searched a lot when I was required to configure mail using my localhost for my project. At many sites I have read that it’s just not possible to send mail using localhost. You have to upload your project on the net.

But after searching a lot I get to know that it’s possible to send mail using localhost without uploading the project. And today I post this blog so that the PHP programmer can get to know that it’s not that we just cannot send mail from localhost .We can do.