My post repeats itself on the second page [closed]

Use this code instead for query post. Parameter ‘paged’ is which that keep track of the pagination so you have to pass it on query posts. $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; $args = array( ‘cat’ => 0, ‘paged’ => $paged ); query_posts($args); Also try to avoid query_posts() unless its absolutely necessary. Use get_posts().

twentyeleven_content_nav hook no longer outputs navigation link after 3.5 upgrade

This code didn’t change since Twenty Eleven’s initial release. Navigation is only printed if your query has more than one page. Could that be it? Since you are calling $wp_query->have_posts() rather than have_posts(), this suggests you are modifying or overriding the query, which may be confusing WordPress (and it’s not WP’s fault). (See When should … Read more

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