Topic: no javascript | WP Masonry Layout

no javascript

Home Forums Lite Version no javascript

This topic contains 5 replies, has 2 voices, and was last updated by  Masonry Guy 5 years, 1 month ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #2536 Reply


    Hi, is it possible to create a no javascript fallback?

    #2550 Reply

    Masonry Guy

    Hi Simon,

    Sorry there is no javascript fallback.


    #2555 Reply


    There is however a way of adding one, for anyone else who wishes to do this

    <div class=”wmle_container” id=”wmle_container” data-load-status=”ready”>
    <div class=”wmle_item_holder <?php echo $shortcodeData[‘wmlo_columns’] ?>”></div> <!– FILLER DIV FOR WIDTH REFERENCE –>
    <?php include( TEMPLATEPATH . ‘/news-loop-fallback.php’ ); ?>

    and create a normal php loop for the posts/post types, with standard pagination if required

    #2556 Reply


    and add that to the wml_container.php file in “includes” folder of the plugin

    #2557 Reply


    oh and you may need to add your own masonry and/or relative/float left and adjust styles.
    you can also add a style tag within that file just to hide the load more button

    hope that helps someone! I just discovered this 30 minutes ago

    #2558 Reply

    Masonry Guy

    Hi Simon,

    Thank you so much for sharing the solution here. Hope this will be helpfull to anyone that wish to have javascript fallback.


Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: no javascript
Your information: