Forums

Easy FancyBox
[resolved] not placing the needed javascript and css in the page header (6 posts)

  1. juanyerfo
    Member
    Posted 4 months ago #

    Hi there,

    My theme is not placing the needed javascript and css in the page header. Is there a fix for this?

    Bellow is the url to the fancybox, when you click on them it does nothing

    http://4xtrader.net/testss/

    Please help me!!

    Thanks in advance

    Juan

    http://wordpress.org/extend/plugins/easy-fancybox/

  2. RavanH
    Member
    Posted 4 months ago #

    Go to your Settings > Media admin page and activate at least one section under FancyBox. For inline content, activate Images & Inline...

    Oh, and you might need to deactivate prettyphoto and shadowbox if it still does not work.

  3. juanyerfo
    Member
    Posted 4 months ago #

    thanks for the fast reply RavanH, ok I enabled Images & Inline content from the settings page and deactivated shadowbox and prettyphoto and it still doesn't work, I can now see the loading wheel but after a few seconds it takes you to blank page. I also see the css and java on the header so that's a start.

    Any suggestions?

    Thanks

  4. RavanH
    Member
    Posted 4 months ago #

    It looks like your theme is loading its own outdated version of the jQuery library over the WordPress one. Remove the line

    <script type='text/javascript' src='<?php ... ?>/js/jquery.js?ver=1.3.2'></script>

    from the themes header.php template...

  5. juanyerfo
    Member
    Posted 4 months ago #

    This is what I see in my source code but it's not on my header.php for some reason

    <script type='text/javascript' src='http://4xtrader.net/wp-content/themes/nando/js/jquery.js?ver=1.3.2'></script>

    thanks for the support again

  6. RavanH
    Member
    Posted 4 months ago #

    OK, then you might need to check functions.php to find related code...

Reply

You must log in to post.

About this Plugin

About this Topic