Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
firepot
/
themes
/
momota
/
lib
/
colibriwp
/
src
/
Components
/
InnerHeader
:
Title.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace ColibriWP\Theme\Components\InnerHeader; use ColibriWP\Theme\Components\FrontHeader\Title as FrontTitle; use ColibriWP\Theme\View; class Title extends FrontTitle { protected static $settings_prefix = 'header_post.title.'; public function renderContent( $parameters = array() ) { if ( $this->mod( static::$settings_prefix . 'show' ) ) { View::partial( 'inner-header', 'title', array( 'component' => $this, ) ); } } protected static function getOptions() { $prefix = static::$settings_prefix; $options = parent::getOptions(); unset( $options['settings'][ "{$prefix}localProps.content" ] ); return $options; } }