Skip to content

Commit

Permalink
Changes to support Method v1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelwatt committed Sep 25, 2021
1 parent a564f4d commit 12ca640
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 1.3.4

Changes:
* ( build/ ) Updated to Method v1.3.4, which adds a filter and action to allow for easily adding custom format tags, and adds an optional $fallback argument to the get_meta(), get_loaded_meta(), and get_option() methods.
* ( njk/assets/lib/admin-customization.php ) Implemented the 'method_after_tags_dialog_html' action in the prefix_admin_footer_function() function.
* ( gulpfile.js ) Implemented a fix so that custom builds should no longer contain dev folders, and should contain the .gitignore file.

---

## 1.3.3

Changes:
Expand Down
2 changes: 1 addition & 1 deletion build
3 changes: 3 additions & 0 deletions njk/assets/lib/admin-customization.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ function {{globals.code_prefix}}admin_footer_function() {
<hr>
<h5>[br]</h5>
<p>This tags allows you to insert a line break. Use <code>[br]</code> for the line break to appear on all devices, <code>[mbr]</code> for the line break to only appear on mobile, and <code>[dbr]</code> for the break to only appear on desktop.<br><em>(Ex: "I want this text on line 1,[br]and this text on line 2.")</em></p>
';
do_action( 'method_after_tags_dialog_html' );
echo '
</div>
';
}
Expand Down
4 changes: 2 additions & 2 deletions njk/templates/_globals-defaults.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
{% set theme_name = "Method" %}
{% set theme_uri = "https://github.com/pixelwatt/method" %}
{% set theme_description = "A barebones foundation for custom theme development." %}
{% set theme_version = "1.3.3" %}
{% set theme_version = "1.3.4" %}
{% set theme_author = "Rob Clark" %}
{% set theme_author_uri = "https://robclark.io/" %}
{% set theme_tags = "cmb2, bootstrap" %}
{% set theme_tags = "CMB2, Bootstrap 5" %}
{% set github_theme_uri = false %}


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "method-generator",
"version": "1.3.2",
"version": "1.3.4",
"description": "This project allows you to rapidly create custom builds of the Method theme using Gulp and Nunjucks.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 12ca640

Please sign in to comment.