Hi David,
I think:
within your options.php on line 742 you can change from…
<label for="udm_newform_description"><?php _e('Description:', 'updraftmanager');?></label> <input id="udm_newform_description" type="text" name="description" value="<?php echo (isset($use_values['description'])) ? htmlspecialchars($use_values['description']) : ''; ?>" size="60">
<span class="udm_description"><em><?php echo htmlspecialchars(__('This is shown in the WordPress dashboard when showing update information.', 'updraftmanager'));?></em></span>
to someting like this (not tested).
<label for="udm_newform_description"><?php _e('Description:', 'updraftmanager');?></label> <textarea id="udm_newform_description" name="description" rows="10" cols="90"><?php echo (isset($use_values['description'])) ? htmlspecialchars($use_values['description']) : ''; ?></textarea>
<span class="udm_description"><em><?php echo htmlspecialchars(__('This is shown in the WordPress dashboard when showing update information.', 'updraftmanager'));?></em></span>
to get a textarea for the description. It is more userfriendly for mor than one line of description.
Additional you can add another textarea like the one for description to edit the installation instruction for example and 4 normal textfields for image path to plugin banner images. Following the parts of the .json which should be filled from wordpress options page:
"sections": {
"description": "THIS IS FILLED BY YOUR PLUGIN ALREADY",
"installation": "THIS SHOULD BE FILLE BY A TEXTAREA FROM OPTIONS PAGE",
},
"icons" : {
"1x" : "https://website.xx/assets/icon-128x128.png",
"2x" : "https://website.xx/assets/icon-256x256.png"
},
"banners": {
"low": "https://website.xx/assets/banner-772x250.png",
"high": "https://website.xx/assets/banner-1544x500.png"
},
Best regards
Patrick
-
This reply was modified 6 years, 2 months ago by pare81.
-
This reply was modified 6 years, 2 months ago by pare81.