This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/*-----------------------------------------------------------------------------------*/ | |
/* Post type: | InCreativeWeb.com | |
/*-----------------------------------------------------------------------------------*/ | |
// Register Authors Custom Post Type | |
function icw_register_job_authors_post_type() { | |
// Set up the labels | |
$labels = array( | |
'name' => 'authors', // Use the same name as the post type | |
'singular_name' => 'author', // Use the same name as the post type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', |