Closed whatsnewsisyphus closed 11 months ago
I'll check this, thank you.
Not sure if this is optimal, but an [example] ( http://photoswipe.com/documentation/seo.html) (you would wrap the a around the image and caption) On Wed, Jan 2, 2019, 8:05 AM Nikita notifications@github.com wrote:
I'll check this, thank you.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nk-o/visual-portfolio/issues/89#issuecomment-450858529, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbwdNtSFzErql9Jxy5uqUreTcCF356bks5u_K6CgaJpZM4ZjegZ .
I'm not sure that h2
tag could be removed, just because a lot of people already use the plugin and it may break a lot of portfolio styles on user's sites. nowrap
is also is not a solution. In local build already added Grid layout, so you can use it instead of Masonry, so all rows will look good.
figure
and figcaption
already added in local build and will be available in plugin update.
Can you add a filter that would allow changing the h2 without modifying plugin files? It could also be done through vp settings with an option for default caption element.
On Thu, Feb 28, 2019, 5:12 AM Nikita notifications@github.com wrote:
I'm not sure that h2 tag could be removed, just because a lot of people already use the plugin and it may break a lot of portfolio styles on user's sites. nowrap is also is not a solution. In local build already added Grid layout, so you can use it instead of Masonry, so all rows will look good.
figure and figcaption already added in local build and will be available in plugin update.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nk-o/visual-portfolio/issues/89#issuecomment-468215524, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbwdHh4Opp0OHYQj6BaNXrd2FlEbykyks5vR6uNgaJpZM4ZjegZ .
The current structure of portfolio items have some issues as described below. I would suggest something along the lines of `
`
The h2 is going to throw off a lot of people for various reasons:
.vp-portfolio__item-meta-title { white-space: nowrap; }
Having the title be wrapped in a separate a/link element
Solution above is easier to parse on the back and creates better html in the end.