Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Image strip limited to 10 images, whats wrong with my code?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #32723
    guirigales
    Member

    Hello,

    for some reason the rotating image strip in my gallery is limited to 10 images. This shouldnt be.

    Is there something here that is limiting it?

    Thanks

    
    /**
    * Template Name: gallery page template
    *
    */
    get_header(); ?>





    Some of our finest creations...




    $cat_nid = $cat_id;
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    $args=array(
    'post_type'=>'gallery',
    'posts_per_page' => 150,
    'paged'=> $paged
    );
    query_posts($args);
    if (have_posts()) : while (have_posts()) : the_post();
    $ref_number = get_post_meta($post->ID, 'ref_number', $single = true);
    ?>













      $args=array(
      'post_type'=>'gallery',
      'posts_per_page' => 150,
      'paged'=> $paged
      );
      query_posts($args);
      if (have_posts()) : while (have_posts()) : the_post(); ?>














    #76331
    TheDoc
    Member

    Check your “Reading Settings” in WordPress itself – it might be set to 10 posts per page.

    #76325
    guirigales
    Member

    You sir are a genius, and I am a happier fool.

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.