- NewsmagBlock settings tutorial
- NewsmagHow category settings work
Often the 502 happens due to too many processes running (kill script). You can try limiting queries, turn off stuff like XMLRPC, images in search box, related stories with images (more from author), ajax show more, infinite pages scripts, mega menus with posts; increase execution time for php, memory allocated to site, memory allocated to WP (e.g,. 256M vs default 40M in wp-config.php – ) etc.
Hello. After adding the Block 13, i notice that the first posts, after “infinite loading” starts working, are the same, even with “Unique articles“active. My website if u want to check: http://www.somosung.com/
Hello ofekin,
First of all, please ensure that our theme does not have any such an option that allows you to enable the infinite loading for post pages but only for pages, sorry! If you want to have this type of pagination for your page, notice that you should use any block from our list and setup the pagination from here -> https://www.screencast.com/t/40aExqY3oM
Also, if you want to hide the footer for mobile devices, notice that you should use a bit of CSS code to achieve this. Try the code below and place it in Theme panel -> Custom CSS area.
The code is ->
@media(max-width:767px){
.td-footer-wrapper{
display:none!important;
}
}
Thanks for your message!
Hi@joeydekoning,
Thanks for the comment.
If you have gone through this thread fully or have read other threads on this ‘infinite scroll thing’, you must have figured out that we ( includes many the Tagdiv community members) are still trying to figure out like how we can make this work even if we can’t exclude some categories.
So, if you have already figured out some configuration for this plugin, kindly share the solution with the community members here or in the thread- https://forum.tagdiv.com/topic/need-little-help-with-most-demanded-auto-load-next-post-thing/
Also, I am not sure on which plugin you have actually worked. on https://infinite-scroll.com/ ( Plugin : https://wordpress.org/plugins/infinite-scroll/ ) or https://wordpress.org/plugins/auto-load-next-post/ ??
If you are a developer and have already tried one of these, try other to get what you want.
PS: Don’t forget to share the solution with the Tagdiv forum community. Thank you.
Was looking at this plug-in and can get it to work. However their “category exclude” feature does not work, so infinite scroll will load all posts chronologically.
Do you recommend any other plugins, canned solutions?
Hello Deepanshu Choudhary,
If you want to have an infinite scroll at your homepage, you should simply use a block if you like it and also, setup the pagination to be infinite load from here -> https://www.screencast.com/t/WWAlh8tgEm Also, if you want to have ads on left and right both on your homepage you should try using the layout with 3 columns and use the Widgetised sidebar, like this -> https://www.screencast.com/t/116BSxHnE On the single post, the theme does not have this such an option, sorry!
Thanks for your understanding!
Hi there,
We noticed that with Infinite Pagination & Load More option activated, we get duplicate posts loading on a category page.
We therefore have switched back to normal pagination to solve the issue.
Are you aware of this issue, and is there a simple fix?
Thanks
Tim
Hey there, I am facing problem in enabling the infinite scroll option for my website’s homepage on the newspaper theme. Please help me for the same.
And, How can i place ads on both the sidebars, i.e. – left and right both on the homepage and single post.
Thank You
Deepanshu Choudhary
The loading translation of infinite scrolling in my home page is aligned at top, overlapping a portion of post titles. Is there any way to shift it little downward?
Hi Chris,
Yes, I am aware of that but it needs little extra customization for it to work on the Newspaper theme.
In a separate thread here: https://forum.tagdiv.com/topic/need-little-help-with-most-demanded-auto-load-next-post-thing/ , I Have clearly explained what we need to customize under this plugin as I couldn’t do it myself because of limited coding knowledge.
And sadly any TagDiv members didn’t appear to help with this.
One another great tool for this is: https://infinite-scroll.com/ These are the behind great old plugin https://wordpress.org/plugins/infinite-scroll/ . This plugin is outdated though, but their JS on the site is updated.
See if you can do some magic ( Even though you hate it. 🙂
Thank you.
In https://themeforest.net/item/newspaper/5489609/comments posted the following comment:
—–
We have update our sites to V8.0 recently and came across the next problems/failures:
1./ In categories list display the PAGINATION STYLE ‘Infinite loading’ is not working anymore. Although the ‘spinner’ is shown NO new posts are loaded and shown.
2./ In the single post display (irrespective the chosen Style) the content area is displayed with the same width as the container, with the sidebar on top of the content. A small change in the style.css by isolating class .tdc-row (not defining width ) from the .td-container (container sections (line 445, 730, 838)) corrected this behavior.
—–
In addition to issue 1. Deactivated all non-TagDiv plugins to check on a possible Plugin conflict, but this did not help.
Hello,
This happens because of the custom nature of your infinite loading block. The css does not apply properly as the css code was created for pages not posts. In ordewr to replicate the design on posts you should reoplicate this css: https://www.screencast.com/t/jQLkhngrjWnc
Thanks.
Hi,
Sorry but there is no code I can provide that will work with the code you provided. It will not work the way you want it to. You will need a custom post template designed specifically for infinite loading. If you really need this customization we suggest you hire a freelancer from sites like studio.envato.com as there is no simple solution we can provide for infinite loading. Sorry.
Thanks.
Hi, Bogdan, thanks for your reply and the concern about the various other cases that can come afterward.
But as you said, there are a lot of things to consider to make these fully compatible. I currently am not looking for the full solution.
I only want to make it work for the single template that I use by default for most of my posts ( no smart lists, isolated templates etc. )
You have written above that:
…. and then the other one grabbed for the next post.
In case you are confusing this infinite scrolling with Auto load next post thing, the both things are totally different. We have discussed separately about auto load next post thing here- https://forum.tagdiv.com/topic/need-little-help-with-most-demanded-auto-load-next-post-thing/ but this is a sperate case.
And I noticed that you guys have already helped a lot to make us be able to use the infinite scroll here- https://forum.tagdiv.com/topic/implement-infinite-scroll-on-single-posts/
Everything is working already. You just need to help us stop ‘smart sidebar’ once the ‘Visual composer’ based tag for ‘infinite loading’ starts.
One look at the code of http://darnkid.com/illustrations-show-the-unique-bond-between-dads-and-daughters/ or http://www.storypick.com/success-is-the-best-revenge/ ( both using infinite scrolling with TagDiv Newspaper theme along with proper use of smart sidebar) may solve this issue.
If you don’t want to help, I will surely hire someone to do so, but since you guys have already done a lot about this ( https://forum.tagdiv.com/topic/implement-infinite-scroll-on-single-posts/ ), I don’t see much point to hire someone else for just one simple ( or may be not?) part of it.
So, please reconsider this post.
PS: Has Probably Andrei L. left the TagDiv team? He has worked a lot on this under this thread -https://forum.tagdiv.com/topic/implement-infinite-scroll-on-single-posts/ .
Thank you.
Hello,
Well since the smart sidebar was never designed to work with infinite loading there is missing functionality that needs to be implemented in the sidebar function in order for it to stop at the end of the post and then the other one grabbed for the next post. But since this was never part of the theme but a customization you made, you will have to create the implementation for the sidebar as well if you want to have smart sidebars on infinite posts.
Sorry but this is not tested and there is no official solution I can provide for infinite loading. Sorry. The process is more complex than that though. what if you use different post styles? what if you use a smart list? there are a lot of things to consider when creating such customization. That is why we have not been able to figure it out properly as there are many things to consider and the implementation has to be done proper, not just make it work in specific isolated cases. That is why this feature is not yet part of the theme as if the solution were that simple, it would already have been implemented.
Sorry but we cannot provide any assistance into this until our development team decide it is a feature that will be implemented into our theme.
Thanks.
Hi Bogdan,
Thanks for your reply. I very much know about the time issue and I do understand the TagDiv Team limitations. Though my question written above might appear lengthy it was more to give an idea about the solution that can work.
The support that I currently require doesn’t need you to dive deep into these things. I only wanted to know about the file names of 4-5 codes that are specifically used by Tagdiv team in replacement of the standard WordPress codes.
Making it more simple, can you please provide the ‘Newspaper’ theme friendly version of this code:
// Check that there are posts to load.
while (have_posts()) : the_post();
$post_format = get_post_format(); // Post Format e.g. video
// Load content before the post content.
do_action('alnp_load_before_content');
// Load content before the post content for a specific post format.
do_action('alnp_load_before_content_type_'.$post_format);
if (false === $post_format) {
// Include the standard content.php file.
get_template_part($template_location . 'content');
} else {
// Include the post format content.
if (locate_template($template_location . 'format-'.$post_format.'.php') != '') {
get_template_part($template_location . 'format', $post_format);
} else {
// If no format-{post-format}.php file found then fallback to content-{post-format}.php
get_template_part($template_location . 'content', $post_format);
}
}
This code has few file name like the_post() $post_format get_template_part($template_location . ‘content’); , you just need to replace these codes with the filename/code that Newspaper theme support. Or if these codes are already supported by this theme, let me know that as well.
Thank you.
PS: if your team is really interested in creating something inbuilt for this in future. Here is great site that provides some inbuilt codes for it: https://infinite-scroll.com/
. these are the behind great old plugin https://wordpress.org/plugins/infinite-scroll/ and now they are working on V2 of this plugin.
Have a look at this:

These blocks are place at the bottom of post as an infinite scrolling blocks using tutorial mentioned here – https://forum.tagdiv.com/topic/help-with-infinite-post-blocks-scrolling-in-a-single-post/
Kindly notice the style/design of the title of this block ( shown with the arrow). How can I assign it some other header design amongst 10 such header designs available with us. Also, why this design isn’t the global header design set for my website. Help me design it a bit. Thank you.
Hi Tagdiv,
With the help of a tutorial written here – https://forum.tagdiv.com/topic/implement-infinite-scroll-on-single-posts/ and by using some common sense, I was able to apply infinite post scrolling on a single post.
Here is the step I took for this:
1. I am using TagDiv composer for the pages but to be able to use infinite scrolling on a single post, I have to enable Visual Composer for posts.
2. I wanted block-3 design and my default post type is: Style-1 so, I edited loop-single-1.php, I added the required code
Here is the code that you need to add under loop-single-1.php after <?php echo $td_mod_single->related_posts();?>
<?php $category_detail=get_the_category($td_mod_single->post->ID);//$post->ID
foreach($category_detail as $cd){ $cat_name = $cd->cat_ID; } $exclude_current_post = $td_mod_single->post->ID; echo do_shortcode('[vc_row][vc_column][td_block_3 custom_title="All LATEST STUFF" separator="" post_ids="'. -$exclude_current_post .'" category_id="' . $cat_name . '" limit="6" td_ajax_preloading="preload" ajax_pagination="infinite" ajax_pagination_infinite_stop="3" tdc_css=""][/vc_column][/vc_row]'); ?>
Though it worked properly, but I face two main issues.
1. I am using smart sidebars on each post and usually, it works great. With this infinite scrolling. I noticed that ‘The smart sidebar’ keep scrolling even above the full width infinite scrolling post blocks, and hence it overlaps.
( Here is the snapshot of overlapping – http://i.imgur.com/WCZfHcN.jpg )
How to make smart scroll stops once infinite scrolling starts? I noticed that this site ( http://www.storypick.com/short-film-affair/ ) is successfully able to use infinite scrolling and smart sidebar both. Please help me with this.
Overall, I want to to have a function like this: http://darnkid.com/illustrations-show-the-unique-bond-between-dads-and-daughters/ ( created by tagdiv user Darnkid )
2. Is there any way to have this feature without enabling visual composer for posts? Can we use TagDiv composer for this?
3. While trying for many solutions, I looked at a thread which suggested to el_class=”td-ss-row” for this. I tried using it in the above code. Well, though it stopped the overlapping of sidebar with infinite post blocks, it also disables the smart sticky property of Sidebar. What am I missing here?
Kindly help me with this.
Thank you.
Hi,
The load more option will load 2 packs of posts until the load more button shows up:
If you do not have enough posts to show, then you will only see a batch of posts infinite loading but not enough posts to generate sufficient loads for the load more button to show up: https://www.screencast.com/t/qy5S1LqBmY
Thanks
Hi Simion,
Thank for you taking the time to help me out with that good advice. In the end for the first issue of the grid, decided for infinite scrolling which sort of removes paging issues regardless.
On the second issue, successfully implemented a version of what you discribed above by customising Style 2 on the top posts grid. I had to actually also customise it by category so added some logic for that extra detail.
Anyways, all good and it’s starting to look good now. Again thanks for the help 😉
Cheers
Colin
Hi,
The infinite loading pagination is available only for blocks
– https://www.screencast.com/t/9sBbunsx3Vd
– https://forum.tagdiv.com/block-settings-guide/
And as a global or per category setting for the category pages
– https://www.screencast.com/t/NEiot8clnX
– https://forum.tagdiv.com/how-category-settings-work/
If you are not using the mobile theme plugin, the same content that you have on desktop will be displayed on mobile devices as well. When the mobile theme is enabled, this comes with predefined layouts for the homepage, post page etc. More information here
– https://forum.tagdiv.com/the-mobile-theme/
Thanks
Hi,
Sorry but we do not work on weekends.
If you want to implement infinite loading on posts, I can say right off the bat it will not work as we have also searched for a plugin that can do this but could not find a working one. Implementing it will not be as easy as using a plugin as our post templates are custom made.
Here are the classes you need:
post content wrapper: td-main-content
title: entry-title
navigation: td-post-next-prev-content
Thanks.
Hi Catalin,
I neither said, nor believe that TagDiv composer is the copy of Visual Composer, but the whole point of creating a new composer was to have tailor made solution that accompanies the Newspaper theme.
Under various other threads, you had already said that getting ‘Infinite loading next post’ is a tough work and need lot of work, but getting ‘Infinite loading related articles’ was already achievable by VC. As you took care of creating a page similar to VC created page, you could have or can try to get ‘similar result for related articles as well’
Every website owner has one and only one aim- to get more users time on their site and infinite loading can help very much in retaining our users for more time.
So, This is just a request. Rest you already know what you can or you should do further.
Thanks.
I am aware that we don’t have any option to load infinite articles after the end of the first article, but we do already have an option to use infinite loading for ‘More Articles’ or ‘Related Articles’ at the end of the post to display various content blocks with visual composer.
But with the new TagDiv composer, I think this is missing. How can I get infinite loading pagination for more articles? Currently, it has ‘Next/Prev pagination’ by default. Is there any way to make it infinite loading with or without tagdiv composer theme.
Kindly see if there is any possibility now, else I have to switch to Js visual composer 🙁
Thank you.
Hello,
Stability is our main concern. The theme is stable as it is now. People have all sorts of issues because of the way they used the theme. Most of them used special row settings in visual composer that are not available in the new page builder. We have found very few theme related bugs but very many user specific errors and hick-ups due to plugins, custom implementations or simply wrong use of visual composer.
The auto-load unfortunately comes at great cost as it will create many problem with the post templates and as you said, it is better to have a quality product rather then provide lots of buggy options. We have not found a viable/suitable way of implementing the infinite loading for posts.
Thank you!