Maximum number of posts per page before affecting performance?

You need a js file.. Then call using js a stream function ajaxStreamCall(){ $.ajax({ type:’POST’, data : { action: ‘get_stream’, offset : +++ //you will need to find a method to offset from your current posts }, success: function(obj){ $(obj).prependTo(‘#news-stream’); }, url: “/wp-admin/admin-ajax.php” }); } You will need to find what your offset is, maybe … Read more

Style first 3 posts differently and use a 2nd loop to get rest of posts / offset and pagination broken

My advice would be to never use query_posts. Instead use a custom query or the pre_get_posts hook for both instances and always make sure you call wp_reset_postdata after your custom query. BUT becase your nav function references the global $wp_query, you would have to use query_posts passing the paged parameter to it. <?php get_header(); ?> … Read more

Show author bio box

Try this one : <?php $authordesc = get_the_author_meta( ‘description’ ); if ( ! empty ( $authordesc ) ){ ?> <div class=”blog-article-author”> //author info here… </div> <?php } ?>

How to fix pagination for custom loops?

The Problem By default, in any given context, WordPress uses the main query to determine pagination. The main query object is stored in the $wp_query global, which is also used to output the main query loop: if ( have_posts() ) : while ( have_posts() ) : the_post(); When you use a custom query, you create … Read more