If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #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.





    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.




    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:


    if( !is_admin()){


    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!



    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" />
    <script language="javascript" type="text/javascript" src="http://www.hubbard.co.uk/media/script/jquery-1.3.2.min.js"></script>
    <script language="javascript" type="text/javascript" src="http://www.hubbard.co.uk/media/script/cookies.js"></script>
    <script language="javascript" type="text/javascript" src="http://www.hubbard.co.uk/media/script/global.js"></script>
    <script language="javascript" type="text/javascript" src="http://www.hubbard.co.uk/media/script/jquery.js"></script>
    <script language="javascript" type="text/javascript" src="http://www.hubbard.co.uk/media/script/jquery.extensions.js"></script>

    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.




    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.




    I’ve removed the URL’s for you Chris :)



Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Ajax portfolio with Download Manager shortcode’ is closed to new replies.