-
Author
Tagged: archives pages
-
September 17, 2014 at 11:01 #28796vmgkartikParticipant
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
KartikSeptember 17, 2014 at 12:17 #28799CatalinModeratorHello,
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,
CatalinThank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 17, 2014 at 12:51 #28800sharmstrModeratorhttps://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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
September 17, 2014 at 13:54 #28804sharmstrModeratorI’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 commandCOPY 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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
September 17, 2014 at 18:19 #28843vmgkartikParticipantThank 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
-
AuthorPosts
The topic ‘Archives pages for large categories’ is closed to new replies.