Server : LiteSpeed System : Linux server64.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : nimalaab ( 3358) PHP Version : 8.1.33 Disable Function : NONE Directory : /home/nimalaab/public_html/wp-content/themes/as/lib/kubio-themebase/src/Components/ |
<?php namespace Kubio\Theme\Components; use ColibriWP\Theme\AssetsManager; use ColibriWP\Theme\Components\Footer\FrontFooter; use ColibriWP\Theme\View; use ColibriWP\Theme\Defaults; use ColibriWP\Theme\Translations; class Footer extends FrontFooter { protected static $settings_prefix = 'footer.footer.'; public function renderContent( $parameters = array() ) { View::partial( 'footer', 'footer', array( 'component' => $this, ) ); } protected static function getOptions() { $prefix = static::$settings_prefix; return array( 'sections' => array( "{$prefix}section" => array( 'title' => Translations::get( 'title' ), 'panel' => 'footer_panel', 'type' => 'colibri_section', 'hidden' => true, ), ), 'settings' => array( "{$prefix}pen" => array( 'control' => array( 'type' => 'pen', 'section' => 'footer', ), ), "{$prefix}plugin-content" => array( 'control' => array( 'type' => 'plugin-message', 'section' => 'footer', 'colibri_tab' => 'content', ), ), ), ); } }