Note: This is my solution from 5 years back:
I was able to solve it. The debugging showed that the Grid was undeclared so I added Grid.init(); to its portfolio.js file itself, and it worked after that. Thanks a lot. 🙂 – Hardeep Asrani Jul 8 ’15 at 3:13
Related Posts:
- pass object/JSON to wp_localize_script
- How to alter the text of the post “Excerpt” box label in WordPress post editor?
- What is the best practice for customizing a plugin’s JavaScript/jQuery?
- How do I “unhook” / de-register jQuery so that it’s not called as part of wp_footer();?
- How to Change CSS Variable value in Theme Customizer Live Preview
- WordPress Google Maps in Custom Theme
- wp_enqueue_script being ignored in custom theme
- Getting jquery to work with custom theme
- Adding wp_enqueue_media(); causes problem
- How to correctly add JQuery in a WP theme?
- Toggle Sidebar Display
- Including Javascript options
- Unhook jQuery from WooCommerce via `functions.php`? [closed]
- Fancy-box Esay wordpress plugin fails to work on Multilingual site
- WP 3.1 upgrade breaks AutoFocus+ theme
- Difficulty loading jQuery with wp_enqueue_script
- jQuery not available to other scripts
- My javascript jquery won’t work?
- Implementing FancyBox
- How to: JQuery multiple wordpress media uploader buttons in the same options page?
- Post thumbnail to append post content via ajax click event
- Would to use AJAX to get an option from the database and use it in a jquery setup or is there an alternative to consider?
- Using page-id-{ID} from body_class() in local dev, versus live staging
- My jQuery is enqueued properly. So why isn’t it working?
- Custom theme, contact form 7 & fast secure form doesn’t work
- Javascipt issue on custom theme
- How to make javascript work on theme options page
- JQuery undefined and Stylesheet loads in bottom along with js files
- Weirdness in jQuery supplied with WordPress
- jQuery from parent theme loaded with many other scripts in a single min.js file
- Trouble in enquing all js files under certain directory
- How do I implement jPanelMenu?
- loading javascript after jquery is loaded
- MapPress Easy Google Map in Jquery Tabs Problem
- I don’t think WordPress is loading jquery or bootstrap js
- how can i remove js file from my footer in wordpress
- How to properly use AWS SES for a contact form?
- Embedding CodePen Calorie Script – jquery error
- How to load jQuery with Ajax in WP version 5.3.2?
- How to enqueue scripts properly with ES6 webpack?
- Infinite scroll without plugin using ajax
- change background image on scroll
- how to add jquery to wordpress
- How would I get this to work – send to post from thick box
- FitVid not working for iframes on particular theme install
- Enable WP to accept standard jQuery code embeding between the tags [duplicate]
- WordPress custom jquery not found
- Passing a location-dependent array via wp_localize_script within a shortcode
- enqueue script if page is not equal to
- Set start page depending on screen width [closed]
- WordPress Subpages Fancybox Trouble
- Theme now uses require.js and enqueue script no longer works
- can’t add EVENT LISTENER to a element
- jQuery Snippet Not Working on WordPress Site [closed]
- WP Customizer get control value on change
- Execute javscript when theme customizer loads (autosave issue)
- WordPress Includes mejs 404 error
- Menu items description? Custom Walker for wp_nav_menu()
- Sizing screenshot.png without losing aspect ratio
- “Quick Edit” > update clears out my custom meta values
- Add default Backgrounds
- Page template in two level deep folder
- Best practices – Should I create a child theme vs. customizing a framework theme? (such as HTML5 reset)
- Worthwhile to restrict direct access of theme files?
- Use of undefined constant FS_CHMOD_DIR – assumed ‘FS_CHMOD_DIR’
- How to remove header images from all pages except the home page? skeleton theme
- Why use while over if in single wordpress posts?
- First completely customized theme, where should I start?
- Single Theme folder for Multiple WordPress
- Theme Options page not showing up in admin menu
- Cutomize Colors utility: How to add more configurable colors to a theme
- Removing non native customizer settings from a child theme
- How to prepare the HTML for WordPress [closed]
- Create wordpress header with custom logo in between the menu splitting the menu into two equal parts [closed]
- gutenberg add classes to list items
- wordpress post category shows double`
- $this->get_field_id() not working in customizer
- Menu jumping when calling it via PHP
- How to modify default controls in WordPress theme customizer
- Why am I getting a white screen without a slash at the end of the address?
- Wireframe tool for WordPress theme [closed]
- Child Theme header1.php file not overwriting parent theme’s header1.php file
- Where WordPress Stores The Custom Fields Values
- Overrride buddypress theme function [closed]
- Custom Post Type Query issue
- Do i need escaping get_the_passsword_form function?
- I need to develop a one-page design
- index.php file in wp-content/themes/ folder
- How to format the first line of a post differently?
- show_option_none not working in meta box
- Is there a template tag I can use to link to the archive page corresponding to the month that a post was published on?
- How do I open a post in a custom page in wordpress?
- add diffrent images to a page
- How to test another theme in a live WordPress website instead of live preview?
- Editing Them with Child Theme Basics [closed]
- Theme option page doesn’t save options
- footer menu changes primary menu
- Im using a right approach to use this class inside WordPress theme?
- Bestway to write php functions
- How to change order of elements using a child theme