Unable to override 'title' and 'url' attributes with [share] shortcode (Roots Share Plugin)

I am unable to override the title and url attributes when using the [share title="foo" url="bar"] shortcode. I notice that lines 5 and 6 of templates/shortcode-share.php redefine these values which would mean the shortcode attributes would be worthless. Removing these lines makes the plugin work as expected. My current fix is to filter the entire template but I thought someone should be aware of the bug. Not sure if this is the correct place to post bugs for the plugins! Love the plugin, nice and simple!

1 Like

Thanks for reporting this! I fixed the issue in version 1.0.3 - everyone who has purchased the plugin has received an email with a new download link.

Thanks @benword. New version works like a charm.