Advertisement
bdjobair

function.php

Dec 30th, 2014
3,097
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. //LATEST JQUERY CALL
  3. function latest_jquery_call() {
  4.     wp_enqueue_script('jquery');
  5. }
  6.  
  7. add_action('init', 'latest_jquery_call');
  8.  
  9. //Masonary Script CALL
  10. function mason_script() {
  11.     wp_enqueue_script( 'jquery-masonry' );
  12. }
  13. add_action( 'wp_enqueue_scripts', 'mason_script' );
  14. //  wp_nav_menu
  15.     register_nav_menus( array(
  16.     'mainmenu' => __( 'Main Menu' ),
  17.     'footermenu' => __( 'Footer Menu' ),
  18.     ) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement