$THEMEREX_shortcodes_on_off = getOnOffList(); $THEMEREX_shortcodes_dir = getDirectionList(); $THEMEREX_shortcodes_align = getAlignmentList(); $THEMEREX_shortcodes_text_align = getAlignList(); $THEMEREX_shortcodes_float = getFloatList(); $THEMEREX_shortcodes_show_hide = getShowHideList(); $THEMEREX_shortcodes_box_style = getBoxStyles(); $THEMEREX_shortcodes_sorting = getSortingList(); $THEMEREX_shortcodes_ordering = getOrderingList(); $THEMEREX_shortcodes_sliders = getSlidersList(); $THEMEREX_shortcodes_users = getUsersList(); $THEMEREX_shortcodes_categories = getCategoriesList(); $THEMEREX_shortcodes_columns = getColumnsList(); $THEMEREX_shortcodes_images = themerex_array_merge(array('none' => "none"), getListFiles("/images/icons", "png")); $THEMEREX_shortcodes_icons = array_merge(array("none"), getIconsList()); $THEMEREX_shortcodes_locations = getDedicatedLocationsList(); global $THEMEREX_shortcodes_yes_no; // Current elemnt id $THEMEREX_shortcodes_id = array("id" => "id", "title" => __("Element ID", "themerex"), "desc" => __("ID for current element", "themerex"), "divider" => false, "value" => "", "type" => "text"); // Width and height params function THEMEREX_shortcodes_width($w = '') { return array("id" => "width", "title" => __("Width", "themerex"), "divider" => false, "value" => $w, "type" => "text"); } function THEMEREX_shortcodes_height($h = '', $des = 'Width (in pixels or percent) and height (only in pixels) of element') { return array("id" => "height", "title" => __("Height", "themerex"), "desc" => __($des, "themerex"), "value" => $h, "type" => "text"); } /*indent*/ function THEMEREX_shortcodes_indent($status = 'yes') {
$headers = getHeaderStylesList(); $body_styles = getBodyStylesList(); $blog_styles = getBlogStylesList(); $single_styles = getSingleStylesList(); $hovers = getHoversList(); $hovers_dir = getHoversDirectionsList(); $sliders = getSlidersList(); $popups = getPopupEnginesList(); $gmap_styles = getGooglemapStylesList(); $dir = getDirectionList(); $yes_no = getYesNoList(); $on_off = getOnOffList(); $show_hide = getShowHideList(); $sorting = getSortingList(); $ordering = getOrderingList(); $locations = getDedicatedLocationsList(); } else { $headers = $skins = $hovers = $hovers_dir = $fonts = $fonts_styles = $themes = $socials = $icons = $categories = $posts_types = $menus = $sidebars = $positions = $body_styles = $blog_styles = $single_styles = $sliders = $popups = $gmap_styles = $dir = $yes_no = $on_off = $show_hide = $sorting = $ordering = $locations = array(); } // Theme options arrays $THEMEREX_options = array(); $THEMEREX_options_hash = array(); //############################### //#### Customization #### //############################### $THEMEREX_options[] = array("title" => __('Customization', 'themerex'), "id" => "partition_customization", "start" => "partitions", "override" => "category,page,post", "icon" => "iconadmin-cog-alt", "type" => "partition"); $THEMEREX_options[] = array("title" => __('General', 'themerex'), "id" => 'customization_general', "override" => "category,page,post", "icon" => 'iconadmin-cog', "start" => "customization_tabs", "type" => "tab"); $THEMEREX_options[] = array("title" => __('Theme customization general parameters', 'themerex'), "desc" => __('Select main theme skin, customize colors and enable responsive layouts for the small screens', 'themerex'), "override" => "category,page,post", "type" => "info"); $THEMEREX_options[] = array("title" => __('Select theme skin', 'themerex'), "desc" => __('Select skin for the theme decoration', 'themerex'), "id" => "theme_skin", "divider" => false, "override" => "category,post,page", "std" => "kinder", "options" => $skins, "type" => "select"); $THEMEREX_options[] = array("title" => __('Theme (Accent) color', 'themerex'), "desc" => __('Select main theme color. It already used as Accent color in the classes: "theme_accent", "theme_accent_bg" and "theme_accent_border"', 'themerex'), "id" => "theme_color", "override" => "category,post,page", "std" => "", "type" => "color"); $THEMEREX_options[] = array("title" => __('Main menu bg color', 'themerex'), "desc" => __('Select main menu background color', 'themerex'), "id" => "menu_color", "override" => "category,post,page", "std" => "", "type" => "color");