Single Post Navigation Within Each Category

i had the same problem with one of my sites and i used this hack: on your themes category.php (or if your doesn’t have one then archive.php ) before the loop part witch is something like this: if ( have_posts() ) : while ( have_posts() ) : the_post(); add this code if (is_category()){ $category = … Read more

1 column admin screen options – move submitdiv to bottom

Try something like this: // First make all metaboxes have ‘normal’ context (note the absence of ‘submitdiv’) // If you know the ids of the metaboxes, you could add them here and skip the next function altogether add_filter(‘get_user_option_meta-box-order_post’, ‘one_column_for_all’, 10, 1); function one_column_for_all($option) { $result[‘normal’] = ‘postexcerpt,formatdiv,trackbacksdiv,tagsdiv-post_tag,categorydiv,postimagediv,postcustom,commentstatusdiv,slugdiv,authordiv’; $result[‘side’] = ”; $result[‘advanced’] = ”; return $result; … Read more

Set number of article per number of page

Pagination is result of combining two factors: page size and offset. In common case page size is constant and offset is page size times current page. Is it possible to build highly elaborate pagination you describe? Technically yes. That would be matter to adjusting page size and offset in a more elaborate fashion. However specific … Read more

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