-->

Halo !!! Saya Kang Ismet, ini adalah blog tentang AMP HTML dan cara penerapannya

TEst

. */ add_shortcode("social_locker_shortcode", "socialcontentlocker_process_shortcode"); function socialcontentlocker_process_shortcode( $attributes, $content = null ) { global $add_my_script; $add_my_script = true; extract( shortcode_atts( array( 'type' => '', 'text' => '', 'textcolor' => '', 'background' => '' ), $attributes ) ); if ($textcolor!="") $estiloh3="style='color:$textcolor'"; if ($text!="") $textomostrar="

$text

"; else $textomostrar="

Use social buttons below to see extra content

"; if ($background!="") $estilofondo="style='background-color:$background!important'"; if ($type=="g") return "
$textomostrar
$content
"; elseif ($type=="f") return "
$textomostrar
$content
"; elseif ($type=="t") return "
$textomostrar
$content
"; elseif (($type=="tf")||($type=="ft")) return "
$textomostrar
$content
"; elseif (($type=="gf")||($type=="fg")) return "
$textomostrar
$content
"; elseif (($type=="gt")||($type=="tg")) return "
$textomostrar
$content
"; else return "
$textomostrar
$content
"; } add_action('init', 'register_my_script'); add_action('wp_footer', 'print_my_script'); function register_my_script() { wp_enqueue_style('social_lockz', plugins_url('social_lockz.css', __FILE__) ); wp_register_script('social_lockz', plugins_url('social_lockz.js', __FILE__), array('jquery'), '1.0', true); } function print_my_script() { global $add_my_script; if ( ! $add_my_script ) return; wp_print_scripts('social_lockz'); } ?>