Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
webmandesign committed Mar 26, 2019
1 parent b079831 commit bb6d8f2
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 8 deletions.
2 changes: 1 addition & 1 deletion assets/sass/parts/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
13 changes: 13 additions & 0 deletions includes/class-setup-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
}

/**
Expand Down Expand Up @@ -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();
22 changes: 22 additions & 0 deletions languages/readme.md
Original file line number Diff line number Diff line change
@@ -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!
14 changes: 8 additions & 6 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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,
Expand Down
Binary file modified screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion screenshot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bb6d8f2

Please sign in to comment.