In the comments section of Category Archive Grid showing Featured Images with Post Title on Hover in Genesis, a user asked:
Could you advice what I can do to have not only post title but also date and category on hover?
In this tutorial I share the template for category archives that displays the featured images of Posts in a grid (number of columns can be changed). For each post, hovering on image will reveal the title, post info and entry meta with the image's opacity reduced.
Step 1
Add the following in child theme's functions.php:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.
what changes would I have to apply to the above codes to use this type of grid display for home page as well as category?
Many thanks!
I’d like to know this as well.
1) In functions.php add http://pastie.org/pastes/10499266/text
2) In category.php add http://pastie.org/pastes/10499267/text after the opening PHP tag.
3) Replace code from Step 3 with http://pastie.org/pastes/10499268/text
thank you!
have you written an article how to implement this on tags? or anyone here can help?
I am developing a theme using your advice but images dont want to stay the same height as well as width, could you advice what is wrong?
you can see the images displayed in different sizes here:
http://www.youonline.co/long-story/
I really appreciate
Hi Sridhar!
How can I apply this to my search results page too?
TIA!
SOLVED. I copied the code in a new search.php