WordPress.org

Support

Support » Plugins and Hacks » I Recommend This » [Resolved] On plugin activation, all my posts disappear from listings

[Resolved] On plugin activation, all my posts disappear from listings

  • 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/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] On plugin activation, all my posts disappear from listings’ is closed to new replies.
Skip to toolbar