Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
Colin
tagDiv Member

Hi Calin,

Please do, and I look forward to hearing about the fix!

Thanks so much for the update.

Colin
tagDiv Member

Hi admin_alt_til_windows_dk,

I am currently trying to solve this too.

The template file you are looking for is in:

wp-content\plugins\td-standard-pack\Newspaper\parts\single\

Depending on what Default Post Template Style you chose in Theme Panel >> Post Settings, the number on the filename will be same.

e.g. for STYLE 9 you edit loop-single-9.php

Unfortunately, not my most preferred way to edit plugin files… but the templates are there.

Colin
tagDiv Member

Hi Calin,

Thanks so much for the Load more solution.

Is there a way to get infinite scroll working as well, please?

Colin
tagDiv Member

Also can confirm the reported issue occurs in your demo:
http://demo.tagdiv.com/newspaper/block-16/

Only 1 row renders – no infinite load, no Load More button

Screenshot

  • This reply was modified 6 years by Colin.
  • This reply was modified 6 years by Colin.
Colin
tagDiv Member

Ah, damn.

But the workaround only works once when you initially click each filter.

After that, when you continue filtering, it breaks again.

Colin
tagDiv Member

Currently workaround this by calling the computeTopDistances() on every scroll event:

jQuery(window).scroll(function() {tdInfiniteLoader.computeTopDistances();});

Hopefully there can be a fix.

Please and thanks!

Colin
tagDiv Member

Hi Bogdan,

Definitely I can verify that there is some bug here – tested no plugins and on different browsers.

Steps to reproduce:

1) Scroll to let infinite scroll load a page
2) Scroll back up and click a filter (e.g. ‘All’)
3) Scroll down again and infinite scroll doesn’t trigger

I’m currently digging as to why, but I can confirm that to get it to work after the above steps, you need to call the function in console:

tdInfiniteLoader.computeTopDistances()

Then the next page displays and infinite scroll works again.

Everytime I go on to click a filter, I must repeat the above steps to get it to work again as well. Possibly the below setTimeout function to trigger the computeTopDistances() call is not executing after filtering occurs.

case "infinite_load":
setTimeout(function() {
tdInfiniteLoader.computeTopDistances();
"" !== a.td_data && tdInfiniteLoader.enable_is_visible_callback(c.id)
}, 500), setTimeout(function() {
tdInfiniteLoader.computeTopDistances()
},
1E3), setTimeout(function() {
tdInfiniteLoader.computeTopDistances()
}, 1500)

Viewing 7 posts - 1 through 7 (of 7 total)