Nick Wan nickwanhere

View ieplaceholder
1 2 3 4 5 6 7 8 9
jQuery(document).ready(function($) {
 
jQuery('input[placeholder]').each(function(){
 
var ph=jQuery(this).attr('placeholder');
if(jQuery(this).val()=='')
jQuery(this).val(ph);
 
jQuery(this).focus(function(){
View Wordpress Template Text
1 2 3 4 5 6 7 8 9 10
/**
* Template Name: Showcase Template
* Description: A Page Template that showcases Sticky Posts, Asides, and Blog Posts
*
* The showcase template in Twenty Eleven consists of a featured posts section using sticky posts,
* another recent posts area (with the latest post shown in full and the rest as a list)
* and a left sidebar holding aside posts.
*
* We are creating two queries to fetch the proper posts and a custom widget for the sidebar.
*
View Wordpress Add JS CSS
1 2 3 4 5 6 7
function my_scripts_method() {
wp_deregister_script( 'jquery' );
wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js');
wp_enqueue_script( 'jquery' );
}
add_action('wp_enqueue_scripts', 'my_scripts_method');
View jQuery: ready
1 2 3 4 5
$(document).ready(function()
{
 
 
});
Something went wrong with that request. Please try again.