Business Profile - Version 2.1.2

Version Description

(2021-03-08) = - Update for the conditional enqueueing of assets in the admin. - Styling fix for the location create/edit screen when using the classic editor.

Download this release

Release Info

Developer Rustaurius
Plugin Icon 128x128 Business Profile
Version 2.1.2
Comparing to
See all releases

Code changes from version 2.1.1 to 2.1.2

assets/css/admin.css CHANGED
@@ -8,10 +8,9 @@
8
  }
9
 
10
  .bpfwp-meta-input {
11
- position: relative;
12
- clear: both;
13
  width: 100%;
14
- padding-top: 1em;
 
15
  }
16
  .bpfwp-meta-input.bpfwp-meta-post_type {
17
  float: left;
@@ -23,26 +22,17 @@
23
  }
24
 
25
  .bpfwp-meta-input label {
26
- position: relative;
27
- float: left;
28
- width: 120px;
29
- top: 5px;
30
- }
31
- .bpfwp-meta-input.bpfwp-meta-post_type label {
32
- clear: left;
33
  }
34
 
35
  .bpfwp-meta-input label.bold-label {
36
  font-weight: bold;
37
- margin: 12px 0 16px;
38
- position: relative;
39
  }
40
  .bpfwp-meta-input label.default-label {
41
  font-weight: bold;
42
  font-size: 1.3em;
43
- margin: 16px 0 24px;
44
- position: relative;
45
- width: 100%;
46
  }
47
 
48
  .bpfwp-meta-input textarea,
@@ -50,13 +40,14 @@
50
  .bpfwp-meta-input input[type="text"],
51
  .bpfwp-meta-input input[type="email"],
52
  .bpfwp-meta-input input[type="tel"] {
53
- position: relative;
54
- float: left;
55
  border: 2px solid#ccc;
56
  border-radius: 5px;
57
  box-shadow: none;
58
  max-width: 300px;
59
- margin-bottom: 8px;
 
 
 
60
  }
61
  .bpfwp-meta-input select.no-margin {
62
  margin-bottom: 0;
@@ -87,13 +78,6 @@
87
  font-size: 1em;
88
  }
89
 
90
- .bpfwp-meta-geo_address,
91
- .sap-coords-result {
92
- margin: 0 -1em;
93
- padding: 1em;
94
- border-bottom: 1px solid #eee;
95
- }
96
-
97
  .sap-coords-result {
98
  padding: 0.25em 1em;
99
  }
@@ -1842,7 +1826,7 @@ NEW STYLING FOR ADD/DELETE AREAS LIKE CUSTOM FIELDS
1842
  NEW
1843
  *****/
1844
  .edit-post-meta-boxes-area .postbox {
1845
- overflow: scroll;
1846
  }
1847
 
1848
 
@@ -1867,14 +1851,18 @@ NEW
1867
  display: block;
1868
  clear: both;
1869
  }
1870
- .bpfwp-meta-input label {
1871
- padding-bottom: 15px;
 
 
1872
  }
 
1873
  .bpfwp-meta-input {
1874
- float: left;
1875
  }
1876
 
1877
- #bpfwp_schema_targeting_information .inside {
1878
  display: inline-block;
1879
- width: 100%;
 
1880
  }
8
  }
9
 
10
  .bpfwp-meta-input {
 
 
11
  width: 100%;
12
+ padding-top: 2em;
13
+ display: block;
14
  }
15
  .bpfwp-meta-input.bpfwp-meta-post_type {
16
  float: left;
22
  }
23
 
24
  .bpfwp-meta-input label {
25
+ max-width: 175px;
26
+ display: inline-block;
27
+ width: 100%;
 
 
 
 
28
  }
29
 
30
  .bpfwp-meta-input label.bold-label {
31
  font-weight: bold;
 
 
32
  }
33
  .bpfwp-meta-input label.default-label {
34
  font-weight: bold;
35
  font-size: 1.3em;
 
 
 
36
  }
37
 
38
  .bpfwp-meta-input textarea,
40
  .bpfwp-meta-input input[type="text"],
41
  .bpfwp-meta-input input[type="email"],
42
  .bpfwp-meta-input input[type="tel"] {
 
 
43
  border: 2px solid#ccc;
44
  border-radius: 5px;
45
  box-shadow: none;
46
  max-width: 300px;
47
+ display: inline-block;
48
+ width: 100%;
49
+ float: none;
50
+ margin: 0;
51
  }
52
  .bpfwp-meta-input select.no-margin {
53
  margin-bottom: 0;
78
  font-size: 1em;
79
  }
80
 
 
 
 
 
 
 
 
81
  .sap-coords-result {
82
  padding: 0.25em 1em;
83
  }
1826
  NEW
1827
  *****/
1828
  .edit-post-meta-boxes-area .postbox {
1829
+ overflow: auto;
1830
  }
1831
 
1832
 
1851
  display: block;
1852
  clear: both;
1853
  }
1854
+
1855
+ #bpfwp_schema_targeting_information .inside {
1856
+ display: inline-block;
1857
+ width: 100%;
1858
  }
