Your primary problem is that you are de-registering core jQuery. Don’t do that. Ever. Period. If you get rid of that, your other scripts will work properly. Just do this:
function wpse62373_register_js() {
if ( ! is_admin() ) {
wp_enqueue_script('quicksand', get_template_directory_uri() . '/js/quicksand.js', array( 'jquery' ) );
wp_enqueue_script('easing', get_template_directory_uri() . '/js/easing.js', array( 'jquery' ) );
wp_enqueue_script('custom', get_template_directory_uri() . '/js/main.js', array( 'jquery' ), '1.0', TRUE);
wp_enqueue_script('prettyPhoto', get_template_directory_uri() . '/js/jquery.prettyPhoto.js', array( 'jquery' ) );
}
}
add_action( 'wp_enqueue_scripts', 'wpse62373_register_js' );
There are ways to replace core WordPress scripts properly, but I won’t facilitate a bad practice such as replacing a core WordPress script by providing the answer.
Related Posts:
- When to use add_action(‘init’) vs add_action(‘wp_enqueue_scripts’)
- Change admin bar to default:off
- How to add Color Picker in Theme Options for the following?
- Template for individual post designs
- Theme Review: post thumbnail, header image, content width
- How to determine if a category is empty?
- The seventh parameter passed to add_submenu_page()
- What would happen if the admin installs a plugin when the plugin is included in the theme?
- How do I get my child-theme to work with my theme’s includes folder?
- wp_insert_post breaks rewrite rules
- Where can I find a good reviewed collection of Twenty Ten child themes?
- Template Hierarchy for get_header()
- How to add (css) classes to only one wp_nav_menu()?
- Advantages of using instead of wp_enqueue_style()?
- Remove frameborder attribute from iframes
- How to add suggest plugin to theme?
- how do I get a sidebar’s id or number for use with is_active_sidebar()
- Looking for the code in twentyten that allows users to select images for the header/banner
- Relative Time On Posts
- Prevent update check for specific theme
- WordPress as a data intensive web app
- How to determine which custom header image is being shown
- using wordpress without javascript
- Theme Check: Could not find post_class
- Unhook jQuery from WooCommerce via `functions.php`? [closed]
- Override theme programmatically
- Set a static front-page as a landing page programmatically
- can’t understand _e function well
- WP 3.1 upgrade breaks AutoFocus+ theme
- Comment entry screen shows even though “Allow Comments” is unchecked
- How can I display/hide certain content based on a Theme Option field?
- Custom WordPress Theme – Search not working on posts
- How can I make that when I clic on one of the menu items, that page shows only posts with the same category?
- Change content layout based on menu hierarchy
- Theme Loading Into Dashboard
- How to make theme elements customizable in wordpress?
- Where to hook settings api init
- How to obtain a reference to the_excerpt() from custom loop
- defining a folder location in order to recall it
- How can I detect hierarchal relationships beyond children (grandchild, great-grandchild, etc)?
- How can i attach the attachment-ID to the user profile image?
- JavaScript stops working on selectively refreshed sections one inside the other
- Why doesn’t my css work when I check my theme on mobile devices? [closed]
- Remove settings if theme is deleted?
- Common single page template options
- Custom Blocks as part of a theme
- How to set up diffrent mobile theme for single site in WordPress?
- Enqueued JavaScript is not working
- Derive child theme from separate theme
- How to change footer or for different kinds of users in wordpress?
- How to Download Minimum Requirement of WordPress (Not Themes )
- Create a child theme from multiple themes
- Show specific category posts on Genesis framework home page
- How can I use the WordPress Loop and Pagination in multiple instances but different scenarios throughout my site?
- How to determine (via php) if site is using a static home page?
- How to fix : Uncaught ArgumentCountError: Too few arguments to function? [closed]
- I have WordPress setup on primary domain, how do I set it up on its subdomain using the same database?
- Theme development – Automatically menu creation
- How to enable Disqus comments in a WordPress theme I’m creating from scratch? [closed]
- tiny_mce_before_init: ‘exact’ => true has no effect
- pre_get_comments or the_content filter
- using part of a theme in another theme
- Pagination not working on custom post page
- What might cause a featured image not to display?
- How to set default values for edit_post_link() in my theme?
- Remove/Hide a Widget on a Custom Template
- Why is the `if else` not working?
- Creating an advanced searchform based on select boxes
- Setting thumbnail featured image size not working properly
- Why WordPress developer still using timthumb and what are advantages using them? [duplicate]
- finding menu hierachy > wp_get_nav_menu_items
- WordPress Shortcodes – Optional Styles
- I don’t think WordPress is loading jquery or bootstrap js
- Show popover with url and option to open in new window
- Is it possible to show sort page excerpt in search.php
- Custom pages with html in wordpress editor vs. writing it all directly in the php template files?
- How to display home page last modified date in anywhere of wordpress theme?
- Loop is breaking my theme. How can I fix?
- How do you remove the “Your Main Benefit Statement Goes Here.” From one of my pages?
- Error Handling when building WordPress themes
- Show all menu levels except top level. How to exclude top level of a menu?
- Recall translations made with Poedit
- Standard technique for AJAX post endpoint: WP REST or WP API?
- WooCommerce – edit templates
- How to include all files within a folder & its sub folders to functions.php?
- How to achieve this navigation style in wordpress navigation
- How to dowload and edit content of a website
- Uncaught Reference error in Retina.js
- wordpress thumbnail onclick then modal will come out
- Replaceing _custom_background_cb
- Best strategy for providing theme options using customizer
- Theme Development for a Newbie
- How can I fix the even/odd child classes comments so that the comments are unaffected by the top-level even/odd?
- How Does One Create a Global Variable Repository
- get_footer not working boilerplate theme
- Deleting all Options on theme switch
- Retrive posts thumbnail in original size
- How can i move my product name & price from below thumbnail to be the rollover content in Avada & Woocommerce?
- How to set up a development/staging site to make major changes to the theme then update on the live site?
- What is the point of using the front-page.php template? [closed]