• Resolved cobra02

    (@cobra02)


    Plugin doesn’t work with desktop theme (i.e shape theme) whereas mobile plugin (i.e wptouch) works ?

    Any ideas will be highly appreciated

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    do you have a link to a page where the problem occurs?

    Thread Starter cobra02

    (@cobra02)

    Yes this is the link http://www.choquenet.com/nouveau-projet

    If you choose “autre ” the cell “si autre precisez” must disappear

    Sorry it’s in french but if you try the same link on a smartphone it works !

    Thanks for your support

    Plugin Author Jules Colle

    (@jules-colle)

    You have a javascript error on your desktop site.

    GET http://dev-siouxsaintquentin.fr/choquenet/wp-content/themes/framework_sioux/images/background-header.jpg net::ERR_NAME_NOT_RESOLVED

    Please fix this, as javascript errors will break any loading of remaining javascript. So this is very likely the reason that the plugin isn’t working for you. If you haven’t developed/modified the theme yourself, please contact the author and inform him/her about the issue.

    ::EDIT::

    Scratch that. After inspecting the source a bit I realized that the plugin’s javascript files aren’t included in the footer. This might be because you are not calling the wp_footer() function in your theme file, or because a plugin is disabling scripts loading in the footer. Could you check this please?

    • This reply was modified 9 years, 7 months ago by Jules Colle.
    • This reply was modified 9 years, 7 months ago by Jules Colle.
    Thread Starter cobra02

    (@cobra02)

    The first point is fixed no more orphelin link.

    For the second one can you precise me the way to include your plugin’s javascript files into the footer.php

    is look like this :

    
    <?php
    function your_function() {
      ?>
      <script>
        // JS code here
      </script>
      <?php
    }
    add_action( 'wp_footer', 'your_function', 100 );
    ?>
    
    

    thanks

    Thread Starter cobra02

    (@cobra02)

    Well I found what’s wrong

    I just needed to add the line below to the footer.php file:

    
    <?php wp_footer();?>
    

    Now it works !

    Plugin Author Jules Colle

    (@jules-colle)

    awesome! 🙂

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

The topic ‘Trouble with desktop theme’ is closed to new replies.