Skip to content

Commit

Permalink
Tweak: Plugin description [TMZ-357] (#181)
Browse files Browse the repository at this point in the history
* Tweak: Plugin description [TMZ-357]

* fix
  • Loading branch information
nuritsha authored Feb 2, 2025
1 parent 27af49b commit 8bc8dcb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions classes/ehp-button.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@
class Ehp_Button {
private $context = [];
private $defaults = [];
private $widget_settings = [];
private ?Widget_Base $widget = null;

// initialized on render:
private $widget_settings = [];

const EHP_PREFIX = 'ehp-';
const CLASSNAME_BUTTON = 'ehp-button';
const CLASSNAME_BUTTON_TYPE_PREFIX = 'ehp-button--';
Expand All @@ -36,6 +38,7 @@ public function set_context( array $context ) {
public function render() {
$type = $this->context['type'] ?? '';
$widget_name = $this->context['widget_name'];
$this->widget_settings = $this->widget->get_settings_for_display();

$button_text = $this->get_control_value( 'button_text', '', 'cta_button_text' );
$button_link = $this->get_control_value( 'button_link', [], 'cta_button_link' );
Expand Down Expand Up @@ -651,6 +654,5 @@ public function __construct( Widget_Base $widget, $context = [], $defaults = []
$this->widget = $widget;
$this->context = $context;
$this->defaults = $defaults;
$this->widget_settings = $widget->get_settings_for_display();
}
}
2 changes: 1 addition & 1 deletion hello-plus.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* @package HelloPlus
*
* Hello+ Plugin is a free WordPress plugin crafted for seamless use with Elementor’s Hello Themes,
* Hello+ Plugin is a free WordPress plugin crafted for seamless use with Elementor’s Hello Biz Theme,
* tailored to help beginner web creators, but far from limited to just them, to build professional websites with ease.
* It features a guided setup, dedicated kits, streamlined management tools,
* and specialized widgets (Hello Widgets) to ensure a fast, efficient site-building experience
Expand Down
6 changes: 3 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ License: GPL-3
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
Resources URI: https://github.com/elementor/hello-plus

Hello+ is a free WordPress plugin designed to work seamlessly with Elementor’s Hello Themes. It adds the Plus in the Hello themes.
Hello+ is a free WordPress plugin designed to work seamlessly with Elementor’s Hello Biz Theme. It adds the Plus in the Hello Biz theme.

== Description ==

Hello+ is a free WordPress plugin designed to work seamlessly with Elementor’s Hello Themes (e.g. [Hello Biz](https://wordpress.org/themes/hello-biz/)).
Hello+ is a free WordPress plugin designed to work seamlessly with Elementor’s [Hello Biz](https://wordpress.org/themes/hello-biz/) Theme.
It provides a robust foundation for users to craft unique designs using Elementor’s drag-and-drop site builder and the Hello Themes.

Hello+ offers a guided setup, purpose-built design kits, streamlined management tools,
and specialized Hello Widgets to deliver a fast and efficient site-building experience.
Hello+ is designed to complement Elementor’s Hello Themes (e.g. [Hello Biz](https://wordpress.org/themes/hello-biz/)),
Hello+ is designed to complement Elementor’s [Hello Biz](https://wordpress.org/themes/hello-biz/) Theme,
an essential companion that must be installed alongside Hello+ for optimal functionality.
Click [here](https://wordpress.org/themes/hello-biz/) to install Hello Biz.

Expand Down

0 comments on commit 8bc8dcb

Please sign in to comment.