Link to page in category

After a long search on the Web, I decided to take a look at the plugins @anjum sent, and found out this can be done through: <a href=”https://wordpress.stackexchange.com/questions/110906/<?php get_pagenum_link($i); ?>”>Link to page $i</a>

how to apply Pagination on post

A siple search on google got me to these websites: http://codex.wordpress.org/Function_Reference/paginate_links https://codex.wordpress.org/Pagination These are WordPress Tutorials for setting pagination. You can also install a plugin, I recommend WP PageNavi. http://wordpress.org/plugins/wp-pagenavi/

repeating posts on 2nd page to posts

Use this in your child themes functions.php file add_action( ‘pre_get_posts’, ‘exclude_category_posts’ ); function exclude_category_posts( $query ) { if( $query->is_main_query() && $query->is_home() ) { $query->set( ‘cat’, ‘-27,-30′ ); } } Add a comma separated list of category i.d’s to the set. Never Use Query Posts

Pagination 404 on my index.php

The reasons why you should not run query_posts() are perfectly outlined in this answer. Long story short: You overwrite the default query (that happens by WP core) and replace everything that was valid for this request with data that only matches for your secondary query. The function get_query_var() relies on the global $wp_query that gets … Read more

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