0byt3m1n1
Path:
/
home1
/
aserty
/
public_html
/
bonniescraftygifts.com
/
iFzj4
/
configCHM
/
Jump
/
0-aserty
/
appartsoft.info
/
wp-content
/
themes
/
knightzon
/
includes
/
framework
/
views
/
metaboxes
/
[
Home
]
File: page_options.php
<div class="pyre_metabox"> <?php $this->select( 'page_title', 'Page Title', array('yes' => 'Show', 'no' => 'Hide'), '' ); ?> <?php $this->select( 'slider_type', 'Slider Type', array('no' => 'No Slider', 'layer' => 'LayerSlider', 'flex' => 'FlexSlider'), '' ); ?> <?php $slides_array[0] = 'Select a slider'; $slides = get_option('layerslider-slides'); if($slides){ $slides = is_array($slides) ? $slides : unserialize($slides); foreach($slides as $key => $val){ $slides_array[$key+1] = 'LayerSlider #'.($key+1); } } $this->select( 'slider', 'Select LayerSlider', $slides_array, '' ); ?> <?php $slides_array = array(); $slides_array[0] = 'Select a slider'; $slides = get_terms('slide-page'); if($slides){ $slides = is_array($slides) ? $slides : unserialize($slides); foreach($slides as $key => $val){ $slides_array[$val->slug] = $val->name; } } $this->select( 'wooslider', 'Select FlexSlider', $slides_array, '' ); ?> <?php $this->upload('fallback', 'Slider Fallback Image'); ?> <?php $this->select( 'sidebar_position', 'Sidebar Position', array('right' => 'Right', 'left' => 'Left'), '' ); ?> <?php $types = get_terms('portfolio_category', 'hide_empty=0'); $types_array[0] = 'All categories'; if($types) { foreach($types as $type) { $types_array[$type->term_id] = $type->name; } $this->select( 'portfolio_category', 'Portfolio Type', $types_array, 'Choose what portfolio category you want to display on this page. Leave blank for all categories.' ); } ?> </div>