Exclude all sticky posts front page twenty twelve

Don’t use query_posts. Use a filter on pre_get_posts. function no_front_sticky_wpse_98680($qry) { if (is_front_page()) { $qry->set(‘post__not_in’,get_option( ‘sticky_posts’ )); } } add_action(‘pre_get_posts’,’no_front_sticky_wpse_98680′); By running query_posts you clobber the main query, over-writing it with another query. That is why you break pagination. The new query gets out of sync with what should be the main query.

Exlude pages from wp_list_pages

I’m not entirely clear on what you are trying to do exactly because “I had to manually build another menu. I just created a list and inserted links to the pages I needed, without using any WordPress function.” didn’t make a whole lot of sense. You need to exclude pages by including the exclude parameter … Read more

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