- This topic has 13 replies, 4 voices, and was last updated 4 years, 10 months ago by Zach.
November 17, 2016 at 5:54 am #245125November 17, 2016 at 9:00 am #245203TomLead DeveloperLead DeveloperNovember 17, 2016 at 9:24 am #245224Bradley
Sure, pretty simple I think it’s the red boxes in the upper left hand corner of the thumbnails on this site. You have seen it before: http://http://www.omgubuntu.co.uk/ .
BradNovember 17, 2016 at 12:38 pm #245306TomLead DeveloperLead Developer
Placing the box there could be quite simple using pseudo selectors, but including the category name is actually quite difficult.
What are you hoping to add inside the box?November 17, 2016 at 2:55 pm #245358Bradley
I just want the name of the category that the post is associated with. I should say primary category.
This guy explains a little about it but I don’t grok the part where is using setting the image to full size than resetting the image size to the one he wants in his media folder. It defeats the whole css of the site.
http://wplift.com/ He’s creating an overlay with author title etc and overlaying it onto his thumbs. I just want primary category in a small orange rectabgle in the upper left like omgubumtu has in thiers.
Here is where he explains how he is doing it… http://wplift.com/how-add-text-featured-images-different-scenarios I am just not getting it. Seems complicated. WordPress was made for things like this……November 17, 2016 at 10:22 pm #245432TomLead DeveloperLead Developer
The trouble with this is you would need to insert the category name into the container with the image itself.
In order to do that, you would need to overwrite the post image function, or I would need to add a hook into the image container (might be a good idea anyways).
I know this type of thing is possible with my WP Show Posts plugin: https://wordpress.org/support/topic/placing-post_tag-on-the-top-of-image/
I’ll look into adding a hook inside the post image container as well in GP.November 18, 2016 at 12:04 am #245464Bradley
Cool I think this show post plugin is exactly what I have been looking for as I want a little more control by using a static page instead of the actual blog on http://planetproxmox.com not much content yet. I also would like to move the logo to the left. I am sure you have done that a thousand times….
BradNovember 18, 2016 at 12:05 am #245465Bradley
Will that plugin work with elementor columns and rows?November 18, 2016 at 9:05 am #245605TomLead DeveloperLead DeveloperJuly 26, 2017 at 9:36 am #355304Zach
+1 for a hook in GP so it would be easier to modify the featured image function in the blog. Or it would make a great GP Premium feature in the customizer (would take some reorganizing of the featured image and content sections of the customizer, but it would be sooooo convenient)July 26, 2017 at 5:50 pm #355486LeoStaffCustomer Support
Are you looking for ways to have the post title on the featured images?
If the new page header addon can do just that 🙂
Check it out here: https://vimeo.com/223381628
In should be released in the next couple days but if you want to test it out then you can become a beta tester: https://docs.generatepress.com/article/beta-testing/July 28, 2017 at 3:20 am #356188Zach
That looks amazing for Page Headers. Looking forward to the release.
My goal is just to put title, etc. over the featured image on the blog list (and archives), not the header. I display as a 3-column grid and it would look so nice to have text overlays instead of that info being before/after the image.July 28, 2017 at 8:09 pm #356517TomLead DeveloperLead DeveloperJuly 30, 2017 at 12:06 am #356940Zach
I haven’t started hacking yet, but will update when I have something. I’m using this as a guide:
- You must be logged in to reply to this topic.