Support » Themes and Templates » Limit The Number of Table Rows on a page?

  • i am using the twenty eleven theme. I have a lot of table rows on my page. i would like to limit the number of rows on the page. i created a custom sidebar template. anyone have any idea how i can limit the number of rows to 20 rows per page and anything beyond that goes to page two. thank you. i create the tables using html in wordpress am not using a plugin.

    This is my code for my custom sidebar.

     * Template Name: SL Sidebar Template
     * Description: A Page Template that adds a sidebar to pages
     * @package WordPress
     * @subpackage Twenty_Eleven
     * @since Twenty Eleven 1.0
    get_header(); ?>
    		<div id="primary">
    			<div id="content" role="main">
    				<?php while ( have_posts() ) : the_post(); ?>
    					<?php get_template_part( 'content', 'page' ); ?>
    					<?php comments_template( '', true ); ?>
    				<?php endwhile; // end of the loop. ?>
    			</div><!-- #content -->
    <?php wp_pagenavi(); ?>
    		</div><!-- #primary -->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    [please mark any posted code – ]

    [bump moderated]

  • The topic ‘Limit The Number of Table Rows on a page?’ is closed to new replies.