Try and call method `prettyPhoto’ when DOM is ready, replace your code:
jQuery.noConflict()
jQuery(function(){
jQuery("a[rel^='prettyPhoto']").prettyPhoto();
});
with this:
jQuery(document).ready(function($) {
$("a[rel^='prettyPhoto']").prettyPhoto();
});
Also ‘Paid Downloads’ plugins enqueues latest version of jQuery used by WordPress it’s 1.6.1, it would be better if you register same version of jQuery from Google-CDN as WordPress does
Related Posts:
- WordPress Enqueue Script Chaos (jQuery & Foundation.js)
- Check javascript file Proper way in functions.php
- Javascript as Jquery Function Call?
- Integrating WordPress Content into a jQuery Slider
- Ajax button “Load more” is not loading correct language version posts for logged out users
- Between functions.php (theme), widgets, and plugins, which is loaded first?
- Pass PHP variable to javascript
- Is there any sort of theme dependency management?
- How to make plugin required in a wp theme without using php conditional statements when calling an individual function from that plugin?
- force enqueue script to be first in order of prominence
- WordPress 3.5 Media Manager – add a button
- How do I cleanly override a plugin’s CSS with a child theme?
- Is it possible to stop selected plugins from loading on certain template pages?
- Can I make plugins required?
- How can I make default jquery version of WordPress “async”?
- Add Plugins to WordPress Theme
- Hide wordpress plugins from list
- wp_enqueue_scripts not working in custom theme
- Help making my pagination plugin better
- What is the correct way for a theme to support plugin UIs?
- Automatically install wordpress plugin at theme activation
- When coding a WordPress theme, where does the theme (i.e. the presentation) end and the plugin (i.e. the functionality) begin?
- Adding a text domain to every __(), _e() and __n() gettext call without a plan to create own translations
- Handling jQuery Component Collision
- How to Add jQuery Infinite Scroll to My Custom Archive Page
- How to call “page specific menu items” in template [closed]
- Create WooCommerce Product Category Programmatically
- Can we completely remove the WordPress Sitemaps (WordPress 5.5)?
- WordPress tips for speed and performance [closed]
- How to access options of Redux framework in front end
- Update Multiple Post Meta for the Same Post In One call?
- Function to activate WordPress theme inside a plugin
- jQuery plugin only in one page/post
- Integrating plugins in themes
- Seeking clarification on page request life-cycle
- Is dynamic forms/entries possible in Widget?
- Which functions in theme or plugin load first
- Get info (url) from already enqueued styles
- How to hide fields from my user profiles
- How do I make my wordpress page more friendly for mobile viewers?
- Custom plugin giving: wp-admin/admin-ajax.php 400 (Bad Request)
- Editor not displaying dynamically after clicking on the button
- jQuery AJAX call not executing in Plugin
- How to fetch serialized data from wordpress options
- login to wordpress with Get variables instead of Post
- How to make my plugin theme-independent?
- Should I add sharing buttons using a plugin or directly in my theme files?
- How to load a new template page according to a particular URL?
- Should I use RIPS tool to test my themes and plugins?
- How to load plugin before the wordpress jquery?
- WordPress Plugin development Call to undefined function jQuery()
- Add jQuery to WordPress page
- Translate third party plugin and save translation files in custom theme
- Add custom buttons with custom actions in Edit Post screen in WordPress?
- Code in theme functions.php faster than with a plugin?
- How to Build a Movie Library in WordPress 3.x
- Why is my ajax call refreshing the page?
- How do I future proof my older WordPress theme?
- How do I use WordPress PHP functions in my Javascript code?
- resize only height using wp_get_image_editor
- Disable wordpress from including jQuery in the head section
- What’s the point of using WordPress’s built in admin-ajax.php?
- Admin-ajax.php is dying “0” without processing function
- Autoload via composer in plugin interference
- Workflow and best practice for documentation [closed]
- Is there a quick way to inject i18n domain into theme/plugin files?
- How to load default scripts included with WordPress correctly?
- register_theme_directory somehow “fails” when folder is outside of WP-Folder
- Get image URL from media library in input
- Display future posts?
- How to create popup same as wordpress popup feature
- Only execute jQuery function(on document ready) on the page has shortcode from plugin [duplicate]
- Ajax with jQuery UI dialog not working
- Plugin jQuery version VS Theme jQuery version: search for best practice
- WordPress language switcher
- Having separate plugins and themes folder for multi-site setup
- Showing Co-Authors on post page
- How can I get full attachment url from wp_get_attachment_metadata?
- Adding a jquery script to plugin contact form 7
- WP theme with Backbone
- jQuery function didn’t work in my plugin
- Translating plugin inside the theme [closed]
- unzip a folder on specific location and delete the zip file
- WordPress 3.5 Media Manager – add a button
- Editing Theme to apply Co-Authors Plus
- jQuery Plugin to use WordPress functions in AJAX request
- Handling jQuery Component Collision
- gallery option is not available in media upload box in costum theme option page
- How to limit WordPress pages during updates?
- Why are some of my thumbnails not being generated?
- How do I make sure a plugin loads a script after jQuery
- Why is the Settings API is not saving my array of options
- how to include a simple jquery file into a wordpress plugin
- Built in audio player?
- How to retrieve custom meta term of category taxonomy from WP Rest API?
- Include Max mega menu Plugin into theme
- Add get_option to jquery
- How to integrate plugin in WordPress theme
- How to include plugin without activation?
- How do you remove plugin edit option?