Skip to content

Instantly share code, notes, and snippets.

View ikamal7's full-sized avatar
💻
Tea & Code

Kamal Hosen ikamal7

💻
Tea & Code
View GitHub Profile
<?php
vc_map( array(
"name" => esc_html__( "Slider", "seo-codervalley" ),
"base" => "seo_slider",
"category" => esc_html__( "SEO", "seo-codervalley"),
"params" => array(
array(
"type" => "textfield",
"heading" => esc_html__( "Count", "seo-codervalley" ),
<?php
function seo_slide_shortcode($atts){
extract(shortcode_atts(array(
'count' => 3,
'loop' => 'true',
'autoplay' => 'false',
'autoplayTimeout' => '3000',
'nav' => 'true',
'dots' => 'true',
<?php
/*
Plugin name: Seo Toolkit
*/
if( !defined('ABSPATH')){
exit;
}
<?php
if (!defined('ABSPATH')) die('-1');
// Class started
class stockVCExtendAddonClass {
function __construct() {
// We safely integrate with VC with this hook
add_action( 'init', array( $this, 'stockIntegrateWithVC' ) );
@ikamal7
ikamal7 / create_wp_user.php
Last active July 28, 2018 14:54
Create wp new user by Functions.php
<?php
$username = "username";
$password = "password1234";
$email = "[email protected]";
$create_user = new WP_user(wp_create_user($username, $password, $email) );