Display all articles on category page


4 Kommentare

  • Ifra Saqlain
    Aktionen für Kommentare Permalink

    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 .

    .category-content .section-tree .article-list-item:nth-child(2n+2){



    See the result:

    I did it on Copenhagen theme.


    Thank you 

    Team Diziana


  • Trapta
    Aktionen für Kommentare Permalink

    Hi Chris Whitley, 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.


  • Chris Whitley
    Aktionen für Kommentare Permalink

    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.

  • Nicole - Community Manager
    Aktionen für Kommentare Permalink

    Glad to hear you got things working, Chris! Thanks for letting us know.


Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk