- This topic has 1 reply, 2 voices, and was last updated 8 years, 4 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I have been digging around under the hood of Minimum Pro, but I haven't figured out how to accomplish 2 things:
1. Show a featured image above the blog post on the blog post component of the front page. This blog post area is located just below the Home Featured Widget areas.
2. Remove post text for these blog posts so that only a featured image and article title appear.
The site is under construction so I don't have a link to share, but the theme demo exhibits what I am trying to remove.
For the first part of your question you can refer to this - https://sridharkatakam.com/adding-featured-images-post-titles-minimum-pro/
In this tutorial, in the second code snippet there is - add_action ( 'genesis_entry_header', 'sk_show_featured_image_home' );
you can use priority to set that image on top of the title, instead of beneath it like - add_action ( 'genesis_entry_header', 'sk_show_featured_image_home', 9 );
PS. Check priority from 1 to 10 as am not sure which one leads to the result.
Also, without looking into the code, for the second part, the easiest way would be to hide the content vai css.
© 2023 WPEngine, Inc.