Add Gutenberg block for including Browser Shots.Change the rel link property to a toggle for one click changes.Add some placeholder text to the input fields to make it clearer what is expected.Add a new parameter display_link that allows you to disable the link around the screenshot.Ensuring display_link is a boolean in the shortcode.Now displays “Screenshot from domain-name”. Previously it would display the url for the screenshot, but this could be messy, and is not actually useful. If you set the link url to PERMALINK then the url will point to the currrent page or post. Make get_shots static so it can be used outside of the shortcode/ gutenberg block.Added option to allow screenshot to link to the post’s URL.Add a $shortcode parameter to the shortcode_atts function call so that the shortcode properties can be filtered.Add missing text domain for translations.Fix variable comparison that could cause errors in some situations.
0 Comments
Leave a Reply. |