__('Fade', 'accesspress_parallax'), 'horizontal' => __('Slide Horizontal', 'accesspress_parallax'), 'vertical' => __('Slide Vertical', 'accesspress_parallax') ); $overlay = array( 'overlay1' => __('Overlay 1', 'accesspress_parallax'), 'overlay2' => __('Overlay 2', 'accesspress_parallax'), 'overlay3' => __('Overlay 3', 'accesspress_parallax'), 'overlay4' => __( 'Overlay 4', 'options-framework') ); $section_template = array( 'default_template' => __('Default Section', 'accesspress_parallax'), 'service_template' => __('Service Section', 'accesspress_parallax'), 'team_template' => __('Team Section', 'accesspress_parallax'), 'portfolio_template' => __('Portfolio Section', 'accesspress_parallax'), 'testimonial_template' => __('Testimonial Section', 'accesspress_parallax'), 'blog_template' => __('Blog Section', 'accesspress_parallax'), 'action_template' => __('Call to Action Section', 'accesspress_parallax'), 'googlemap_template' => __('Google Map Section', 'accesspress_parallax'), 'blank_template' => __('Blank Section', 'accesspress_parallax'), ); $check = array( 'yes' => __('Yes', 'accesspress_parallax'), 'no' => __('No', 'accesspress_parallax') ); $test_array = array( 'one' => __('One', 'accesspress_parallax'), 'two' => __('Two', 'accesspress_parallax'), 'three' => __('Three', 'accesspress_parallax'), 'four' => __('Four', 'accesspress_parallax'), 'five' => __('Five', 'accesspress_parallax') ); // Multicheck Array $multicheck_array = array( 'one' => __('French Toast', 'accesspress_parallax'), 'two' => __('Pancake', 'accesspress_parallax'), 'three' => __('Omelette', 'accesspress_parallax'), 'four' => __('Crepe', 'accesspress_parallax'), 'five' => __('Waffle', 'accesspress_parallax') ); // Multicheck Defaults $multicheck_defaults = array( 'one' => '1', 'five' => '1' ); // Background Defaults $background_defaults = array( 'color' => '', 'image' => '', 'repeat' => 'repeat', 'position' => 'top center', 'attachment'=>'scroll', 'size' => 'cover', ); // Parallax Defaults $parallax_defaults = NULL; $about_content = "
".__('AccessPress Parallax is a beautiful WordPress theme with Parallax design. Parallax design has become popular and is being adopted because 3D effects are possible with it, you can add some sphere to your product, it is the best way of storytelling, you can draw your visitors in, it is interactive, engaging, makes your visitors curious, fun, surprise, effective to trigger action, invite your visitors in great Call to Action, great conversion rates and many more. This is probably the most beautiful, feature rich and complete free WordPress parallax theme with features like: fully responsive, advance theme option panel, featured slider, advance post settings, services/team/blog/portfolio/testimonial layout, Google map integration, custom logo/fav icon, call to action, CSS animation, SEO friendly, translation ready, RTL support, custom CSS/JS and more! ')."
"; $about_content .= "AccessPress Themes ".__('- A WordPress Division of Access Keys.','accesspress_parallax')."
"; $about_content .= "".__('Get connected with us on social media. Facebook is the best place to find updates on our themes/plugins:','accesspress_parallax')."
"; $about_content .="".__('Like us on facebook:','accesspress_parallax')."
"; $about_content .=''; // Pull all the categories into an array $options_categories = array(); $options_categories_obj = get_categories(); $options_categories[''] = 'Select a Category:'; foreach ($options_categories_obj as $category) { $options_categories[$category->cat_ID] = $category->cat_name; } // Pull all tags into an array $options_tags = array(); $options_tags_obj = get_tags(); foreach ( $options_tags_obj as $tag ) { $options_tags[$tag->term_id] = $tag->name; } // Pull all the pages into an array $options_pages = array(); $options_pages_obj = get_pages('sort_column=post_parent,menu_order'); $options_pages[''] = 'Select a page:'; foreach ($options_pages_obj as $page) { $options_pages[$page->ID] = $page->post_title; } // If using image radio buttons, define a directory path $imagepath = get_template_directory_uri() . '/inc/options-framework/images/'; $options = array(); $options[] = array( 'name' => __('General Settings', 'accesspress_parallax'), 'type' => 'heading'); $options[] = array( 'name' => __('Enable Single Page Parallax Home Page - if disabled, will show Blog-roll/Static-page', 'accesspress_parallax'), 'desc' => __('Check To enable', 'accesspress_parallax'), 'id' => 'enable_parallax', 'std' => '1', 'type' => 'checkbox'); $options[] = array( 'name' => __('Enable Single Page Nav(Menu) - if disabled, will show primary menu', 'accesspress_parallax'), 'desc' => __('Check To enable', 'accesspress_parallax'), 'id' => 'enable_parallax_nav', 'std' => '1', 'type' => 'checkbox'); $options[] = array( 'name' => __('Home Menu Text - Single Page Nav(Menu)', 'accesspress_parallax'), 'id' => 'home_text', 'desc' => 'Leave blank if you do not want to show', 'std' => 'Home', 'type' => 'text'); $options[] = array( 'name' => __('Enable Animation on scroll - Page Elements will show with some animation only in home page.', 'accesspress_parallax'), 'desc' => __('Check To enable', 'accesspress_parallax'), 'id' => 'enable_animation', 'std' => '1', 'type' => 'checkbox'); $options[] = array( 'name' => __('Enable Responsive', 'accesspress_parallax'), 'desc' => __('Check To enable', 'accesspress_parallax'), 'id' => 'enable_responsive', 'std' => '1', 'type' => 'checkbox'); $options[] = array( 'name' => __('Upload Logo', 'accesspress_parallax'), 'desc' => ''.__('Upload', 'accesspress_parallax').'', 'type' => 'info'); $options[] = array( 'name' => __('Upload Fav Icon', 'accesspress_parallax'), 'id' => 'fav_icon', 'class' => 'sub-option', 'type' => 'upload'); $options[] = array( 'name' => __('Select Header Layout', 'accesspress_parallax'), 'id' => "header_layout", 'std' => "logo-side", 'type' => "images", 'options' => array( 'logo-side' => $imagepath . 'logo-side.jpg', 'logo-top' => $imagepath . 'logo-top.jpg') ); $options[] = array( 'name' => __('Google Map', 'accesspress_parallax'), 'desc' => sprintf(__('To get Values of Latitude and Longitude by Location name, click on http://www.latlong.net', 'accesspress_parallax'),esc_url("http://www.latlong.net")), 'id' => 'latlng', 'type' => 'info'); $options[] = array( 'name' => __('Enter the latitude', 'accesspress_parallax'), 'id' => 'map_latitude', 'std' => '27.695401', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'name' => __('Enter the longitude', 'accesspress_parallax'), 'id' => 'map_longitude', 'std' => '85.291604', 'class' => 'mini', 'type' => 'text'); $options[] = array( 'name' => __('Parallax Sections', 'accesspress_parallax'), 'type' => 'heading'); $options[] = array( 'desc' => __('Note: Please make a new page before you create a section. Each Section should have unique Page.', 'accesspress_parallax'), 'id' => 'parallax_info', 'type' => 'info'); $options[] = array( 'id' => 'parallax_section', 'std' => $parallax_defaults, 'options' => $options_pages, 'overlay' => $overlay, 'category' => $options_categories, 'layout' => $section_template, 'type' => 'parallaxsection' ); $options[] = array( 'id' => 'add_new_section', 'type' => 'button' ); /*Post Section Ends*/ $options[] = array( 'name' => __('Post Settings', 'accesspress_parallax'), 'type' => 'heading'); $options[] = array( 'name' => __('Show Posted Date', 'accesspress_parallax'), 'desc' => __('Check To enable', 'accesspress_parallax'), 'id' => 'post_date', 'std' => '1', 'type' => 'checkbox'); $options[] = array( 'name' => __('Show Post Author', 'accesspress_parallax'), 'desc' => __('Check To enable', 'accesspress_parallax'), 'id' => 'post_author', 'std' => '1', 'type' => 'checkbox'); $options[] = array( 'name' => __('Show Post Footer text', 'accesspress_parallax'), 'desc' => __('Check To enable', 'accesspress_parallax'), 'id' => 'post_footer', 'std' => '1', 'type' => 'checkbox'); $options[] = array( 'name' => __('Show Prev Next Pagination', 'accesspress_parallax'), 'desc' => __('Check To enable', 'accesspress_parallax'), 'id' => 'post_pagination', 'std' => '1', 'type' => 'checkbox'); /*Parallax Section Ends*/ $options[] = array( 'name' => __('Slider Settings', 'accesspress_parallax'), 'type' => 'heading'); $options[] = array( 'name' => __('Show Slider', 'accesspress_parallax'), 'id' => 'show_slider', 'std' => 'yes', 'type' => 'radio', 'options' => $check); if ( $options_categories ) { $options[] = array( 'name' => __('Select a Category', 'accesspress_parallax'), 'id' => 'slider_category', 'type' => 'select', 'options' => $options_categories); } $options[] = array( 'name' => __('Show full window', 'accesspress_parallax'), 'id' => 'slider_full_window', 'std' => 'yes', 'type' => 'radio', 'options' => $check); $options[] = array( 'name' => __('Remove Slider overlay - Black Dots', 'accesspress_parallax'), 'id' => 'slider_overlay', 'std' => 'no', 'type' => 'radio', 'options' => $check); $options[] = array( 'name' => __('Show Pager', 'accesspress_parallax'), 'id' => 'show_pager', 'std' => 'yes', 'type' => 'radio', 'options' => $check); $options[] = array( 'name' => __('Show Controls', 'accesspress_parallax'), 'id' => 'show_controls', 'std' => 'yes', 'type' => 'radio', 'options' => $check); $options[] = array( 'name' => __('Auto Transition', 'accesspress_parallax'), 'id' => 'auto_transition', 'std' => 'yes', 'type' => 'radio', 'options' => $check); $options[] = array( 'name' => __('Slider Transition', 'accesspress_parallax'), 'id' => 'slider_transition', 'std' => 'fade', 'type' => 'radio', 'options' => $transitions); $options[] = array( 'name' => __('Slider Transition Speed', 'accesspress_parallax'), 'id' => 'slider_speed', 'std' => '5000', 'type' => 'text'); $options[] = array( 'name' => __('Slider Pause Duration', 'accesspress_parallax'), 'id' => 'slider_pause', 'std' => '5000', 'type' => 'text'); $options[] = array( 'name' => __('Show Caption', 'accesspress_parallax'), 'id' => 'show_caption', 'std' => 'yes', 'type' => 'radio', 'options' => $check); $options[] = array( 'name' => __('Social Links', 'accesspress_parallax'), 'type' => 'heading'); $options[] = array( 'name' => __('Show Social Icon', 'accesspress_parallax'), 'desc' => __('Check To enable', 'accesspress_parallax'), 'id' => 'show_social', 'std' => '1', 'type' => 'checkbox'); $options[] = array( 'name' => __('Facebook', 'accesspress_parallax'), 'id' => 'facebook', 'type' => 'url'); $options[] = array( 'name' => __('Twitter', 'accesspress_parallax'), 'id' => 'twitter', 'type' => 'url'); $options[] = array( 'name' => __('Google Plus', 'accesspress_parallax'), 'id' => 'google_plus', 'type' => 'url'); $options[] = array( 'name' => __('Youtube', 'accesspress_parallax'), 'id' => 'youtube', 'type' => 'url'); $options[] = array( 'name' => __('Pinterest', 'accesspress_parallax'), 'id' => 'pinterest', 'type' => 'url'); $options[] = array( 'name' => __('Linkedin', 'accesspress_parallax'), 'id' => 'linkedin', 'type' => 'url'); $options[] = array( 'name' => __('Fickr', 'accesspress_parallax'), 'id' => 'flickr', 'type' => 'url'); $options[] = array( 'name' => __('Vimeo', 'accesspress_parallax'), 'id' => 'vimeo', 'type' => 'url'); $options[] = array( 'name' => __('Instagram', 'accesspress_parallax'), 'id' => 'instagram', 'type' => 'url'); $options[] = array( 'name' => __('Skype', 'accesspress_parallax'), 'id' => 'skype', 'type' => 'text'); $options[] = array( 'name' => __('Tools', 'accesspress_parallax'), 'type' => 'heading'); $options[] = array( 'name' => __('Custom CSS', 'accesspress_parallax'), 'id' => 'custom_css', 'type' => 'textarea', 'desc' => 'Put your custom CSS here'); $options[] = array( 'name' => __('Custom JS', 'accesspress_parallax'), 'id' => 'custom_js', 'type' => 'textarea', 'desc' => 'Put your analytics code/custom JS here'); $options[] = array( 'name' => __('About', 'accesspress_parallax'), 'type' => 'heading'); $options[] = array( 'name' => __('About AccessPress Themes', 'accesspress_parallax'), 'desc' => $about_content, 'type' => 'info'); return $options; }