This topic has 4 replies, 3 voices, and was last updated 10 years by vmgkartik.

  • Author
  • #28796
     vmgkartik
    Participant

    Hi

    The website we are building now will have a large number of posts in some categories. When there are more than 3000+ posts the category archives pages in Kleo – whether in grid format or normal blog format – becomes very difficult for a user to go through. Is there a way to just display the title of posts in some categories. Something like site maps just the links?

    Thanks
    Kartik

    #28799
     Catalin
    Moderator

    Hello,

    The archives template is this

    ..\themes\kleo\archive.php

    and the masonry part template is

    ..\kleo\page-parts\post-content-masonry.php

    You will need to make modifications in order to achieve your goal.

    The problem is the fact that you want to change the layout for “some” categories.

    Take a look here:

    https://wordpress.org/plugins/custom-category-template/

    and also here

    http://codex.wordpress.org/Category_Templates

    Thank you,
    Catalin

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #28800
     sharmstr
    Moderator

    https://wordpress.org/plugins/simple-posts-list/screenshots/

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #28804
     sharmstr
    Moderator

    I’ve been thinking about doing something like this as well. Ignore my plugin suggestion above. If you dont want to code your list, you can use https://wordpress.org/plugins/w4-post-list/. Its simple to use and I achieved what you were asking in less than 5 mins. Here’s what I did.

    – Create a list for a specific category:
    Add new
    Select “post” for list type
    Select ‘categories’ in Posts: Tax Query and put your category name in the terms box.
    When you save it, it will give you a shotcode.

    – Create the category specific page
    Copy /kleo/archive.php to /kleo-child/category-your category name.php.
    Delete everything between ‘before-wrap’ and ‘after-wrap’.
    Insert the list using the do shortcode command

    COPY CODE
     <?php echo do_shortcode('[postlist id="593"]'); ?>

    ** Change 593 to your list id

    That’s it. The plugin offers ways to style the list.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #28843
     vmgkartik
    Participant

    Thank you both your replies. Your help is much appreciate. Problem has been solved.

    Sharmstr – I was already using https://wordpress.org/plugins/list-category-posts/ to show posts on a single page. So now I followed your method for creating category specific page and using the do shortcode command. I used the ‘list-category_post’ plugin shortcode instead. I was able to achieve exactly what I was looking for. Thank you for pointing me in this direction

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Archives pages for large categories’ is closed to new replies.

Log in with your credentials

Forgot your details?