chris cro
asked 11 years ago

I use DW timeline as an infinite scroll, simple homepage. i would like to disable or customize the single page sections (with the links on the right). at the moment a new page is automatically created every 10 posts – i have 11 posts now. it would be nice to disable these pages completely or use this feature to manually create a page e.g. at post 3, 6, 7 and 10. 

3 Answers
Wilfred
answered 11 years ago

Hi Chris,
To disable the pageination, please add the following code to Header Code in Dashboard / Appearance / Customize / Custom code / Header code

    <style>
.timeline-scrubber {
display: none;
}
</style>

Save it and see if that makes any difference here.
Hope this helps!

chris cro
replied 11 years ago

awesome Wilfred. thanks for your answer.
yes, the pages on the right disappear, but they are still generated. when i scroll down the timeline it still says “page 2” in the middle and “the end” at the bottom, but i think i can handle that by myself.

for custom anchors “Easy Smooth Scroll Links” plugin helped me out.

thank you!

Wilfred
answered 11 years ago

To hide page 1, page 2 in the middle, please follow my instruction here:
– Add the following code to Header Code in Dashboard / Appearance / Customize / Custom code / Header code:

<style>
.timeline-pale {
display: none;
}
#infscr-loading.hide {
display: none !important;
}
</style>

– Open up the scripts.js file in /wp-content/themes/dw-timeline/assets/js/scripts.js then add following code to line 154 

$('#infscr-loading').addClass('hide');

chris cro
answered 11 years ago

a-w-e-some! thank you so much!

Powered by DW Question & Answer Pro