WordPress.org

Ready to get started?Download WordPress

Forums

I Recommend This
[resolved] On plugin activation, all my posts disappear from listings (4 posts)

  1. Alex
    Member
    Posted 11 months ago #

    Hello,

    I'm having a javascript issue (between this plugin and another plugin) and was hoping someone could help.

    I'm using the Wookmark plugin to display the listings of my posts in a masonry style grid. To do this, CSS first hides all post listings and then the wookmark jquery kicks in to display them using absolute positioning.

    Problem is - once I activate this plugin, the script doesn't kick in anymore and all my posts are hidden remain hidden, so for some reason this plugin is stopping the wookmark script from loading.

    The wookmark script in my footer is referenced like this:

    <script>
    
    jQuery('.masonry').ready(function($) { 
    
    // Prepare layout options.
    var options = {
    container: $('#content'), // Optional, used for some extra CSS styling - makes the element have height:0
    offset: 23, // Optional, the distance between grid items
    itemWidth: 200, // Optional, the width of a grid item
    autoResize: true, // This will auto-update the layout when the browser window is resized.
    };
    
    // Get a reference to your grid items.
    var handler = $('.masonry .block');
    
    // Call the layout function.
    handler.wookmark(options);
    
    });
    
    </script>

    Any help would be great, because I'd love to get this plugin working!

    Thanks
    Alex

    http://wordpress.org/plugins/wti-like-post/

    http://wordpress.org/plugins/i-recommend-this/

  2. Harish Chouhan
    Member
    Plugin Author

    Posted 11 months ago #

    Hey Alex. Can you please provide link to your website. I could then take a look.

  3. Alex
    Member
    Posted 11 months ago #

    Hi Harish - actually already figured it out. Was an issue with another script I was using.
    Thanks anyway,
    Alex

  4. Harish Chouhan
    Member
    Plugin Author

    Posted 11 months ago #

    Thanks you for confirming.

Reply

You must log in to post.

About this Plugin

About this Topic