Thank you for your quick response, Albert.
Yes, it is nice to have the infinite scrolling, but the footer is now relatively unstabile. But ok, if the provided information in the footer is not so important than the infinite scrolling is a nice feature.
So I have to try again why the solution that is working for you is not working for me.
All you did was to put the code snippet from mithun in the functions.php and deactivated WP-navi?
Regards,
Karsten
Thread Starter
myhero
(@myhero)
Mithun,
I really like what you’ve done with your website.
Can you please advise how you did the following? Is it documented online?
1) How did you get a breaking news scroller to display with a little arrow on your home page?
2) What Social plugin do you use to scroll with the content in your pages
3) What plugin do you use for the pop-up related articles?
4) And the Icons in your Menu
How did you customise the small headings, to match the theme’s?
Hello myhero,
scrolling social plugin is embedded in theme options
Hello, I’m desperate, I need to add a button to load more and centralizes it, do not want him to get infinite scrolling uncontrolled User need to have control.
I realized that this website has a feature, I looked at several places and did not find, could someone please help me. this is my site
I thank
Hi,
I tried adding code given by Mithun in my function.php but its not working for me.
Do I need to make any changes to other files as well or just copying this code in function.php?
/**
* Infinite Scroll
*/
function custom_infinite_scroll_js() {
if( ! is_singular() ) { ?>
<script>
var infinite_scroll = {
loading: {
img: 'data:image/gif;base64,R0lGODlhAQABAHAAACH5BAUAAAAALAAAAAABAAEAAAICRAEAOw==',
msgText: '<?php _e( '<i class="fa fa-cog fa-spin"></i>Fetching...', 'custom' ); ?>',
finishedMsg: "<?php _e( 'All articles fetched.', 'custom' ); ?>"
},
"nextSelector":".pagination a:last-child",
"navSelector":".pagination",
"itemSelector":".post-row",
"contentSelector":".post-list"
};
jQuery( infinite_scroll.contentSelector ).infinitescroll( infinite_scroll );
</script>
<?php
}
}
add_action( 'wp_footer', 'custom_infinite_scroll_js',100 );
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Please open a new thread. You can always refer back to this thread for context http://wordpress.org/support/theme/hueman#postform