
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
November 27, 2015 at 4:32 pm #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 youAttach 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>
November 27, 2015 at 10:08 pm #543844Hi 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 -
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.