no javascript

Home Forums Lite Version no javascript

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2536
    simon
    Guest

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

    #2550
    Masonry Guy
    Keymaster

    Hi Simon,

    Sorry there is no javascript fallback.

    Thanks

    #2555
    simon
    Guest

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

    <noscript>
    <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’ ); ?>
    </div>
    </noscript>

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

    #2556
    simon
    Guest

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

    #2557
    simon
    Guest

    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
    Masonry Guy
    Keymaster

    Hi Simon,

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

    Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Lite Version’ is closed to new topics and replies.