Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #543702

    Hello again staff Kriesi, I opened a topic for this issue but maybe the problem was not understood. I need to increase the number of portfolio items in the portfolio category: in the php page theme (taxonomy-portfolio_entries.php) then without using the backend builder (is not possible ;) ) but directly in the code.
    how can I do? A detailed answer will be highly appreciated,
    Thank you

    Attach the code

                        <div class="entry-content-wrapper clearfix">
    
                            <div class="category-term-description">
                                <?php echo term_description(); ?>
                            </div>
    
                        <?php
    
                        $grid = new avia_post_grid(array(	'linking' 	=> '',
                                                            'columns' 	=> '4',
                                                            'contents' 	=> 'title',
                                                            'sort' 		=> 'no',
                                                            'paginate' 	=> 'no',
                                                            'set_breadcrumb' => false,
                                                    ));
                        $grid->use_global_query();
                        echo $grid->html();
    
                        ?>
                        </div>
    #543844

    Hi Codice404!

    You can set the amount of posts that display per page in Dashboard > Settings > Reading > Blog pages show at most. It will effect the archives as well.

    But to answer your question, it should look like this.

    $grid = new avia_post_grid(array(	'linking' 	=> '',
    									'columns' 	=> '3',
                                                                            'items' => 10,
    									'contents' 	=> 'title',
    									'sort' 		=> 'no',
    									'paginate' 	=> 'yes',
    									'set_breadcrumb' => false,
    							));
    

    Best regards,
    Elliott

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.