How to reduce the number of pages in pagination

I believe you’re using 2 custom functions one of them is emm_paginate_loop() you’re showing. But i saw that settings for that custom pagination is on function emm_paginate() and specifically “gap”: ‘gap’ – Default is 3 (int). The minimum number of pages before a gap is replaced with ellipses (…). But that only sets a minimum … Read more

another post a page problem

“The problem I have it that on the first 8 pages only 1 article is displayed.” That would be due to this line of code: if ( $wp_query->get( ‘paged’) < 8 ) { $wp_query->set( ‘posts_per_page’, 1); } See here for more info: codex.wordpress.org/Class_Reference/WP_Query#Pagination_Parameters EDIT: Try adding brackets as mentioned by @kaiser… Here’s your original code … Read more

The pagination doesn’t work

If this is a new WordPress install, it is likely that you don’t actually have enough posts to require pagination, and thus the pagination links aren’t appearing. Quick test: ensure you have at least two posts, then go to Dashboard -> Settings -> Reading, and change the “Posts Per Page” setting to 1. Do you … Read more

Need help getting this page nav working correctly [closed]

You don’t have a code issue, just CSS. In your default.css, just at the end, add this: #menu-under-header .navbar-inner ul{clear:both !important; width:1000px;} .menu-header-container{clear:both !important;} #social-networking{clear:both !important;} and that’s it. You may want to add a position for social networking. IN that case, replace the last line with this: #social-networking{clear:both !important; position:relative; left:760px;} EDIT: SEE THE … Read more

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