WordPress.org

Support

Support » How-To and Troubleshooting » can you increase the number of pages shown by default?

can you increase the number of pages shown by default?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Downloaded the them you’re using and went through the code.

    The theme seems to have an option for what you’re looking for.
    Look under Appearance > My Theme Options > menu

    thanks a lot egill !
    thought i’d looked there.
    must have missed it!
    cheers!

    I’m re-opening this post, because there is another problem here….

    I have since changed the number of pages via the Theme options, however it doesn’t allow more than 5 pages to be displayed.
    Any more than this and it displays a ‘more’ option.
    (even though there looks to be plenty of room.

    there is a functions.php file (copy of which is here in .txt format: http://www.alysinkyfingers.co.uk/functions.txt)

    this mentions maximum menu limit like this:

    function mythemes_menu(){
    
    		if(my_menu_limit()){
    			$limit = my_menu_limit();
    		}else{
    			$limit = _LIMIT_;
    		}
    
    		$my_nav_menu = new mythemes_walker_nav_menu($limit);
    
    		$args = array(
    			'menu'            => '',
    			'container'       => 'div',
    			'container_class' => 'container',
    			'container_id'    => '',
    			'menu_class'      => 'container',
    			'menu_id'         => '',
    			'echo'            => false,
    			'fallback_cb'     => '',
    			'before'          => '',
    			'after'           => '',
    			'link_before'     => '',
    			'link_after'      => '',
    			'depth'           => 0,
    			'walker'          => $my_nav_menu,
    			'theme_location'  => 'menu_in_header',
    		); //menu_in_header

    and there’s also a div.menu in css – but not sure if this has anything to do with it?

    any ideas?

    thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘can you increase the number of pages shown by default?’ is closed to new replies.