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
/** | |
* 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. | |
* |
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
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'); |
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
$(document).ready(function() | |
{ | |
}); |
NewerOlder