Paginate Links function: Page 1 doesn’t work

The Base is the Problem: ‘base’ => add_query_arg(‘listpostspage’,’%#%’), Here ist the full code: $pagination_args = array( ‘base’ => add_query_arg(‘listpostspage’,’%#%’), ‘format’ => ‘?listpostspage=%#%’, ‘total’ => $the_query->max_num_pages, ‘current’ => $paged, ‘show_all’ => false, ‘end_size’ => 1, ‘mid_size’ => 2, ‘prev_next’ => true, ‘prev_text’ => __( ‘Zurück’, ‘Theme’ ), ‘next_text’ => __( ‘Weiter’, ‘Theme’ ), ‘type’ => ‘plain’, … Read more

Show next and previous page number

How about using the built-in function? <?php previous_post_link( ‘%link’, ” . _x( ‘&larr;’, ‘Previous post link’, ‘twentyten’ ) . ‘ %title’ ); next_post_link( ‘%link’, ‘%title ‘ . _x( ‘&rarr;’, ‘Next post link’, ‘twentyten’ ) . ” ); ?> More information on pagination is available here: Pagination the_posts_pagination

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)