Title: [Plugin: Magento WordPress Integration] JS load problem (wordpress end)
Last modified: August 20, 2016

---

# [Plugin: Magento WordPress Integration] JS load problem (wordpress end)

 *  [ciampam9](https://wordpress.org/support/users/ciampam9/)
 * (@ciampam9)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-magento-wordpress-integration-js-load-problem-wordpress-end/)
 * I have portfolio setup within wordpress that uses jquery isotope to dynamically
   cascade items by category. When adding this code:
 * <?php
    // Echo full Magento head file the_block(‘head’);
 * // Get specific elements from the head
    $head = get_block(‘head’, false); echo
   $head->getCssHtml(); // All CSS and JS files defined in your Magento head echo
   $head->getChildHtml(); echo $head->getIncludes(); ?>
 * <div id=”container”>
    <?php the_block(‘header’);
 *  ?>
    It loads the css and jquery from magento just fine but it stops the isotope
   jquery function. When removing the magento blocks from header the jquery loads.
   I have also tried loading js files into the magento directory and defining them
   within page.xml under head. let me know your thoughts. Here is some more code
   reference:
 * **page.xml with added js:**
    [http://screencast.com/t/zrUp2yXCX](http://screencast.com/t/zrUp2yXCX)**
   header.php (wordpress with magento blocks):** [http://screencast.com/t/6BOEgtqOr75w](http://screencast.com/t/6BOEgtqOr75w)**
   functions.php (calls js for wordpress):** [http://screencast.com/t/rkdzNKeUp](http://screencast.com/t/rkdzNKeUp)**
   portfolio.php:** [http://screencast.com/t/Bh5LnvQZn4M5](http://screencast.com/t/Bh5LnvQZn4M5)
 * I tried be as detailed as possible, I hope this helps. Any direction at the least
   would be great! Thanks again, this product has allowed great things to happen.
 * [http://wordpress.org/extend/plugins/magento-wordpress-integration/](http://wordpress.org/extend/plugins/magento-wordpress-integration/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [James Kemp](https://wordpress.org/support/users/jamesckemp/)
 * (@jamesckemp)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-magento-wordpress-integration-js-load-problem-wordpress-end/#post-2900955)
 * Hi ciampam,
 * Are you using jQuery noconflict for you isotope code?
 * Thanks,
    James
 *  Thread Starter [ciampam9](https://wordpress.org/support/users/ciampam9/)
 * (@ciampam9)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-magento-wordpress-integration-js-load-problem-wordpress-end/#post-2900973)
 * I’m not 100% sure, how can I find out
 *  Thread Starter [ciampam9](https://wordpress.org/support/users/ciampam9/)
 * (@ciampam9)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-magento-wordpress-integration-js-load-problem-wordpress-end/#post-2900974)
 * Its not loading the custom jquery. I tried adding the custom jquery code to the
   wordpress custom jquery file but no dice. When the item gets added to the cart
   everything below my header on wordpress is lost. I have also tried adding the
   custom jquery code for the cart directly into catalog/header.phtml
    wordpress
   end when item in cart is added: [http://screencast.com/t/FWa1Iai5](http://screencast.com/t/FWa1Iai5)(
   there is a dropdown that animated via jquery and lists products in the cart. 
   this will still show up in wordpress but no jquery)
 * without an item in the shopping cart on wordpresss:
    [http://screencast.com/t/WYtAcif9VG86](http://screencast.com/t/WYtAcif9VG86)
 * dropdown in magento:
    [http://screencast.com/t/SZ9Fqkeisl](http://screencast.com/t/SZ9Fqkeisl)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Magento WordPress Integration] JS load problem (wordpress end)’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/magento-wordpress-integration_1f262e.
   svg)
 * [Magento Wordpress Integration](https://wordpress.org/plugins/magento-wordpress-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/magento-wordpress-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/magento-wordpress-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/magento-wordpress-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/magento-wordpress-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/magento-wordpress-integration/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 3 replies
 * 2 participants
 * Last reply from: [ciampam9](https://wordpress.org/support/users/ciampam9/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-magento-wordpress-integration-js-load-problem-wordpress-end/#post-2900974)
 * Status: not resolved