Skip to content

Instantly share code, notes, and snippets.

@jayeshhpatel
jayeshhpatel / DataTables Server Side Processing in WordPress (functions.php)
Last active December 23, 2023 06:05
DataTables Server Side Processing in WordPress
Add the following piece of code to your functions.php file.
add_shortcode('getMembership-lists', 'ajax_membership_table_shortcode');
// WITH AJAX LOAD TABLE
function membership_datatables_scripts() {
wp_register_style('datatables_style', '//cdn.datatables.net/1.11.1/css/jquery.dataTables.min.css');
wp_enqueue_style('datatables_style');
@jayeshhpatel
jayeshhpatel / Create visual composer with param_group
Created August 12, 2021 03:59
Create visual composer with param_group
Visit : https://increativeweb.com/create-visual-composer-with-param_group
=============================
Sample 1
//Backend visual composer add-on code
vc_map(array(
'name' => 'Accordions',
'base' => 'maxima_accordion',
'category' => 'Maxima',