- NewspaperInfinite Loading for Single Posts
- NewspapertagDiv Composer – Website Manager
- NewspaperFilters and sorting for taxonomies
- NewspaperFlex Block Settings Guide
- NewspaperHeader Builder
- NewspaperUnique Articles
- NewspaperBlock settings tutorial
Hi,
The code uses the block settings and it should generate the same number of items on load more. I didn’t do any tests with a different value so i cannot tell you exactly what has to be adjusted, you have to make some tests. The code creates a script which is added on top of the block – http://screencast.com/t/S1v9IcNQdioc – the data is used for new requests on pagination (load more, next-prev, infinite load).
On your code i suspect you load 14 posts and then you set 10 for the next load, the offset is set to 10 instead of 14 and this may be the cause why you get duplicate posts. Hope this helps.
Thank you!
Hi,
Unfortunately the theme doesn’t have such an option, you can achieve this only with custom modifications so I suggest to hire a freelancer to do this for you as we cannot provide custom work at this time, sorry! What can be done with the theme is to create a block(filter options, set infinite load pagination) and use do_shortcode function to display it in the post template that you use something like this – http://screencast.com/t/NKjGzgOKWin – http://screencast.com/t/lT1GsCBptd9m
Also you can try to find a plugin that allows infinite load on posts, but we did not tested any of these so I cannot make any recommendations.
Thanks!
Hi,
1/2/3 Unfortunately these theme features are built to work just with posts not pages and to make them support and use pages you need to customize the theme and practically rebuild the function for related articles or socials.
Currently we’re working on adding custom post types support for blocks so once this support will be implemented pages could also be used as CPT like you need them now. Sorry!
a) That section is set with css to have a maximum width of 252px, you can rewrite tat rule using this css: http://screencast.com/t/iQh6wzCx9M
.block-mega-child-cats {
max-height: 500px;
}
Add it in theme panel > custom css section.
b) Unfortunately not because the load more/infinite or next/prev pagination only works on blocks and it can’t be used on loops. Sorry!
c) If you can’t find it in trash to restore it: http://screencast.com/t/icNXEwjZ8rH you can rebuild it and use this content, it’s the demo contact page content: http://pastebin.com/eTt6WVNS – http://demo.tagdiv.com/newspaper/contact/
d) I see you have adjusted the category to use pages so the excerpt function may also need to be adjusted to return page content, I’m not sure but you can take a look at it here: http://screencast.com/t/FKJMzRKrKWpn
Hope this helps!
Sorry for the delay!
Thanks for the message!
Hello,
I have a few questions, to which I hope I can find some solution.
I used to have 20 websites and I’ve just merged them into 1 large website. It happens that among the 500+ pages I have now, 95% are pages, and not posts. I have always used pages as posts and vice versa over the years on my former websites
I realize now, after having imported everything, and put it all in order, that pages have very few rights, be it in the composition of articles or display features. What would seem simple is to use a plugin that will transform all the pages into posts but this will mess up in depth the thousands of internal links, linking articles between themselves.
I’d have the first following questions that concern giving the same features to pages as posts:
1) In “related posts” or to display social networks, can this appear in pages and not posts only ?
2) In the mega menu, only posts appear, not pages, is there a way around it? Because of that I have categories that display nothing as I’ve no posts, but only pages.
3) All in all, is there anything I can do to for the pages to be used and display like posts ?
Other questions:
A) In the mega menu, as in http://www.consobrico.com, if you check the menu with “Salle de bain”, only the first 7 or 8 categories are displayed. However I have 11, but unless the visitor know he needs to scroll down within the menu, these are invisible. Is there a way to have all the categories displayed ?
B) In the category section, for ex: http://www.consobrico.com/category/salledebain/colonne-de-douche/ is it possible to have infinite scroll or “display more’ rather than Page 1/3, Page 2/3 etc…
C) I seem to have mistakenly erased the contact page ex: http://demo.tagdiv.com/newspaper/contact/ with the contact box, etc.. how can I retrieve it?
D) I’ve always used for almost all my content creation the “Thrive Content Builder” plugin. It seems to work nicely with the theme, however it doesn’t display the summary in categories for example http://www.consobrico.com/category/salledebain/colonne-de-douche/ (if you need my login details, let me know where I should send you send these to).
Sorry for all these questions, hopefully we can work out solutions.
Thanks again.
John
Hi,
Unfortunately the load more or infinite load pagination can’t be implemented for loops or post pagination.
If you need another implementation for the latest articles section you can try this functions: http://codex.wordpress.org/Function_Reference/next_posts_link and add them using an div tag on the template you use on your homepage and replace this: http://screencast.com/t/7DlGd290CLB
You can find more details here: https://forum.tagdiv.com/topic/how-just-make-next-and-prev-next-on-pagination/#post-24385
Hope this helps!
Thanks
Hi,
How can i change the default post pagination to either be “load more” button or infinite load rather than the 123 system?
I’m not having any issues with my VC plus i only use it to build my front page with the blocks,i don’t use it for any thing else because it just going put more stress on my server,all the nice features that comes with V6 is nice to have but if you don’t have a good host are server all you going do is make headaches for your self…
I’ve notice that any thing running ajax make your site go heywire that’s why i turn every thing off my site that use ajax also i’ve notice that loading animation of images was slowing my site down as well and i stop using,since i make things simple on my site it run fast and i also have good scores from pagespeed etc..
I don’t use any RELATED ARTICLEs,MORE ARTICLES FLY OUT,SHOW POST VIEWS,SHOW COMMENT COUNT,LOAD MORE,LOADING ANIMATION OF IMAGES,INFINITE LOAD…ALL THESE THINGS USE A LOT OF RESOURCES AND MAKE YOUR SITE RUN VERY SLOW ALSO PUT A LOT OF STRESS ON YOUR SERVER..
Hello,
This is my test site http://43c.81d.myftpupload.com/ on home page i have infinite scroll block/module. Its working but after few rows or around after 30 posts it’s stop working. Do you know why and how i can fix this?
Thanks.
Yasir
Hi,
Please deactivate all plugins, leave just Visual Composer active, clear cache and purge your file if you use CDN, then check if ajax pagination works (infinite load, load more). Also check the posts content. If don’t have this issue anymore please activate your plugins one by on and see which one caused this issue.
If you still have this issue send an email at contact@tagdiv.com and provide wp-access so we can take a look, also paste a link to this topic so we can know who you are.
Thanks!
Hi,
a)i tried all things your listed options, except “you have to set a featured video”, nothing works.
I dont understand what is meant by “set a featured video”.
Do we have to set every single video imported to the site, to featured image? but this doesn’t make sense.
We use a video robot and it imports different videos from youtube etc.
The index page shows these different videos and they change hourly. In the hundreds.
But still after clicking on them it opens the page but there is no video.
I didn’t set up a single post page. We just installed the theme and child theme as in documentation,
and loaded the settings and demos. http://www.yougothype.com is our page. i hope this is the link you want.
Please help.
b)Infinite Load doesn’t seem to work on any page.
Again we followed the email steps you sent but they didn’t work.
Our settings:
In Visual Composer for Main Page/Index page:
Parent – Homepage Infinite Scroll
Template- Homepage Blank
Used Block 8
-multiple category filter(hollywood, rides, luxury)
-Random Posts
Limit Post Number-5 (this is set automatically)
Pagination – infinite load is set
(load more was also tried. this shows on page. but when clicked its shows load circle but nothing more is added or changed. so this doesn’t work either. FYI.)
But please help with the Infinite Load.
Without these the site is useless 🙁
best regards,
Bora
Hi,
Glad you’ve managed to get it done.
1. Regarding that block on authors template it can’t be done using the page builder as the author template isn’t customizable however you could try to create your block using the VC page builder then use the do_shortcode function to place block’s shortcode to the template here: http://screencast.com/t/uuJFRN3aWNvQ
Should get a result similar to this: http://screencast.com/t/TUGrkBES9rF
2. On author template the post’s section is given by the loop.php template and for the it can’t be set other pagination other than the numbered one so the infinite/load more pagination can’t be used there, just on blocks. Here is the pagination called on author template on each sidebar case: http://screencast.com/t/KKsV9rFB4 – http://screencast.com/t/SmJ0BQrns
Thanks
Hey Lucian. Sorry for being such a noob, I’m a learner 🙂 I have found how to do it, so no worries mate. href= ‘ . get_author_posts_url($current_user->ID) . ‘ class=”td-icon-user”>’ . ‘
Just 2 more questions if I can. Can we add a pull-down ajax filter to a block on the author’s posts template (so users can use it to filter the posts (7 days popular, random, etc. filter or categories filter) and can we modify classic pagination of the author’s post template (is it loop.php?) for similar what blocks have (infinite load, Load More button etc.)?
-
This reply was modified 11 years by
Riskdiver.
Hi,
Unfortunately the theme doesn’t have infinite load feature for post pages, it has ajax pagination only for blocks(next/prev, infinite,load more). The only way to achieve infinite load on post with our theme is to use block shortcode like Lucian suggested above.
Thanks!
How to make infinite scroll on single post like this: http://goo.gl/wU87A1
Thanks in advance for your replay
Hi,
Glad that you solved this!
1. You are right the load more button should be deactivated when there are not articles to display. We know about this issue and it will be fixed in version 5 of Newspaper.
2. To achieve that you can use next/previous pagination as the theme doesn’t have another type of pagination, for infinite pagination you can only to limit articles(like you limited at 2 articles) and for each page it will show the number of posts that you have limited.
Thanks!
Hi,
I don’t think that if you use block 8 will solve the load more button issue, it will solve only small thumbs appear(module 3) to appear.
You have limited the posts to 2 and set load more button to appear after 10 pages to appear. Please take a look how many pages you have there – http://screencast.com/t/5hCGB9TjMTkc so the articles are over after 6 pages and that’s why the load more button doesn’t appear(the infinite load doesn’t get to the 10 pages). Hope this make sense and help you to customize your block how you wish.
Thanks!
Hi,
You have 12 articles to this category – http://vastavalkea.fi/category/blogit/ and all those articles are displayed on your infinite load block in 6 pages if you limits post to 2. So the load more button should appear after 10 pages(not articles):
We have set “Infinite load show ‘Load more’ after x pages” to 10
Also you can use block 8 to display your articles(without small thumbs) – http://demo.tagdiv.com/newspaper/block-8/
Hope this helps!
Hi Alin,
There are currently something like 15 blog posts, so it’s not the case that there are no articles to show after the infinite load is over.
I have limited the post to 2 precisely to avoid showing articles using small thumbs and titles – we would like all articles to be shown with large thumbs (as with the first two). That is the main problem. Is there a way to have every post shown with large thumbs and complete texts?
Hi,
You can do this by editing your post’s template files and use the do_shortcode function to place there, after the posts content any widgets you build using visual composer’s page builder. You can find more details on how to do this in this tread: https://forum.tagdiv.com/topic/implement-infinite-scroll-on-single-posts/#post-43481
Thanks
Hi,
Please note that the load more button will not appear if there are no articles to show after the infinite load is over. So I see that infinite loads is stops after shows the last post from your category – http://screencast.com/t/I2l7wHg5aXY – http://screencast.com/t/xxJoSfk1VL1 So try to show load more button after few pages and see if it works.
Also if you limit post to 4 – http://screencast.com/t/nyTEZcWfmL it will show also 3 and 4 articles using module 3(small thumb and title) – http://screencast.com/t/WtHOGlwoa6tp
Thanks!
We’re using Block 2 to display blog posts on our page.
The idea is to display the blog links in two columns and five rows, always with equally-sized images, titles and descriptions, with a “Load more” button after that.
Please see the screenshot to see what I mean:
It shows the first four blog post links. After 10 such links (= 5 rows), there should be a “Load more” button.
Alas, we have not been able to accomplish this, no matter which settings we have used.
For example, if the “Limit post number” option is greater than 2, the blog links below the first 2 links (ie, below the first row) have smaller images and just titles, no description.
We have set “Infinite load show ‘Load more’ after x pages” to 10, but there is no “Load more button”. All the blog posts are shown.
Thanks in advance for suggestions.
Hi there,
i have the problem that on my homepage when i use pre designed layout (infinite scroll and all others) there is space on the left and on the right at my blog post images.
When i use the default template “Homepage – with article list” there aren’t any wrong spaces.
But when i use “Blank Template” and then choose Template by the composer there is something wrong..
Please help me…
Thanks!

Hi,
We haven’t tested the theme using any of those plugins so I can’t provide an accurate answer on this.
I suggest you also address the issues you have using them to plugins authors and make sure that you sue them right.
The theme already has a built in infinite scroll pagination for blocks which you can use to display your content and use the infinite scroll pagination feature.
You can configure a block to use the infinite scroll pagination and on templates on which you can’t use the page builder add the block shortcode inside the template where you need this.
Here is an example for using block 13 with infinite scroll pagination on single post page after the related posts section:
– use VC page builder to customize the block: http://screencast.com/t/MYIDubqBqFJ
– switch to classic mode and get the block shortcode: http://screencast.com/t/tymN00V7m
– add the shortcode to post template, you’d have to edit the loop-single.php template and add the block shortcode using the do_shortcode function, like this: http://screencast.com/t/Qod46BQhTZtt
* here is the code I’ve used: http://pastebin.com/yRjEcaD2
– the result: http://screencast.com/t/kcqFH6hM
Thansk
Hi Lucian,
I tried a few plugins and nothing worked:
https://wordpress.org/plugins/unlimited/
https://wordpress.org/plugins/infinite-scroll/
Those work on other themes. Also, to be clearer, here’s what I want to accomplish – specifically in SINGLE POSTS (it’s actually a popular feature due to popularity of mobile devices):
Hi,
We haven’t made any test using plugin like that.
Not really sure where would you want the infinite scroll feature. If you would want this for related articles section you could try to call a block customized by you using the VC page builder and render it via the do shortcode function in posts’s template replacing the related posts area.
I haven’t tried to do this so I can’t guarantee this will also work but you could give it a try.
Thanks