[Resolved] Change Category page to excerpts and different layout

Home Forums Support [Resolved] Change Category page to excerpts and different layout

Home Forums Support Change Category page to excerpts and different layout

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #834812
    Robbert

    Hi, I’m new to Generate Press, and I’m not sure how to accomplish the following:

    I would like to have the category pages show the posts, but with excerpts only, and the layout being different from the posts themselves.

    So, for example: Category: Cars, [posts listed after one another] Renault <Excerpt>, Mazda <Excerpt>, without any further information like date published, author, link to category etc, even though that information might actually be visible on the post itself.

    However, I’m not sure what the best way is to go about this. Should I make a category.php page in my child theme, copy the standard archive.php code into that, and then tweak it to my liking? Or is there a simpler way to go about this?

    Hope I described my issue clearly enough, if not, please do let me know. Best, Rob

    #834847
    Leo
    Staff
    Customer Support

    Hi there,

    I believe this filter is what you are looking for:
    https://docs.generatepress.com/article/option_generate_blog_settings/

    There is an example at the bottom of the page:
    https://docs.generatepress.com/article/option_generate_blog_settings/#examples

    Let me know if this helps ๐Ÿ™‚

    #834867
    Robbert

    Thanks very much! That actually does most of what I want, very helpful.

    #834872
    Leo
    Staff
    Customer Support

    Awesome ๐Ÿ™‚

    Glad to hear!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.