Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #302219

    Hello Kriesi Team,

    Could i adjust number of items in the grid layout at category and label pages?

    In the main blog page the grid layout have 18 items, fixed in the editor page:
    http://solucionestecnologicasparaempresas.com/blog/

    But in the category and label pages which have more than 10 items, shows only 10 items per page:
    http://solucionestecnologicasparaempresas.com/categoria/gestion-de-contenidos/
    http://solucionestecnologicasparaempresas.com/etiqueta/gestion-documental/

    Could i change number of items in the grid layout at category pages?
    Could i change number of entry items in the grid layout at label pages?
    Could i change number of portfolio items in the grid layout at label pages?

    Thanks in advanced, Raúl Ibáñez.
    http://solucionestecnologicasparaempresas.com/

    #302647

    Hi Raul!

    Please go to Settings > Reading > “Blog pages show at most” and set it to needed number

    Regards,
    Yigit

    #303142

    Thanks Yigit,

    I have set Settings > Reading > “Blog pages show at most” to 18.

    Now blog main page and category pages shows the grid layout perfectly, in multiple of 3 items, 18 per page.

    But label pages have entries and portfolio items, and i don’t know how to adjust to multiple of 3 items:
    http://solucionestecnologicasparaempresas.com/etiqueta/gestion-documental/

    Is posible to fine label pages?

    Thanks, Raúl.

    #303596

    Hi!

    Unfortunately I don’t know of a way to do that. Because the page is actually already showing the correct query amount but its being split into the 2 different post types for a total of 18 items on the page.

    With the way WordPress handles the query it checks for X number of items and then outputs them. So it could change the number of columns depending on how many tag items are in each type.

    Cheers!
    Devin

    #304284

    Thanks Devin,

    I am going to set “Blog pages show at most” 24 items.

    1. Blog main page is fixed to 18 items by enfold theme.

    2. Category pages show good because all of them have less than 24 items,

    3. Label pages now do not have more than 24 items, so they are shown in only one page.

    I think it could be a good solution. But can i change the number of items of the grid layout at enfold theme?

    Regards, Raúl.

    • This reply was modified 10 years, 3 months ago by ribanezg.
    #304719

    Hey Raúl!

    One solution could be to have different tags (gestión-documental-posts – gestión-documental-portfolio) for Posts and Portfolio items.

    Also, you could try the following, open tag.php and look for line 71:

    'custom_query' => array( 'post__in'=>$post_ids, 'post_type'=> $key )
    

    Change it to:

    'custom_query' => array( 'post__in'=>$post_ids, 'post_type'=> $key, 'posts_per_page' => 12)
    

    Replace 12 by the maximum number of posts you want to show per post type on the tag page.

    Regards,
    Josue

    • This reply was modified 10 years, 3 months ago by Josue.
    #304936

    Josue,

    I would like to show both portfolio and blog entries items by clicking in a tag.

    I think i could fix blog entries in a multiple of three, in the tab page.

    If i change tab page code with your recomendation code, then blog entries are fixed to 12 (for example), but next blog entries are not shown in other pages. The pagination does not appear.

    Regards, Raúl.

    #308903

    Its not really a super flexible content area unless you are willing to get your hands dirty with custom coding the elements more in depth. If its a must-have change then I would recommend looking into a freelance developer from somewhere like Envato Studio or Codeable. In depth customization is out of the scope of what support can cover.

    #308997

    Thanks anyway for your help.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Adjusting number of items in grid layout at category and label blog pages’ is closed to new replies.