Automatic Next Article with pagination

Posted in: Newspaper
Post count: 26

Hey,

I would like the person to be able to access the next article on the same pagination system when they consult the last page of one of my articles (<–nextpage–>).

An example: https://www.vamely.com/faceapp-voici-a-quoi-ressembleraient-les-celebrites-si-elles-etaient-vieilles/20/

I think this function is essential to achieve performance on a pagination system.

Thanks

Post count: 18283

Hello !

That is possible when having a Single Post template from the Cloud Library as you can see here: https://www.screencast.com/t/CO4LWTcimW

Follow this tutorial to learn how to use the Single Post Template: https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/

You will have to make some modifications. First of all add this css code into your Theme Panel – Custom Codes – CSS: https://www.screencast.com/t/vxXrGBIV

.td-post-next-prev-content { align-items: center; border-radius: 40px; text-align: center; display: inline-block; margin-bottom: 40px; width: 50%; height: 50px; background-color: black; } .td-post-next-prev-content a { text-align: center; margin-top:15px; margin-bottom:5px; color: white; } .td-block-span6 { text-align: center; width: 350px; }
And you will have to make some modifications in PHP too following this path: legacy/common/wp_booster/td_module_single_base.php ( I have used Notepad++ to edit it )
and change the codes at the line: 929 ; 930 and 940 ; 941 like in here: https://www.screencast.com/t/AEgFOTDC

Thank you !

Post count: 26

thanks for the answer and sorry for the multi-topic but I think they’re two different topics:

The first topic was only a problem of displaying the pagination (not having numbers but having next and previous arrows when adding a nextpage in a single post)

This topic is a navigation problem: when the person reaches the end of the pagination of the single post, the next button should be able to redirect to the next article.

If the tutorial solves both problems, it’s perfect 🙂

Thank you very much,

Translated with http://www.DeepL.com/Translator

Post count: 26

Hey,

Again, thanks for your answer.

I already searching a solution for the two questions :

– How to display arrow in single post pagination (not having numbers but having next and previous arrows when adding a nextpage in a single post) ==> Something like this https://image.noelshack.com/fichiers/2019/34/1/1566202728-aaaa.png

– Is it possible that when a visitor reaches the end of the article (so arrives on the last “next page”), the “next” button can send to the next article?

Thank again,

Post count: 18283

Hello !

That can be achieved with the tutorial I posted before on this topic.

Thank you !

Post count: 26

Hello,

I have implemented everything you indicated (add CSS + modify PHP) but nothing changes.

– I always have a pagination with numbers and not arrows in single post

– At the end of the pagination on the single post, I don’t have a “next article” proposal.

I have followed every step of the way.

Here is an example of the rendering: https://test.vamely.com/doublures-de-stars-quand-la-ressemblance-est-troublante/

Post count: 18283

Hello !

Sorry for missunderstanding your issue !

https://test.vamely.com/quand-disney-sinspire-de-personnes-reelles-pour-creer-ses-dessins-animes/ Here it shows ok. Have you checked to have the same smartlist all over ?

Unfortunately the option to have a Next post button at the end of a smartlist is currently unavailable.

We are sorry for the inconvenience !

Thank you !

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.