wpa11yday / conference

Conference plugin; custom functionality for WP Accessibility Day
GNU General Public License v3.0
2 stars 0 forks source link

wpcs_sponsors shortcode should add rel="sponsored" to the link if link attribute is website #44

Closed amberhinds closed 1 year ago

amberhinds commented 1 year ago

This is the shortcode where this applies: [wpcs_sponsors link="website" level="micro"]

This results in links on the logos that go directly to the sponsor's website. These links should have rel="sponsored" on them.

The attribute should only be added conditionally if the links go to the sponsors website. It should not be added on shortcodes with link="page".

See the shortcodes on the Sponsors Page.