Skip to content

Commit

Permalink
chore: update css wording
Browse files Browse the repository at this point in the history
  • Loading branch information
dalenguyen committed Sep 7, 2024
1 parent 4cf09f0 commit e6ee070
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: integrate-firebase
VERSION: 0.9.2
VERSION: 0.9.3
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

## [ 0.9.3 ] - 07-09-2024

- update css wording

## [ 0.9.2 ] - 21-04-2024

- test support for WP v6.5.2
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Requires at least: 4.0.0

Tested up to: 6.5.2

Stable tag: 0.9.2
Stable tag: 0.9.3

Requires PHP: 5.2.4

Expand Down Expand Up @@ -83,31 +83,31 @@ echo do_shortcode("[firebase_greetings]");
You can show error message when a user cannot login by using a shortcode

```
echo do_shortcode("[firebase_login_error class='your-class-name'][/firebase_login_error]");
echo do_shortcode("[firebase_login_error class='your-optional-CSS-class-name'][/firebase_login_error]");
```

### How can I show data for a not logged in user?

You can put your data as an HTML code inside a shortcode

```
echo do_shortcode("[firebase_show_not_login class='your-class-name']YOUR HTML CODE[/firebase_show_not_login]");
echo do_shortcode("[firebase_show_not_login class='your-optional-CSS-class-name']YOUR HTML CODE[/firebase_show_not_login]");
```

### How can I hide or show data for a logged in user?

You can put your data as an HTML code inside a shortcode

```
echo do_shortcode("[firebase_show class='your-class-name']YOUR HTML CODE[/firebase_show]");
echo do_shortcode("[firebase_show class='your-optional-CSS-class-name']YOUR HTML CODE[/firebase_show]");
```

### How can I show realtime database for a logged in user?

You can put your data as an HTML code inside a shortcode. Realtime data will be shown as a table with an id #if-realtime.

```
echo do_shortcode("[realtime class='your-class-name' collection_name='string' document_name='string']");
echo do_shortcode("[realtime class='your-optional-CSS-class-name' collection_name='string' document_name='string']");
```

### How can I log out?
Expand Down
4 changes: 2 additions & 2 deletions init.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Author URI: http://dalenguyen.me
* Contributors: Dale Nguyen (@dalenguyen)
*
* Version: 0.9.2
* Version: 0.9.3
*
* Text Domain: integrate-firebase
*
Expand Down Expand Up @@ -54,7 +54,7 @@
exit;
}

define('FIREBASE_WP_VERSION', '0.9.2');
define('FIREBASE_WP_VERSION', '0.9.3');
define('FIREBASE_WP__MINIMUM_WP_VERSION', '4.0.0');
define('FIREBASE_WP__PLUGIN_DIR', plugin_dir_path(__FILE__));

Expand Down
13 changes: 8 additions & 5 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/DaleNguyen
Tags: firebase
Requires at least: 4.0.0
Tested up to: 6.5.2
Stable tag: 0.9.2
Stable tag: 0.9.3
Requires PHP: 5.2.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -64,25 +64,25 @@ You can add a shortcode to show user's info

You can show error message when a user cannot login by using a shortcode

> echo do_shortcode("[firebase_login_error class="your-class-name"][/firebase_login_error]");
> echo do_shortcode("[firebase_login_error class="your-optional-CSS-class-name"][/firebase_login_error]");

= How can I show data for a not logged in user? =

You can put your data as an HTML code inside a shortcode

> echo do_shortcode("[firebase_show_not_login class="your-class-name"]YOUR HTML CODE[/firebase_show_not_login]");
> echo do_shortcode("[firebase_show_not_login class="your-optional-CSS-class-name"]YOUR HTML CODE[/firebase_show_not_login]");

= How can I hide or show data for a logged in user? =

You can put your data as an HTML code inside a shortcode

> echo do_shortcode("[firebase_show class="your-class-name"]YOUR HTML CODE[/firebase_show]");
> echo do_shortcode("[firebase_show class="your-optional-CSS-class-name"]YOUR HTML CODE[/firebase_show]");

= How can I show realtime database for a logged in user? =

You can put your data as an HTML code inside a shortcode. Realtime data will be shown as a table with an id #if-realtime.

> echo do_shortcode("[realtime class="your-class-name" collection_name="string" document_name="string"]");
> echo do_shortcode("[realtime class="your-optional-CSS-class-name" collection_name="string" document_name="string"]");

= How can I log out?

Expand All @@ -97,6 +97,9 @@ This is a shortcode for log out button.

== Changelog ==

= 0.9.3 =
* update css wording

= 0.9.2 =
* test support for WP v6.5.2

Expand Down

0 comments on commit e6ee070

Please sign in to comment.