Done !
Server IP : 162.0.217.223 / Your IP : 216.73.216.150 Web Server : LiteSpeed System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : mypckeys ( 1539) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mypckeys/yeslicense.org/wp-content/plugins/yaymail/src/TemplatePatterns/Patterns/ |
Upload File : |
<?php namespace YayMail\TemplatePatterns\Patterns; use YayMail\Abstracts\BasePattern; use YayMail\Elements\ColumnLayout; use YayMail\Elements\Column; use YayMail\Elements\Text; use YayMail\TemplatePatterns\SectionTemplates\Banner; use YayMail\Utils\SingletonTrait; /** * Banner2 Elements */ class Banner2 extends BasePattern { use SingletonTrait; public const TYPE = 'banner_2'; private function __construct() { $this->id = uniqid(); $this->section = Banner::TYPE; $this->position = 20; $this->name = __( 'Banner 2', 'yaymail' ); $this->elements = [ ColumnLayout::get_object_data( 1, [ 'inner_background_color' => '#ffffff00', 'padding' => [ 'top' => 30, 'bottom' => 30, 'left' => 0, 'right' => 0, ], 'background_image' => [ 'url' => 'https://images.wpbrandy.com/uploads/yaymail-banner-2-img-1.jpg', 'position' => 'custom', 'x_position' => 100, 'y_position' => 0, 'size' => 'cover', 'repeat' => 'no-repeat', ], 'children' => [ Column::get_object_data( 100, [ 'children' => [ Text::get_object_data( [ 'rich_text' => '<p style="font-size: 18px; margin: 0px; text-align: center;"><span style="font-size: 30px;"><strong>New products for November Check \'em out!</strong></span></p>', 'padding' => [ 'top' => 0, 'bottom' => 0, 'left' => 100, 'right' => 100, ], 'background_color' => '#ffffff00', 'text_color' => '#333439', ] ), Text::get_object_data( [ 'rich_text' => '<p style="font-size: 16px; text-align: center; margin: 0;"><u>Explore Now</u> <img src="https://images.wpbrandy.com/uploads/yaymail-banner-img-arrow-1.png" alt="" width="12" height="12" style="width:20px !important; height:20px !important;"/></p>', 'padding' => [ 'top' => 10, 'bottom' => 0, 'left' => 0, 'right' => 0, ], 'background_color' => '#ffffff00', 'text_color' => '#333439', ] ), ], ] ), ], ] ), ]; } }