Closed webfocusdesign closed 10 years ago
In Commit f143a8c3bd4a030917da8f9899a488ee9bfdde9a and 2efe6182c9a689e5071d5fd16081cdfac85b44e1, I added the .featured{post_type} class with a filter (gsfc_add_featuredpost) to add featuredpost to all regardless of type.
Hi,
As I mentioned on Twitter, I was testing your widget to use in place of the native Genesis Featured Posts widget in the "Our Work" section from the Agency Pro demo. I want to display WooCommerce products there.
The basic layout of that widget area (3 cols image grid without any space between them) worked when I added the .featuredpost class to the widget using a widgets classes plugin but the content padding doesn't work as the markup of your widget is different and lacks a couple of containers in comparison with the native widget as illustrated below:
This is example markup from the native Featured Posts widget in Agency Pro (using unit test or some other dummy content) :
https://gist.github.com/webfocusdesign/7725837
If the markup could match it would be great. I haven't tested in other child themes yet but I'm pretty sure the same thing would happen.
Thanks!