Home › Forums › Lite Version › no javascript
Tagged: javascript fallback
- This topic has 5 replies, 2 voices, and was last updated 6 years, 5 months ago by
Masonry Guy.
- AuthorPosts
- November 3, 2014 at 3:52 pm #2536
simon
GuestHi, is it possible to create a no javascript fallback?
November 4, 2014 at 3:57 pm #2550Masonry Guy
KeymasterHi Simon,
Sorry there is no javascript fallback.
Thanks
November 4, 2014 at 11:53 pm #2555simon
GuestThere 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
November 4, 2014 at 11:54 pm #2556simon
Guestand add that to the wml_container.php file in “includes” folder of the plugin
November 4, 2014 at 11:56 pm #2557simon
Guestoh 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 buttonhope that helps someone! I just discovered this 30 minutes ago
November 5, 2014 at 3:59 am #2558Masonry Guy
KeymasterHi Simon,
Thank you so much for sharing the solution here. Hope this will be helpfull to anyone that wish to have javascript fallback.
Thanks.
- AuthorPosts
- The forum ‘Lite Version’ is closed to new topics and replies.