You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds ability to hide certain releases, default for most is to show all or 1. sort_by allows you to sort by name or date, defaults to date. [bmlt_versions sort_by="name"] or [bmlt_versions sort_by="date"] defaults to date if not specified.
10
10
11
11
Ex. [bmlt_versions drupal="0"] would not display drupal link.
@@ -14,7 +14,7 @@ Ex. [bmlt_versions drupal="0"] would not display drupal link.
14
14
[bmlt_versions_simple]
15
15
16
16
This is just a more concise and simple display but allows you to add documentation links in dashboard settings.
Adds ability to hide certain releases, default is to show all or 1. sort_by allows you to sort by name or date, defaults to date. [bmlt_versions_simple sort_by="name"] or [bmlt_versions_simple sort_by="date"] defaults to date if not specified.
19
19
20
20
Ex. [bmlt_versions_simple drupal="0"] would not display drupal link.
@@ -32,6 +32,11 @@ This section describes how to install the plugin and get it working.
32
32
33
33
# Changelog
34
34
35
+
= 1.9.0 =
36
+
* Added Crumb plugin support (WordPress, Drupal, and Joomla variants).
37
+
* Fixed duplicated entry in [bmlt_versions_simple] output.
38
+
* Cleaned up settings registration, sort comparators, and API error handling.
Copy file name to clipboardExpand all lines: bmlt-versions.php
+75-89Lines changed: 75 additions & 89 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
Description: A simple content generator to display the versions and links of the various BMLT components. Add [bmlt_versions] to a page or a post to generate the list.
7
7
Author: bmlt-enabled
8
8
Author URI: https://bmlt.app
9
-
Version: 1.8.2
9
+
Version: 1.9.0
10
10
Install: Drop this directory into the "wp-content/plugins/" directory and activate it.
11
11
*/
12
12
/* Disallow direct access to the plugin file */
@@ -44,74 +44,65 @@ public function enqueueFrontendFiles()
$rows = ['bmltVersionsGithubApiKey' => 'GitHub API Token'];
75
+
foreach ($this->docOptions() as$key => $field) {
76
+
$rows[$key] = $field['label'];
77
+
}
68
78
?>
69
79
<div>
70
80
<h2>BMLT Versions</h2>
71
81
<p>You must activate a GitHub personal access token to use this plugin. Instructions can be found here <a href="https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token">https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token</a>.</p>
72
82
<p>Links for documentation are optional and only configured for [bmlt_versions_simple]. You can find all the documentations pages here <a href="https://bmlt.app">https://bmlt.app</a>. If inputs are left blank, "View Documentation" link will not display on the front end</p>
Adds ability to hide certain releases, default for most is to show all or 1. sort_by allows you to sort by name or date, defaults to date. [bmlt_versions sort_by="name"] or [bmlt_versions sort_by="date"] defaults to date if not specified.
19
19
20
20
Ex. [bmlt_versions drupal="0"] would not display drupal link.
@@ -23,7 +23,7 @@ Ex. [bmlt_versions drupal="0"] would not display drupal link.
23
23
[bmlt_versions_simple]
24
24
25
25
This is just a more concise and simple display but allows you to add documentation links in dashboard settings.
Adds ability to hide certain releases, default is to show all or 1. sort_by allows you to sort by name or date, defaults to date. [bmlt_versions_simple sort_by="name"] or [bmlt_versions_simple sort_by="date"] defaults to date if not specified.
28
28
29
29
Ex. [bmlt_versions_simple drupal="0"] would not display drupal link.
@@ -45,6 +45,11 @@ This section describes how to install the plugin and get it working.
45
45
46
46
== Changelog ==
47
47
48
+
= 1.9.0 =
49
+
* Added Crumb plugin support (WordPress, Drupal, and Joomla variants).
50
+
* Fixed duplicated entry in [bmlt_versions_simple] output.
51
+
* Cleaned up settings registration, sort comparators, and API error handling.
0 commit comments