1859
+
1860
  .bpfwp-meta-input {
1861
+ float: none;
1862
  }
1863
 
1864
+ .bpfwp-meta-input label {
1865
  display: inline-block;
1866
+ vertical-align: text-bottom;
1867
+ min-width: 200px;
1868
  }
business-profile.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Five Star Business Profile and Schema
4
  * Plugin URI: https://www.fivestarplugins.com/plugins/business-profile/
5
  * Description: Add schema structured data to any page or post type. Create an SEO friendly contact card with your business info and associated schema. Supports Google Map, opening hours and more.
6
- * Version: 2.1.1
7
  * Author: Five Star Plugins
8
  * Author URI: https://www.fivestarplugins.com
9
  * License: GPLv3
3
  * Plugin Name: Five Star Business Profile and Schema
4
  * Plugin URI: https://www.fivestarplugins.com/plugins/business-profile/
5
  * Description: Add schema structured data to any page or post type. Create an SEO friendly contact card with your business info and associated schema. Supports Google Map, opening hours and more.
6
+ * Version: 2.1.2
7
  * Author: Five Star Plugins
8
  * Author URI: https://www.fivestarplugins.com
9
  * License: GPLv3
includes/class-installation-walkthrough.php CHANGED
@@ -155,6 +155,9 @@ class bpfwpInstallationWalkthrough {
155
  }
156
 
157
  public function admin_enqueue() {
 
 
 
158
  wp_enqueue_style( 'bpfwp-welcome-screen', BPFWP_PLUGIN_URL . '/assets/css/admin-bpfwp-welcome-screen.css', array(), BPFWP_VERSION );
159
 
160
  foreach ( $this->scheduler->styles as $slug => $style ) {
155
  }
156
 
157
  public function admin_enqueue() {
158
+
159
+ if ( ! isset( $_GET['page'] ) or $_GET['page'] != 'bpfwp-getting-started' ) { return; }
160
+
161
  wp_enqueue_style( 'bpfwp-welcome-screen', BPFWP_PLUGIN_URL . '/assets/css/admin-bpfwp-welcome-screen.css', array(), BPFWP_VERSION );
162
 
163
  foreach ( $this->scheduler->styles as $slug => $style ) {
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: FiveStarPlugins
3
  Author URI: https://www.fivestarplugins.com/
4
  Plugin URL: https://www.fivestarplugins.com/plugins/business-profile/
5
  Requires at Least: 5.3
6
- Tested Up To: 5.5
7
  Tags: business profile, seo, local seo, schema, address, google map, contact, phone, contact card, vcard, contact info, business location, business address, business map, business schema, organization schema, corporation schema, contact schema, address schema, location schema, map schema, business structured data, business microdata, address microdata, location structured data, location microdata, contact shortcode, location shortcode, address shortcode, schema shortcode, gutenberg schema, gutenberg address
8
- Stable tag: 2.1.1
9
  License: GPLv3
10
  License URI:http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -192,6 +192,10 @@ You'll find more help in the [User Guide](http://doc.themeofthecrop.com/plugins/
192
 
193
  == Changelog ==
194
 
 
 
 
 
195
  = 2.1.1 (2020-10-16) =
196
  - Updating the time format of exceptions to use the format you specified in your WP settings, like with regular opening hours.
197
  - Updating the localization of exceptions (i.e. to make the month and day, etc. translatable).
3
  Author URI: https://www.fivestarplugins.com/
4
  Plugin URL: https://www.fivestarplugins.com/plugins/business-profile/
5
  Requires at Least: 5.3
6
+ Tested Up To: 5.7
7
  Tags: business profile, seo, local seo, schema, address, google map, contact, phone, contact card, vcard, contact info, business location, business address, business map, business schema, organization schema, corporation schema, contact schema, address schema, location schema, map schema, business structured data, business microdata, address microdata, location structured data, location microdata, contact shortcode, location shortcode, address shortcode, schema shortcode, gutenberg schema, gutenberg address
8
+ Stable tag: 2.1.2
9
  License: GPLv3
10
  License URI:http://www.gnu.org/licenses/gpl-3.0.html
11
 
192
 
193
  == Changelog ==
194
 
195
+ = 2.1.2 (2021-03-08) =
196
+ - Update for the conditional enqueueing of assets in the admin.
197
+ - Styling fix for the location create/edit screen when using the classic editor.
198
+
199
  = 2.1.1 (2020-10-16) =
200
  - Updating the time format of exceptions to use the format you specified in your WP settings, like with regular opening hours.
201
  - Updating the localization of exceptions (i.e. to make the month and day, etc. translatable).
templates/contact-card.php CHANGED
@@ -113,4 +113,3 @@
113
  }
114
  </script>
115
  </address>
116
- <?php // "openingHours": ["Mo,Tu,We 9:00-17:00","Th,Fr,Sa 9:00-19:00","Su 12:00-17:00"] ?>
113
  }
114
  </script>
115
  </address>