in ,

How to Add Infinite Scroll to WordPress blog

Advertisement

You may have seen a few blogs that have infinite scrolling. As you scroll down the page, older posts load automatically. There are many themes that come with infinite scroll support. If you like this kind of system where users need not click on page links to see other pages, you can add infinite scroll in your theme. If you think that you need to change the theme for this, you are wrong. Adding infinite scroll to any WordPress theme does not take more than 1 minute in any case.

There is a nice WordPress plugin called Infinite Scroll plugin. You only need to install it and activate. It will automatically add infinite scroll to your WordPress theme. It works fine on more than 90% WordPress themes available. But few custom themes do not support this plugin because of different structure. On those 10% themes, you need to adjust selectors. To adjust selectors, go to the plugin settings page.

Read how to install a plugin in WordPress from the dashboard.

After installation, this plugin pre-fills the standard selectors  So all themes that are built on these standard selectors support this plugin. But themes that do not use these standard selectors, you can change the selectors.

Advertisement

How to Add Infinite Scrolling to WordPress blog

If you know CSS well, you will easily customize the settings for your theme. You can also add loading image, loading text, the end text from the general options page of the theme settings.

This plugin only works on Blog’s home page. It will not work on category pages and tag archive pages.

If the plugin is not working on your theme and you can edit the theme code, you can read this nice article on tutsplus that shows how you can edit the theme code to add infinite scroll on your theme.

If you are using Jetpack, you have another option to add infinite scroll. Read this detailed article to know how to add infinite scroll in WordPress theme with Jetpack.

Advertisement

Written by Deepanker

Deepanker Verma is the founder of Techlomedia. He is a tech blogger, developer and gadget freak.

Leave a Reply

Your email address will not be published. Required fields are marked *

Loading…

WhatsApp

How to check If Someone Has Blocked You On WhatsApp

You may have noticed that some Wordpress blogs have comment form but not URL field in it. Spammers generally fill your blog with spam comments just to get backlinks. So removing URL field from the comment form helps us to protect blog from these spammers. This must be done if you have auto approval of comments turned on in your blog. In this post I am writing few easy methods of removing URL field from Wordpress comments form How to Remove URL field from WordPress Comments by editing code Removing comment field from is an easy task if you know how to edit or modify code. You can use this code and add it in functions.php file: add_filter('comment_form_default_fields', 'unset_url_field'); function unset_url_field($fields){ if(isset($fields['url'])) unset($fields['url']); return $fields; } How to Remove URL field from WordPress Comments with plugin If you do not know how to edit code or afraid of doing this, you can try a nice WordPress plugin that will remove URL from comment form automatically. This plugin is disable-hide-comment-url. After installation, it will remove URL option from comment box. By following above methods, you can remove URL field from comment box and prevent spam bots from your blog. If you know any other easier method of doing this task, you can share it with us via comments.

How To Remove The URL Field From WordPress Comments Form