DataTables is a very popular and useful jQuery library to create powerful tables. In this article we will see how to create date range filters
Tag: PHP

What is advanced custom fields in wordpress? By default WordPress provides 2 options to add data (title and description). If we need more fields we

Detect which submit button is clicked when a form is submitted using PHP

Lets suppose we want to implement previous/next navigation in our page by using the ID of current article. In this article we will see how to get the previous/next ID of the current ID in the MySQL database.

By default, WordPress provides 2 options to add data (title and description). If we need more fields we need to customize it or use hooks.

Integrate posts dynamically from a WordPress website to another (WordPress or Non-WordPress) website.

Create custom shortcodes with or without attributes and use them in functions.php so that it may be accessible throughout the website

We came across in such requirements where we need to display a number into string format, or need to convert a set of number(s) into

For single product: // create add to cart button for single product ID function rec_add_to_cart_button($atts) { $atts_var = shortcode_atts( array( ‘id’ => ”, ‘title’ =>

For multiple products: function woocommerce_maybe_add_multiple_products_to_cart() { if ( ! class_exists( ‘WC_Form_Handler’ ) || empty( $_REQUEST[‘add-to-cart’] ) || false === strpos( $_REQUEST[‘add-to-cart’], ‘,’ ) ) {