• pierreonthenet

    (@pierreonthenet)


    Hi !

    I would like to make a theme allowing my website visitors to view all the posts in one page, with the posts appearing as the user scrolls.
    I would like to make it a bit like 9gag. In my head, in order to not overcharge the memory of the computer, the posts would disappear automatically to be replaced by the new ones.

    I’m newbie with WordPress : can we do that natively or should I add functions to WordPress ?

    Thanks !
    Pit

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter pierreonthenet

    (@pierreonthenet)

    Really ? No one knows ?

    Thread Starter pierreonthenet

    (@pierreonthenet)

    I think I would do this like that :
    – create a template page displaying a post just like it would be done in the loop
    – on the index.php, I would query for all the IDs of the posts thanks to the loop and the_permalink() to have a table of all the posts ID
    – on the index.php, I would display the posts in AJAX thanks to the template page done before, by passing it the post ID I would like to display

    Is this seems to be possible for you ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Posts on scroll Theme’ is closed to new replies.