WordPress.org

Ready to get started?Download WordPress

Forums

Slideshow
[resolved] Nothing happens !!! (8 posts)

  1. danielhenrythomas
    Member
    Posted 1 year ago #

    The software seems very nice and complete, easily managed and deployed... except that it doesn't work for me. After inserting the proper code within a post, nothing happens in result... no slideshow at all.

    http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/

  2. Stefan Boonstra
    Member
    Plugin Author

    Posted 1 year ago #

    That problem could be caused by multiple factors. Could you perhaps see your website?

  3. danielhenrythomas
    Member
    Posted 1 year ago #

    Hello Mr. Boonstra,

    Thanks for your very quick response !!!

    I uninstalled your plugin, and then installed a couple of others... and none of them works. So I guess this has to do indeed with some other different reason, possibly the problem must be ME, not your plugin.

    I am going to install it again and show you the URL a.s.a.p.

    Thanks !!!

  4. danielhenrythomas
    Member
    Posted 1 year ago #

    Hello Mr. Boonstra,

    Again I reinstalled your plugin, and inserted its code in a post, which you can see here: http://gallimore-aguirre.panama.vg/portafolio/bufete/

    The WP code of this page is the following:

    <table width="100%" border="2">
    <tbody>
    <tr>
    <td>
    here goes the slideshow code:
    [slideshow_deploy id='179']
    </td>
    <td>
    here goes some info about the images
    (aftwards the table will have no border)
    </td>
    </tr>
    </tbody>
    </table>
    <br class="yanny" /><br class="yanny" />
    [gallery]
    <br class="yanny" /><br class="yanny" />

    As you can see, the code [slideshow_deploy id='179'] is indeed present immediately after it says "here goes the slideshow code:", but in the resulting page there appears nothing at all.

    Can you please advise?
    Thank you !!!

    Greetings from Costa Rica !!!

  5. danielhenrythomas
    Member
    Posted 1 year ago #

    Hello Mr. Boonstra,

    Just to experiment, I changed the theme and as a result your plugin displayed beautifully.

    I became a little tired of "Suffusion" and these other WP Themes which are obscure and get updated so very often... so for this one development, I decided to create a Theme from scratch, including nothing but the most essential code...

    But now, after my experiment, it is clear that the problem lies within my primitive lacking Theme, and

      NOT in your plugin

    , which

      works perfectly
    (I will immediately change my evaluation from "Broken" to "Works")...

    Please share your opinion, Mr. Boonstra: what would I need to add to my Theme so that your plugin will work as in other themes? I'm wondering if maybe the JQuery library might be missing, or something of the sort?

    Thank you !

    Daniel

  6. Stefan Boonstra
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Daniel,

    The slideshow is on the page indeed, but the script to make it work isn't. The script is loaded automatically into the footer by WordPress, but the theme needs to call the '<?php wp_footer(); ?>' function to tell WordPress where the footer is.

    The '<?php wp_footer(); ?> function call needs to go into your theme's 'footer.php' file, right before the '</body>' tag. You can read more about it here.

    The jQuery script will automatically be loaded by anything that requires it.

    If you're really starting from scratch, I'm guessing you may also be missing the '<?php wp_head(); ?>' function call, which should be placed in 'header.php' right above the '</head>' tag. This is necessary because some plugins need to place their scripts in the '<head>' area of the website. More information about the 'wp_head' function can be found here.

    Best regards,
    Stefan

  7. danielhenrythomas
    Member
    Posted 1 year ago #

    Hello Stefan,

    WOW !!!

    Thank you immensely for your help !!!

    I was aware that there might be some trouble with me attempting to start my own Theme from scratch, but I was also looking forward to learn new things that would help me greatly in future developments...

    It happened exactly as you had imagined, effectively I didn't have the <?php wp_header(); ?> and the <?php wp_footer(); ?> pieces of code, which in my ignorance I thought weren't truly important... but now with your help I've learned that these are action hooks which must be present, as they provide access to libraries and are used by plugins, like yours.

    After adding this action hooks to the header.php and footer.php templates, your plugin now works perfectly with my extremely simple Theme made from scratch...

    By the way, I encourage people to start their own themes from scratch as well... it feels good to enter the WP Theme Editor and find ONLY templates which you are actually using, and sometimes it's even faster to do it yourself than to plunge within some strange complex Theme trying to force it into your design expectations...

    Again, Mr. Boonstra, thank you again for your help and basic WP Theme Education, this is a topic resolved !!!

    Greetings from Costa Rica !!!

  8. Stefan Boonstra
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Daniel,

    I'm glad to see the slideshow working on your website. It's very nice indeed to start from scratch on a theme.

    Goodluck on your website(s)!

    Best regards,
    Stefan

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.