• hi Guys,

    I was really hoping somebody might be able to help me with an issue I’m having with a little photography site I run for a friend.

    Currently you can only have a max of 10 posts on the homepage, after which it automatically defaults to a second page of posts.

    I want there to be a max number of posts to be at least 30 and no second page offered.

    Here is the website:

    https://www.mariagalvin.co.uk

    I’ve looked in the index.php of the theme and I cannot see a section of the PHP that defines this number to be 10!

    Can anyone shed any light on how I can change this?

    Thanks ??

    Joe

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter j_joewhite

    (@j_joewhite)

    Here is the current code in the index.php file for the theme homepage if it helps?

    <?php get_header(); ?>
    
    <?php if (have_posts()) : ?>
    <div id="post-area">
    <?php while (have_posts()) : the_post(); ?>	
    
       		<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    		 <?php if ( has_post_thumbnail() ) { ?>
             <div class="gridly-image"><a>"><?php the_post_thumbnail( 'summary-image' );  ?></a></div>
              <div class="gridly-category"><p><?php the_category(', ') ?></p></div>
    
    		  <?php } ?>
           			<div class="gridly-copy"><h2><a>"><?php the_title(); ?></a></h2>
                   <!-- <p class="gridly-date"><?php the_time(get_option('date_format')); ?>  </p>-->
    
    <?php the_excerpt(); ?> 
    
                   <!--<p class="gridly-link"><a>">View more →</a></p>-->
             </div>
           </div>
    
    <?php endwhile; ?>
    </div>
    <?php else : ?>
    <?php endif; ?>
    
    <?php next_posts_link('<p class="view-older">View Older Entries</p>') ?>
    
    <?php get_footer(); ?>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    I’m sorry but as you are using a non-WPORG theme, you need to seek support from the theme’s developers – paid or otherwise. We only support themes downloaded from www.remarpro.com here.
    Try https://www.eleventhemes.com/support/

    Thread Starter j_joewhite

    (@j_joewhite)

    OK thanks.. I was hoping it would be a simple little PHP tweak that I had missed and it wouldn’t matter who made the theme.

    .. but rules are rules..

    Thanks

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    There is no limiter on the code excerpt you posted, if that’s what you’re asking.

    Thread Starter j_joewhite

    (@j_joewhite)

    The theme doesnt offer any support ??

    Please… Any help would be amazing!

    Thanks x

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    The theme author chose not to distribute their theme on www.remarpro.com, it’s not our place to provide support for that theme.

    Thread Starter j_joewhite

    (@j_joewhite)

    Hi Andrew,

    I can see there is no limiter, that is what i’m finding v confusing!

    I understand it’s not your place.. I was just hoping (praying) for some kind soul who could point me in the direction of where else I might a limiter.

    Thanks for looking!

    ??

    dear Joe,

    I saw your post as I was also trying to find out how to change the number of posts on the Gridly theme homepage. After spending AGES reading through ‘help’ & support blogs like this, I finally discovered that WordPress itself, not the Gridly theme (or the CSS, or jQuery) controls the number of posts. Simply go to Settings / Reading on the site Dashboard (last entry) and you’ll be able to change the number of posts. Hope this helps!

    I’m using Gridly too!

    filippoman

    (@filippoman)

    dear menata,

    can you explain please in the details, how to increase the number of posts in the topic index?

    Thanks.

    PS=Sorry, mine very bad english!

    hellasphotography

    (@hellasphotography)

    @filippoman

    simply go to dashboard > settings > reading > Blog pages show at most [default is 10] > “change this number to whatever you like” > done!

    hope this helps…

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Increase max posts on homepage with Gridly Theme’ is closed to new replies.