Recent searches
No recent searches
Display all articles on category page
Answered
Posted Oct 17, 2019
I'm having difficulties displaying all articles in a section on the category page which seems limited to 3 per section:
https://futurelearnpartnersupport.zendesk.com/hc/en-us/categories/360002177133-Marketing-PR
I've also attempted this community tip but don't see the referred to 'see more' link:
Any suggestions?
0
11
11 comments
Ifra Saqlain
Hi Cris,
Bydefault 'See all articles' link shows when your section have more than 6 articles. I saw your category page , sections haven't more than 6 articles.
You can see in the given image - FAQ section have more than 6 articles so See all articles link is being show but Announcement section have only 3 articles that's why See all articles link isn't being show.
By this CSS property you can show only 3 articles in your section on category page. When you add this property only 3 articles will be show.
Copy this code and paste on your style.css template .
See the result:
I did it on Copenhagen theme.
Thank you
Team Diziana
0
Trapta Singh
Hi @..., try looking at {{section_tree_with_article}} helper. It will show all the 30 articles in the section. However, there is a restriction on showing all articles in a section but this hack will increase the number of articles to be shown per section for you.
Let me know if this helps.
Thanks
0
Chris Whitley
Thank you both, this is resolved now. A previous piece of code used to display subsections on the category page was limiting the listed articles to 3 rather than the default 6 which I've fixed now.
0
Nicole Saunders
Glad to hear you got things working, Chris! Thanks for letting us know.
0
Daniel Cowlishaw
Hi guys,
Can someone please share how they resolved this? I'm trying to get all my articles in the category to show on the Category page, rather than clicking "See all articles", but having zero luck trying to do so.
Kind Regards,
Danny
1
Brett Bowser
Hey Danny,
Looks like there's a community tip published that addresses your use-case: List all articles for each section(s) on the same category page
This will require some custom code on your end but the above link should walk you through the appropriate steps.
Hope this helps!
0
Daniel Cowlishaw
Hi Brett,
Thanks for the response. I did find that tip but I want to remove the whole aspect of the articles being hidden in the first place.
I don't know why its such a restriction on the system.
Danny
0
Brett Bowser
Hey Danny,
I'm afraid there isn't a way to change the default functionality at this time. The only way to display all articles on the category page is through the use of custom code.
I'll be sure to mark this as product feedback so our Guide team is aware.
Thanks for taking the time to share this with us!
0
Tom Matthews
Have there been any updates on the ability to display all articles in a section on the category page yet, rather than having the link that says "See all X articles"?
Currently this is my category page category_page.hbs.
1
Ifra Saqlain
Hi Tom Matthews :)
Please go through this given article to show all article in a section on category page:
https://support.zendesk.com/hc/en-us/community/posts/4409515207578-List-all-articles-for-each-section-s-on-the-same-category-page
Thanks
Team Diziana
0
Tom Matthews
Hi Ifra Saqlain thanks for the steer.
Unfortunately this didn't work.
I still see the following:
0