=== A Shortcode Tester === Contributors: Magenta Cuda Donate link: Tags: shortcode, tool, tester Requires at least: 3.6 Tested up to: 5.3 Stable tag: 1.2.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html A post editor tool for displaying the HTML generated by WordPress shortcodes. == Description == The Shortcode Tester is a post editor tool for WordPress developers that displays in a popup window the HTML generated by WordPress shortcodes, i.e. so you can quickly view the generated HTML without having to view the entire post. Please visit [https://github.com/magenta-cuda/shortcode-tester/blob/master/README.md](https://github.com/magenta-cuda/shortcode-tester/blob/master/README.md) for a very quick introduction. == Installation == 1. Download the plugin from the WordPress repository. 2. Open the 'Plugins' menu item and activate the plugin. 3. Read the tutorial at [https://github.com/magenta-cuda/shortcode-tester/blob/master/README.md](https://github.com/magenta-cuda/shortcode-tester/blob/master/README.md). == Frequently Asked Questions == = "Show Rendered" shows more than the shortcode HTML elements. = "The Shortcode Tester" tries to hide HTML elements that are not part of the shortcode. It assumes that the current theme uses the standard WordPress framework for emitting the header, the content, sidebars and the footer ( actions/filters such as 'the_content', 'get_sidebar', 'get_footer', ... ). If the current theme deviates from this framework "The Shortcode Tester" will not be able to properly identify the header, sidebars and/or the footer. = "Show Rendered" shows less than the shortcode HTML elements. = In addition to the HTML elements emitted by the PHP code for the shortcode, the shortcode may have JavaScript code to dynamically emit additional HTML elements. The shortcode tester hides non shortcode HTML elements by setting the CSS display property to none and changing the element id. These changes may affect the execution of the shortcode's JavaScript code. == Screenshots == 1. The Shortcode Tester == Changelog == = 1.2.1 = * fix problem with non permalink URL's * fix "permalink not found" error after updating to WordPress 5.3 * fix problem with "Show Rendered" on posts of type 'post' = 1.2 = * add support for Gutenberg = 1.1.1.1 = * fix major bug where shortcode evaluation was wrong if it was dependent on is_admin() === false = 1.1.1 = * disable false warnings from DOMDocument = 1.1 = * add prettify option * refactor to improve software quality = 1.0.1.1 = * Code rewritten to improve software quality = 1.0.1 = * Fix namespace problem = 1.0 = * Initial release. == Upgrade Notice == = 1.2.1 = * fix problem with non permalink URL's * fix "permalink not found" error after updating to WordPress 5.3 * fix problem with "Show Rendered" on posts of type 'post' = 1.2 = * add support for Gutenberg = 1.1.1.1 = * fix major bug where shortcode evaluation was wrong if it was dependent on is_admin() === false = 1.1.1 = * disable false warnings from DOMDocument = 1.1 = * add prettify option * refactor to improve software quality = 1.0.1.1 = * Code rewritten to improve software quality = 1.0.1 = * Fix namespace problem = 1.0 = * Initial release.