diff --git a/assets/sass/parts/_typography.scss b/assets/sass/parts/_typography.scss
index 0fe960d..74923c5 100644
--- a/assets/sass/parts/_typography.scss
+++ b/assets/sass/parts/_typography.scss
@@ -14,7 +14,7 @@ html {
pre, code, kbd, tt, var {
font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
- font-size: .9375rem;;
+ font-size: .9375rem;
}
h1 {
diff --git a/includes/class-setup-plugin.php b/includes/class-setup-plugin.php
index a607b22..0b893ae 100644
--- a/includes/class-setup-plugin.php
+++ b/includes/class-setup-plugin.php
@@ -20,6 +20,7 @@ public static function init() {
add_action( 'pfbt_content', __CLASS__ . '::notice' );
add_filter( 'fl_theme_builder_part_hooks', __CLASS__ . '::parts' );
+ add_filter( 'fl_builder_upgrade_url', __CLASS__ . '::upgrade_url' );
}
/**
@@ -80,6 +81,18 @@ public static function parts() {
);
}
+ /**
+ * Upgrade link URL.
+ *
+ * @since 1.0.0
+ * @version 1.0.0
+ *
+ * @param string $url
+ */
+ public static function upgrade_url( $url ) {
+ return esc_url( add_query_arg( 'fla', '67', $url ) );
+ }
+
}
PfBT_Setup_Plugin::init();
diff --git a/languages/readme.md b/languages/readme.md
new file mode 100644
index 0000000..d07d2b0
--- /dev/null
+++ b/languages/readme.md
@@ -0,0 +1,22 @@
+# WARNING! Do not place your translation files here.
+
+Any translation files placed here will be deleted when you update the theme.
+
+
+## Translating the theme
+
+### Using [**Poedit**](http://www.poedit.net/)
+
+1. Make a copy of the original `playground-for-beaver-themer.pot` file.
+2. You need to rename the copied file now. The naming convention is based on [your language code locale](https://translate.wordpress.org/) and renaming the file extension to "po". So, the British English file would be named as `en_GB.po`, for example.
+3. Use [Poedit](http://www.poedit.net/) to translate the file and export (save) translation also in `mo` translation file format.
+4. Upload translated `en_GB.mo` file into your WordPress language directory, such as `/wp-content/languages/themes/playground-for-beaver-themer/en_GB.mo`.
+
+### Using [**Loco Translate**](https://wordpress.org/plugins/loco-translate/) plugin
+
+If you would like translate the theme directly in your WordPress dashboard you need to use a specialized plugin for that. Please install and activate [**Loco Translate**](https://wordpress.org/plugins/loco-translate/) plugin. For instructions on how to use the plugin please refer to [beginner's guide](https://localise.biz/wordpress/plugin/beginners) and/or [technical overview](https://localise.biz/wordpress/plugin/overview).
+
+
+## Contributing your translations
+
+Please [create a GitHub issue](https://github.com/webmandesign/playground-for-beaver-themer/issues) and attach your translation files so they can be bundled with the theme in the future update. Thank you for your contribution!
diff --git a/readme.txt b/readme.txt
index 2f19afd..5971e77 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,3 +1,5 @@
+@todo UPDATE AND CONVERT TO MARKDOWN.
+
=== Playground for Beaver Themer ===
Contributors: webmandesign
Tags: custom-logo, custom-menu, featured-images, rtl-language-support, translation-ready
@@ -18,23 +20,23 @@ It only takes a few moments to create all the theme layouts and views using Beav
Actually, the only coding you might need to do, is apply some additional CSS styles based on your needs. Such as typography or forms styles. For information on what basic styles the theme provides, please refer to FAQ section below.
-You can obtain Beaver Themer plugin from https://www.wpbeaverbuilder.com/beaver-themer/
-You will also need the Beaver Builder plugin, but only the paid version, as the free version is not compatible with Beaver Themer. Get Beaver Builder from https://www.wpbeaverbuilder.com/pricing/
-For instructions on how to use Beaver Themer plugin, please check the documentation at https://kb.wpbeaverbuilder.com/
+You can obtain Beaver Themer plugin from https://www.wpbeaverbuilder.com/beaver-themer/?fla=67
+You will also need the Beaver Builder plugin, but only the paid version, as the free version is not compatible with Beaver Themer. Get Beaver Builder from https://www.wpbeaverbuilder.com/pricing/?fla=67
+For instructions on how to use Beaver Themer plugin, please check the documentation at https://kb.wpbeaverbuilder.com/?fla=67
== Frequently Asked Questions ==
= Where can I find more information about the theme? =
-For more information about the theme please visit http://webmandesign.github.io/playground-for-beaver-themer
+For more information about the theme please visit https://webmandesign.github.io/playground-for-beaver-themer
= How can I update the theme? =
-You can download the newest version of the theme from http://webmandesign.github.io/playground-for-beaver-themer and overwrite the copy on your server via FTP then.
+You can download the newest version of the theme from https://webmandesign.github.io/playground-for-beaver-themer and overwrite the copy on your server via FTP then.
Or, for automatic theme updates, you can install GitHub Updater (https://github.com/afragen/github-updater) plugin which will take care of the theme updates for you.
= What styles does the theme contain? =
Stylesheets are compiled from SASS partial files from within `assets/sass` folder. The theme enqueues 3 stylesheets:
-1. `assets/css/normalize.css` - Makes browsers render all elements more consistently and in line with modern standards. More info at http://necolas.github.io/normalize.css/
+1. `assets/css/normalize.css` - Makes browsers render all elements more consistently and in line with modern standards. More info at https://necolas.github.io/normalize.css/
2. `assets/css/base.css` - The RTL (Right To Left) languages ready stylesheet containing basic styles for:
- border box sizing on all elements,
- inheriting border color from parent elements,
diff --git a/screenshot.png b/screenshot.png
index cabebf7..5d8a38f 100644
Binary files a/screenshot.png and b/screenshot.png differ
diff --git a/screenshot.svg b/screenshot.svg
index 6ecc0fc..a32a5c8 100644
--- a/screenshot.svg
+++ b/screenshot.svg
@@ -1,2 +1,2 @@
-
+