Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to show a title and featured image from each post in a category
Tagged: category template, category.php
- This topic has 10 replies, 3 voices, and was last updated 6 years ago by
AnitaC.
-
AuthorPosts
-
October 25, 2019 at 1:06 am #494243
nbdayan
ParticipantIf I add breadcrumbs to my site I see the category name. If I click on the category I see a very long list of all posts in that category. To find a post I would have to scroll through many pages.
Is there a way to see something shorter such as just the title and a featured image from each post in that category?I am not sure if it is relevant but I am using the Modern Studio Pro theme.
Thanks in advance!
October 25, 2019 at 2:04 am #494245Brad Dalton
ParticipantYou can use a custom category.php or archive.php template in any Genesis child theme to modify the default output of your entries on any archive page type.
And then add code to the template file to remove or modify the elements in question.
October 25, 2019 at 6:24 am #494247nbdayan
ParticipantThis reply has been marked as private.October 25, 2019 at 6:38 am #494248AnitaC
KeymasterCan you provide a link to your website so we can take a look? Sounds like you probably only need to add the Genesis Grid Loop plugin. You can set it up on your main blog page, categories, and tags.
Need help with customization or troubleshooting? Reach out to me.
October 25, 2019 at 7:24 am #494250nbdayan
ParticipantThanks!
https://www.101planners.comOctober 25, 2019 at 11:20 am #494259AnitaC
KeymasterOctober 25, 2019 at 12:31 pm #494262nbdayan
ParticipantI disabled them when I saw that it wasn't very user-friendly.
I have added them to a test site with the same theme.
October 25, 2019 at 12:55 pm #494263AnitaC
KeymasterThank you so if you add the Genesis Grid Loop plugin as I suggested, would use that. But you also have your posts set to display "full content".
If you go to Genesis > Theme Settings, you can set up a "content limit" of say, 300 or 400 words and then set it to display the Featured Image (full image or another side, float the image to the left or right, etc. That's a built in feature of Genesis.
Need help with customization or troubleshooting? Reach out to me.
October 25, 2019 at 9:35 pm #494266nbdayan
ParticipantIt works! Thanks!
Is there no way to add the title only (with no words) since 0 words show unlimited content?October 25, 2019 at 10:41 pm #494267nbdayan
ParticipantThis reply has been marked as private.October 26, 2019 at 6:43 am #494270AnitaC
KeymasterThe plugin could do something similar but not exactly like that. You would need a quite a bit of customization on Modern Studio Pro to achieve that based on how that theme code was created. The featured image in MSP is made to display within the content area so there would need to be a little heavy lifting to do that with MSP.
Need help with customization or troubleshooting? Reach out to me.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.