Changeset 2050944
- Timestamp:
- 03/15/2019 12:26:52 AM (7 years ago)
- File:
-
- 1 edited
-
eu-tyre-label-shortcode/trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
eu-tyre-label-shortcode/trunk/readme.txt
r2050930 r2050944 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html 11 11 12 This plugin creates an image of the EU tyre label. With an easy button in the tinyMCE editor, or in the gutenberg block for shortcodes, you can insert ashortcode to your page. Within the shortcode you can specify all the necessary parameters of the label.12 This plugin creates an image of the EU tyre label. With an easy button in the classic tinyMCE editor, or with text in a gutenberg block, you can insert the shortcode to your page. Within the shortcode you can specify all the necessary parameters of the label. 13 13 14 14 15 15 == Description == 16 16 17 This plugin creates an image of the legally required EU tyre label with a shortcode. 18 19 With a convinient button in the tinyMCE editor you can generate and insert the shortcode very easy to your text. Just click on the editor button and a window pops up where you can input all the possible parameters. 17 This plugin creates an image of the legally required EU tyre label with parameter via a shortcode. 20 18 21 19 [eutl fuel= "A" grip="G" noise="3" db="77" size="" ] 22 20 23 T he shortcode uses the following parameter options for the label:21 To add the shortcode you have the following options: 24 22 25 * fuel consumption A-G 26 * wet grip A-G 27 * noise level 0-3 28 * dB level 0-99 29 * image size (optional) 23 * enter the shortcode in the classic editor, 24 * click the special button in the classic tinyMCE editor and a window pops up where you can input all the possible parameters, 25 * enter the shortcode as text in a gutenberg block, 26 * or use the special gutenberg block for shortcodes. 30 27 31 You can specify the size of the resulting image. By default the shortcode generates an image with 225 x 330 pixel. If you add the size parameter to the shortcode you get images from 25 px width up to max 300 px width (at 440 px height). 28 Within the shortcode you can specify all the necessary parameter options of the label: 32 29 33 The shortcode returns a png-image of the label. 30 * fuel consumption: A-G 31 * wet grip: A-G 32 * noise level: 0-3 33 * dB level: 0-99 34 * image size as width: (optional) 35 36 You can specify the size of the resulting image. By default the shortcode generates an image with 225 x 330 pixel. The size parameter determines the width of the image. Possible values are 25 px width up to max 300 px width (at 440 px height). 37 38 The shortcode calls a php-function and returns a png-image of the label. 34 39 35 40 Further information about the EU tyre label requirements and legal background can be found here: … … 72 77 [eutl fuel="A" grip="G" noise="3" db="77" size="" ] 73 78 79 74 80 =Values of the shortcode are not shown= 75 81 Check if the quotation marks in the shortcode are correct. The simple quotation marks are needed, not typographic marks. … … 86 92 =Is there a special solution for WooCommerce?= 87 93 Yes, at Leusing Webdesign we work on a special plugin for WooCommerce with database connection. This will be soon available as premium version. 94 95 96 =C1, C2 and C3 type of vehicle tyres= 97 We got a feedback, that the label should show one more parameter for the type of vehicle, C1, C2 or C3. The coding for this extra parameter is ready. If you like to see this feature, please give us an info, then we will publish and update the new code here. 88 98 89 99
Note: See TracChangeset
for help on using the changeset viewer.