![]() ![]() 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.Fix possible XSS vulnerability as reported by WPScan.Update scripts and packages to the latest version.Small tweaks and improvements to the UX.Fix broken images (the image url moved – thanks for finding the fix).However, if you have the techinical know-how you can fork the repository and make your own version. Keep in mind that this is an Automattic project so, whilst you can look at the code and post bugs, it’s unlikely they will answer support questions. The images are generated by a third party servive and stored on their servers. If the image is displayed on your website then reloading the page is the only option. To reload the image you can press the ‘refresh’ button that appears in the toolbar when the shots block is selected. There is no way for the site to know if they have been created and so a loading image is shown. The images are generated on an external server and take a little while to be created. Why don’t the images display until I refresh the page? Since this service is run by Automattic this could change at any time. It is used with permission from Matt Mullenweg. ![]() You can reach out to me with questions or problems on Twitterīrowser Shots is based on the MShots functionality built and used by.If you only want to enable the shortcode for a specific site, activate the plugin for that site only. The Browser Shots plugin is compatibly with WordPress Multisite, just use the Network Activate feature to enable the shortcode on every site. The other parameters, from the shotcode, can be implemented manually when outputting the html. Keep in mind that the plugin must be installed and activated for this to work. If you want to create screenshots in a theme using this plugin then you can do so using the BrowserShots::get_shot method. post_links (true or false – default false) to link to the of the post the screenshot is on.display_link (true or false – default true) to display a link in your screenshot.image_class – change the default browsershots image class from alignnone to your chosen class.class – add a class to the browsershots wrapper.Left blank it will point to the website where the screenshot is being taken url (required) – the url of the link to shorten.shot with caption (uses default WordPress caption styles)Īdd Caption Shortcode Preview // basic shot 600px wide The images are cached for roughly 24 hours before being generated again. The images are stored on the servers and are not saved onto your own website. This function is free for non-commercial use. The plugin uses the ‘mshots’ functionality, from, to automatically take screenshots of websites. An icon is also added to the TinyMCE editor to make the shortcode creation process easy. Use the shortcode to automate the process of taking website screenshots. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |