can you increase the number of pages shown by default? (4 posts)

  1. barnsley242
    Posted 4 years ago #

    my site only shows 4 pages by default and if I create any more than this, the other page/s are shown under a 'more' button.

    can the number of default pages be increased?

    here's the website:

  2. Egill Erlendsson
    Posted 4 years ago #

    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

  3. barnsley242
    Posted 4 years ago #

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

  4. barnsley242
    Posted 4 years ago #

    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(){
    			$limit = my_menu_limit();
    			$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.

Topic Closed

This topic has been closed to new replies.

About this Topic