Skip to content

Commit 99995be

Browse files
author
Joe Hawes
committed
Updated text
1 parent 1f95f5b commit 99995be

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

inc/Admin/Waymark_Settings.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -870,10 +870,11 @@ function __construct() {
870870
'name' => 'map_height',
871871
'id' => 'map_height',
872872
'type' => 'text',
873-
'class' => 'waymark-short-input',
873+
'class' => 'waymark-short-input waymark-align-top',
874874
'title' => esc_html__('Map Height', 'waymark'),
875-
'default' => Waymark_Config::get_setting('misc', 'map_options', 'map_height'),
876-
'tip' => sprintf(esc_attr__('Specify the desired height of the Map (in pixels). Pro Tip! This will affect all Maps, but you can change the height of an individual Map through the Shortcode: %s', 'waymark'), '[' . Waymark_Config::get_item('shortcode') . ' map_id="1234" map_height="' . Waymark_Config::get_setting('misc', 'map_options', 'map_height') . '"]'),
875+
'default' => Waymark_Config::get_setting('misc', 'map_options', 'map_height'),
876+
'append' => '<br />' . sprintf(esc_attr__('Or set in Shortcode: %s', 'waymark'), '<code>[' . Waymark_Config::get_item('shortcode') . ' map_height=&quot;' . Waymark_Config::get_setting('misc', 'map_options', 'map_height') . '&quot; map_width=&quot;320&quot;]</code>'),
877+
'tip' => sprintf(esc_attr__('Specify the desired height of the Map (in pixels). Pro Tip! This will affect all Maps, but you can change the height (and width) of an individual Map through the Shortcode: %s', 'waymark'), '[' . Waymark_Config::get_item('shortcode') . ' map_id=&quot;1234&quot; map_height=&quot;' . Waymark_Config::get_setting('misc', 'map_options', 'map_height') . '&quot;]'),
877878
'input_processing' => array(
878879
'preg_replace("/[^0-9]/", "", $param_value);'
879880
),

readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ A big thank you to the following projects and their contributors. Without their
111111

112112
## Changelog ##
113113

114+
### 0.9.28.8 ###
115+
116+
* Added map_width Shortcode option, which has been requested a couple of times. Thanks for bugging me! :0)
117+
114118
### 0.9.28.7 ###
115119

116120
* Meta data is now preserved when the Map is trashed/restored. Thanks to <a href="https://wordpress.org/support/users/killiandev7/">killiandev7</a> for <a href="https://wordpress.org/support/topic/feature-request-recover-map-data-after-recovering-a-deleted-map/">bringing this to my attention</a>.

readme.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ A big thank you to the following projects and their contributors. Without their
9797

9898
== Changelog ==
9999

100+
= 0.9.28.8 =
101+
102+
* Added map_width Shortcode option, which has been requested a couple of times. Thanks for bugging me! :0)
103+
100104
= 0.9.28.7 =
101105

102106
* Meta data is now preserved when the Map is trashed/restored. Thanks to <a href="https://wordpress.org/support/users/killiandev7/">killiandev7</a> for <a href="https://wordpress.org/support/topic/feature-request-recover-map-data-after-recovering-a-deleted-map/">bringing this to my attention</a>.

0 commit comments

Comments
 (0)