- This topic has 5 replies, 2 voices, and was last updated 3 years, 5 months ago by
Fernando.
-
AuthorPosts
-
November 7, 2022 at 7:27 pm #2405586
Nicole
I am trying to show 3 columns of posts for each category with only the title and the first image (not featured image).
1. How do I show this layout of 3 posts per line with an image and title if I use the classic editor?
2. Is it possible to use the first image or do I have to use a featured image?November 7, 2022 at 7:40 pm #2405595Fernando Customer Support
Hi Nicole,
1. If you’re using the Classic editor, you’ll need plugin or custom HTML. For instance, to retrieve posts of a specific category, we had a plugin called WP Show Posts. It’s already merged though with GenerateBlocks which only works with the WordPress Block Editor. WP Show Posts can still work though.
WP Show Posts: https://wpshowposts.com/
You can also try a different plugin. For instance, I found this: https://wordpress.org/plugins/display-posts-shortcode/ which may work since it has a Shortcode as well.
2. Depending on the plugin you’ll use, it may be possible but it’s more likely post meta image as opposed to just the “first image”. Sometimes, some plugins may allow you to retrieve post meta image data, and use this as the display image for the queried posts. In GenerateBlocks, though not available for the Classic editor, retrieving post meta images is possible.
It should be possible through custom code as well however, this level of customization would be out of our scope.
We highly advise our customers to use the Block editor, and use GenerateBlocks for ease of editing.
November 7, 2022 at 7:53 pm #2405606Nicole
Thanks for your response.
Could I use the block editor just for category pages and the classic for posts and pages?If I can, how do I even go about creating a category page? I did try to follow these instructions but /latest-posts-using-generateblocks/ but I don’t since the things they point to
November 7, 2022 at 7:58 pm #2405659Fernando Customer Support
A Category page is created automatically by default.
To edit the way posts are presented in an Archive page with GP Premium, you would need to be using the Block Editor. See here: https://docs.generatepress.com/article/block-element-content-template/
I believe the Classic editor plugin that allows you to activate the classic editor only for specific posts and pages. See here: https://www.wpbeginner.com/plugins/how-to-disable-gutenberg-and-keep-the-classic-editor-in-wordpress/#:~:text=the%20Classic%20editor.-,Method%202.%20Disable%20Gutenberg%20with%20the%20Classic%20Editor%20Plugin,-For%20this%20method
November 7, 2022 at 8:00 pm #2405661Nicole
Thanks!
November 7, 2022 at 8:01 pm #2405663Fernando Customer Support
You’re welcome Nicole!
-
AuthorPosts
- You must be logged in to reply to this topic.