Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

the desire i want is similar on how facebook works; when a new content is being published, it pushes down the old post with the new posts on top.

  • New Content (pushes down previous topics without reloading the page)
  • Old Content 1
  • Old Content 2
  • Old Content 3

is that possible in wordpress?

share|improve this question

2 Answers 2

up vote 0 down vote accepted

The used term for this is "infinite scroll", there are plugins that may assist you to achieve this behavior, you can check this one: http://wordpress.org/extend/plugins/infinite-scroll/

share|improve this answer

If the infinity scoll plugin not working (what a great opportunity, because it comes from a very unstable extension), try "Jetpack" which is also included in this function and only requires very little configuration, encore is stable, never have a problem with it:

Add this code for the funcktions.php:

function zilla_infinite_scroll_render() {
}
get_template_part( 'content-post', 'standard' );
add_theme_support( 'infinite-scroll', array(
'container' => 'content',
'render' => 'zilla_infinite_scroll_render',
));
And change the container id your post container id. So this line must be change:
'container' => 'content' (the content is my post div ID,so you must be change this).

That's it,have fun :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.