October 31, 2012 at 3:13 pm #16989
Hi, Im using WP Download Manager (www.wpdownloadmanager.com) and the shortcode doesn’t seem to want to work in the ajax portfolio. It works when you view the individual portfolio page but not when you are using the ajax interface.
Please see: **removed by Devin on request**
if you click on ‘360 Alpha Panel Van Refrigeration’ (for example), the shortcode doesn’t work. It just displays [wpdm_package id=5]
However, it does work if you go to the portfolio page here: **removed by Devin on request**/
Can someone help me with this? Ive got no idea what to do in order to get the download manager shortcode working in the ajax portfolio.
Chris.November 2, 2012 at 3:12 am #93798
You have 3 different versions of jquery running in each page, which is never a good thing, v1.72, v1.26 and v1.32, Would you please remove the older two please
Hopefully that will do the trick.
NickNovember 2, 2012 at 12:53 pm #93799
Hi Nick, thanks for your help, i have tried disabling the different versions of jquery but still the shortcode wont work.
I have also tried adding the following to functions.php but it broke the site:
wp_register_script(‘jquery’, (“http://www.hubbard.co.uk/test/wp-includes/js/jquery/jquery.js?ver=1.7.2″), false, ‘1.7.2’);
Thanks so much for your help with this!November 4, 2012 at 2:17 am #93800
Well its hard to say looking at your setup because you have jquery files showing not their real path, path rewritten same as if they were pretty permalink.
<link href="http://www.hubbard.co.uk/media/css/cookiesnew.css" rel="stylesheet" type="text/css" />
This is not a part of the theme, so it’s probably from a plugin but its over 5 years old, so not even sure what kind of plugin it could be. Lets start by unplugging every single plugin you have, and see if that block of code can be found when viewing the source. If not, they slowly start adding the plugins back one by one and eventually u will find who is disturbing things. You crashed when trying to take off jquerry is because you are somewhere using code that’s too old to understand the new jquery . The download manager , the cookie plugin or something with social media is likely the one.
Once we get the plugin removed and modernize things a bit, ajax should start working correctly, because i don’t see how its possible for it to work with 3 versions of jquery on the loose.
NickNovember 6, 2012 at 9:35 am #93801
Hi Nick, thanks very much for all this. I will give everything you mention a try.
Would you mind deleting the URLs in my original post? Just so that they are not indexed by google or anything.
Chris.November 6, 2012 at 1:13 pm #93802
The topic ‘Ajax portfolio with Download Manager shortcode’ is closed to new replies.