| 1 |
<?php |
| 2 |
|
| 3 |
namespace Elementor\Modules\LinkInBio\Classes\Render; |
| 4 |
|
| 5 |
/** |
| 6 |
* Class Core_Render. |
| 7 |
* |
| 8 |
* This class handles the rendering of the Link In Bio widget for the core version. |
| 9 |
* |
| 10 |
* @since 3.23.0 |
| 11 |
*/ |
| 12 |
class Core_Render extends Render_Base { |
| 13 |
|
| 14 |
public function render(): void { |
| 15 |
$this->build_layout_render_attribute(); |
| 16 |
?> |
| 17 |
<div <?php echo $this->widget->get_render_attribute_string( 'layout' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> |
| 18 |
<div class="e-link-in-bio__content"> |
| 19 |
|
| 20 |
<?php |
| 21 |
$this->render_identity_image(); |
| 22 |
|
| 23 |
$this->render_bio(); |
| 24 |
|
| 25 |
$this->render_icons(); |
| 26 |
|
| 27 |
$this->render_image_links(); |
| 28 |
|
| 29 |
$this->render_ctas(); |
| 30 |
|
| 31 |
$this->render_footer_bio(); |
| 32 |
?> |
| 33 |
|
| 34 |
</div> |
| 35 |
<div class="e-link-in-bio__bg"> |
| 36 |
<div class="e-link-in-bio__bg-overlay"></div> |
| 37 |
</div> |
| 38 |
</div> |
| 39 |
<?php |
| 40 |
} |
| 41 |
} |
| 42 |
|