Default pagination is broken when use ‘static page’ as ‘front page’

the solution is dont use #static pages# and merge to functions.php Merge to functions.php the following : //http://justintadlock.com/archives/2010/02/02/showing-custom-post-types-on-your-home-blog-page add_filter( ‘pre_get_posts’, ‘my_get_posts’ ); function my_get_posts( $query ) { if ( is_home() && $query->is_main_query() ) $query->set( ‘post_type’, array( ‘works’ ) ); //else //$query->set( ‘post_type’, ‘ page’ );//$query->set( ‘post_type’, array( ‘page’, ‘post’ ) ); return $query; }

How to Restrict Previous & Next Post Link to Posts of Same Category?

Choose from any of the following functions: get_next_post_link(); next_post_link(); get_previous_post_link(); previous_post_link(); Parameters are as follows (in respective order): @param string $format Optional. Link anchor format. Default ‘« %link’. @param string $link Optional. Link permalink format. Default ‘%title’. @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false. @param array|string $excluded_terms … Read more

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