Plugin Directory

Changeset 2050944


Ignore:
Timestamp:
03/15/2019 12:26:52 AM (7 years ago)
Author:
frankleusing
Message:

changes of readme.txt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • eu-tyre-label-shortcode/trunk/readme.txt

    r2050930 r2050944  
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1111
    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 a shortcode to your page. Within the shortcode you can specify all the necessary parameters of the label.
     12This 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.
    1313
    1414
    1515== Description ==
    1616
    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.
     17This plugin creates an image of the legally required EU tyre label with parameter via a shortcode.
    2018
    2119[eutl fuel= "A" grip="G" noise="3" db="77" size="" ]
    2220
    23 The shortcode uses the following parameter options for the label:
     21To add the shortcode you have the following options:
    2422
    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.
    3027
    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).
     28Within the shortcode you can specify all the necessary parameter options of the label:
    3229
    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
     36You 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
     38The shortcode calls a php-function and returns a png-image of the label.
    3439
    3540Further information about the EU tyre label requirements and legal background can be found here:
     
    7277[eutl fuel="A" grip="G" noise="3" db="77" size="" ]
    7378
     79
    7480=Values of the shortcode are not shown=
    7581Check if the quotation marks in the shortcode are correct. The simple quotation marks are needed, not typographic marks.
     
    8692=Is there a special solution for WooCommerce?=
    8793Yes, 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=
     97We 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.
    8898
    8999
Note: See TracChangeset for help on using the changeset viewer.