Just wondering if there is anyway of turning off the pagination created within the categories. At the moment my categories only show 10 items before it creates a new page.
Is there a way of increasing this number or turning it off all together?
In Plugins – Installed Plugins,
Click on ‘Download Manager – Edit
Scroll down to this function.
function wpdm_embed_category($id){
global $wpdb, $current_user, $post, $wp_query;
$postlink = get_permalink($post->ID);
get_currentuserinfo();
$user = new WP_User(null);
$categories = maybe_unserialize(get_option(“_fm_categories”,true));
$category = $categories[$id];
$total = $wpdb->get_var(“select count(*) from ahm_files where category like ‘%\”$id\”%'”);
$item_per_page = 15; Default was 10 items($total);
$pag->limit($item_per_page);
$pag->currentPage($page);
Viewing 3 posts - 1 through 3 (of 3 total)
The topic ‘Category Pagination’ is closed to new replies.