BLOG

BLOG

Our Blog

Activating and Deactivating Functions for WordPress Plugins

During the plugin you’ll want to utilize some important functions. This function register_activation_hook() is called first when you develop a plugin. In WordPress When your plugin is activated then this function is executed Plugins SubPanel . There are two parameters accepts by this function: the function to execute when the plugin is activated and the […]
By
| | |
Comments Off on Activating and Deactivating Functions for WordPress Plugins

Determining Paths of Plugins in WordPress

WordPress plugin when you create, during creating a plugin you will often need to reference folders and files throughout the WordPress installation. Since the version of WordPress 2.6 the users can move this directory anywhere they want they have ability to this. So the good practice is that never use the hard-code or static path […]
By
| | |
Comments Off on Determining Paths of Plugins in WordPress

Complex Database Operations in WordPress

If you want to retrieve an entire table row, then the get_row() function is use for this purpose. This get_row() function by default return the row data as an object, a numerically indexed array, and it can be an associative array. I write below an example see it: Above example displaly the post title of […]
By
| | |
Comments Off on Complex Database Operations in WordPress

Deleting Metadata in WordPress

In the previous articles you learned about that how you can add and update post metadata in WordPress, in this article you can learn how to delete that data. The delete_post_meta() function this use for delete post the metadata. <?php delete_post_meta( $post_id, $meta_key, $meta_value ); ?> Following parameters accept by this function:  $post_id — This […]
By
| | |
Comments Off on Deleting Metadata in WordPress

Updating Metadata in WordPress

In previous article we read about the creating a Metadata in a post in this article you learn how update a Metadata in the post, in the wordpress for update the Metadata using the update_post_meta() function. So this function will update a piece of metadata attached to a post specified. This function will create meta […]
By
| | |
Comments Off on Updating Metadata in WordPress

Adding Metadata in WordPress

To add new post metadata this add_post_meta()  simple function is called in WordPress. A piece of meta data to the post will attach by this function this specified as follows: <?php add_post_meta( $post_id, $meta_key, $meta_value, $unique ); ?> There are four parameters accepts by this function:                 1. […]
By
| | |
Comments Off on Adding Metadata in WordPress

What Is Metadata in WordPress Define

The additional pieces of data that attached to a post its a Metadata in WordPress. Let’s suppose, you have products and your products custom post type might need a price stored with each Product entered in your site. This price can be stored as metadata and it easily displayed on the Product detail page. In […]
By
| | |
Comments Off on What Is Metadata in WordPress Define

Using Your Custom Taxonomy in WordPress

If you have been created your custom taxonomy, if not than please read this article http://www.webdirectors.co.uk/creating-custom-taxonomies-wordpress-web-designer-london/ because in this article you know that how to use custom taxonomy in your website. The some features of Wordperss are very easy-to-use functions for working with your custom taxonomy. Below the following shows how you can display a […]
By
| | |
Comments Off on Using Your Custom Taxonomy in WordPress

Setting Custom Taxonomy Labels in WordPress

In WordPress it is similar to creating a custom post type, the custom taxonomies has feature several text strings that are shown throughout the WordPress admin dashboard for your taxonomy. About the custom taxonomy these text strings are typically a link, button, or extra information.  By default, the term “Category” is for hierarchical taxonomies and […]
By
| | |
Comments Off on Setting Custom Taxonomy Labels in WordPress

Creating Custom Taxonomies in WordPress

This time to build or create your first custom taxonomy! In this article you are going to create a simple taxonomy for defining types for your products. You have a ecommerce site and you are selling online products, then you obviously need a group that has specific products, Let’s suppose A Web Agency London selling […]
By
| | |
Comments Off on Creating Custom Taxonomies in WordPress