• Hello,
    I am using evovle 2.4.9 I had this set up on a localhost and everything was working fine, I migrated to a live site healthyenlightenment.org
    the front end seems to work fine but when I try to log onto admin I get an error

    Parse error: syntax error, unexpected $end in /home/www/healthyenlightenment.org/wp-content/themes/evolve.2.4.9/evolve/library/functions/options.php on line 1

    I tried searching and only came up with this page:
    https://ww.wp.xz.cn/support/topic/problem-with-theme-28
    which was not much help

    any help would be greatly appreciated.
    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter omieyork

    (@omieyork)

    I am using the theme4press evolve, not the themeforest. I had the theme for a while and some things came up so i put it on hold, now I am ready to make the site live and i am having some difficulty. here is the options file if it will help

    <?php
    /**
     * A unique identifier is defined to store the options in the database and reference them from the theme.
     * By default it uses the theme name, in lowercase and without spaces, but this can be changed if needed.
     * If the identifier changes, it'll appear as if the options have been reset.
     *
     */
    
    function evolve_option_name() {
    
    	// This gets the theme name from the stylesheet (lowercase and without spaces)
    	$themename = wp_get_theme();
    	$themename = $themename['Name'];
    	$themename = preg_replace("/\W/", "", strtolower($themename) );
    
    	$evolve_settings = get_option('evolve');
    	$evolve_settings['id'] = 'evolve-theme';
    	update_option('evolve', $evolve_settings);
    
    }
    
    /**
     * Defines an array of options that will be used to generate the settings page and be saved in the database.
     * When creating the "id" fields, make sure to use all lowercase and no spaces.
     *
     */
    
    function evolve_options() {
    
    	// Pull all the categories into an array
    	$options_categories = array();
    	$options_categories_obj = get_categories();
    	foreach ($options_categories_obj as $category) {
        	$options_categories[$category->cat_ID] = $category->cat_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() . '/library/functions/images/';
      $imagepathfolder = get_template_directory_uri() . '/library/media/images/';
      $evlshortname = "evl";
      $template_url = get_template_directory_uri();
    
    	$options = array();
    
    // Layout
    
    	$options[] = array( "name" => $evlshortname."-tab-1", "id" => $evlshortname."-tab-1",
    	"type" => "open-tab");
    
    	$options[] = array(
    		"name" => __( 'Select a layout', 'evolve'  ),
    		"desc" => __( 'Select main content and sidebar alignment.', 'evolve'  ),
    		"id" => $evlshortname."_layout",
    		"std" => "2cl",
    		"type" => "images",
    		"options" => array(
    			'1c' => $imagepath . '1c.png',
    			'2cl' => $imagepath . '2cl.png',
    			'2cr' => $imagepath . '2cr.png',
    			'3cm' => $imagepath . '3cm.png',
    			'3cr' => $imagepath . '3cr.png',
          '3cl' => $imagepath . '3cl.png'
    			)
    		);
    
     $options[] = array(
    		"name" => __( 'Width', 'evolve'  ),
    		"desc" => __( '<strong>Fixed</strong> = 960px / <strong>Fluid</strong> = 99% width of browser window', 'evolve'  ),
    		"id" => $evlshortname."_width_layout",
    		"std" => "fixed",
    		"type" => "select",
    		"options" => array(
    			'fixed' => __( 'Fixed &nbsp;&nbsp;&nbsp;(default)', 'evolve'  ),
    			'fluid' => __( 'Fluid', 'evolve'  )
    			)
    		); 
    
    $options[] = array(  "name" => __( 'Number of widget cols in header', 'evolve'  ),
            "desc" => __( 'Select how many header widget areas you want to display.', 'evolve'  ),
            "id" => $evlshortname."_widgets_header",
            "type" => "images",
            "std" => "one",
            "options" => array(
    			  'disable' => $imagepath . '1c.png',
    			  'one' => $imagepath . 'header-widgets-1.png',
            'two' => $imagepath . 'header-widgets-2.png',
            'three' => $imagepath . 'header-widgets-3.png',
            'four' => $imagepath . 'header-widgets-4.png',
            ));   
    
     $options[] = array(
    		"name" => __( 'Header widgets placement', 'evolve'  ),
    		"desc" => __( 'Choose where to display header widgets', 'evolve'  ),
    		"id" => $evlshortname."_header_widgets_placement",
    		"std" => "home",
    		"type" => "select",
    		"options" => array(
    			'home' => __( 'Home page &nbsp;&nbsp;&nbsp;(default)', 'evolve'  ),
    			'single' => __( 'Single Post', 'evolve'  ),
          'page' => __( 'Pages', 'evolve'  ),
          'all' => __( 'All pages', 'evolve'  )
    			)
    		);            
    
    $options[] = array(  "name" => __( 'Number of widget cols in footer', 'evolve'  ),
            "desc" => __( 'Select how many footer widget areas you want to display.', 'evolve'  ),
            "id" => $evlshortname."_widgets_num",
            "type" => "images",
            "std" => "disable",
            "options" => array(
    			  'disable' => $imagepath . '1c.png',
    			  'one' => $imagepath . 'footer-widgets-1.png',
            'two' => $imagepath . 'footer-widgets-2.png',
            'three' => $imagepath . 'footer-widgets-3.png',
            'four' => $imagepath . 'footer-widgets-4.png',
            ));      
    
      $options[] = array( "name" => $evlshortname."-tab-1", "id" => $evlshortname."-tab-1",
    	"type" => "close-tab" );    
    
    // Posts
    
    $options[] = array( "name" => $evlshortname."-tab-2", "id" => $evlshortname."-tab-2",
    	"type" => "open-tab"); 
    
    $options[] = array(  "name" => __( 'Number of articles per row on home and archive pages - \'post boxes\'', 'evolve'  ),
            "desc" => __( 'Option <strong>2</strong> or <strong>3</strong> is recommended to use with disabled <strong>Sidebar(s)</strong> or enabled <strong>Fluid</strong> width', 'evolve'  ),
            "id" => $evlshortname."_post_layout",
            "type" => "images",
            "std" => "two",
    	      "options" => array(
    			   'one' => $imagepath . 'one-post.png',
    			   'two' => $imagepath . 'two-posts.png',
             'three' => $imagepath . 'three-posts.png',
    		   	));
    
    $options[] = array(  "name" => __( 'Enable post excerpts with thumbnails', 'evolve'  ),
            "desc" => __( 'Check this box if you want to display post excerpts with post thumbnails on one column posts', 'evolve'  ),
            "id" => $evlshortname."_excerpt_thumbnail",
            "type" => "checkbox",
            "std" => "0");         
    
    $options[] = array(  "name" => __( 'Enable post author avatar', 'evolve'  ),
            "desc" => __( 'Check this box if you want to display post author avatar', 'evolve'  ),
            "id" => $evlshortname."_author_avatar",
            "type" => "checkbox",
            "std" => "0");  
    
    $options[] = array(  "name" => __( 'Post meta header placement', 'evolve'  ),
            "desc" => __( 'Choose placement of the post meta header - Date, Author, Comments', 'evolve'  ),
            "id" => $evlshortname."_header_meta",
            "type" => "select",
            "std" => "disable",
            "options" => array(
    			   'single_archive' => __( 'Single posts + Archive pages', 'evolve'  ),
    			   'single' => __( 'Single posts', 'evolve'  ),
             'disable' => __( 'Disable &nbsp;&nbsp;&nbsp;(default)', 'evolve'  )
    		   	));  
    
    $options[] = array(  "name" => __( '\'Share This\' buttons placement', 'evolve'  ),
            "desc" => __( 'Choose placement of the \'Share This\' buttons', 'evolve'  ),
            "id" => $evlshortname."_share_this",
            "type" => "select",
            "std" => "single",
            "options" => array(
    			   'single' => __( 'Single posts &nbsp;&nbsp;&nbsp;(default)', 'evolve'  ),
    			   'single_archive' => __( 'Single posts + Archive pages', 'evolve'  ),
             'all' => __( 'All pages', 'evolve'  ),
             'disable' => __( 'Disable', 'evolve'  )
    		   	));   
    
    $options[] = array(  "name" => __( 'Position of previous/next posts links', 'evolve'  ),
            "desc" => __( 'Choose the position of the <strong>Previous/Next Post</strong> links', 'evolve'  ),
            "id" => $evlshortname."_post_links",
            "type" => "select",
            "std" => "after",
            "options" => array(
    			  'after' => __( 'After posts &nbsp;&nbsp;&nbsp;(default)', 'evolve'  ),
    			  'before' => __( 'Before posts', 'evolve'  ),
            'both' => __( 'Both', 'evolve'  )
            )); 
    
    $options[] = array(  "name" => __( 'Display Similar posts', 'evolve'  ),
            "desc" => __( 'Choose if you want to display <strong>Similar posts</strong> in articles', 'evolve'  ),
            "id" => $evlshortname."_similar_posts",
            "type" => "select",
            "std" => "disable",
            "options" => array(
    			  'disable' => __( 'Disable &nbsp;&nbsp;&nbsp;(default)', 'evolve'  ),
    			  'category' => __( 'Match by categories', 'evolve'  ),
            'tag' => __( 'Match by tags', 'evolve'  )
            ));                              
    
    $options[] = array( "name" => $evlshortname."-tab-2", "id" => $evlshortname."-tab-2",
    	"type" => "close-tab" );   
    
    // Subscribe buttons
    
    $options[] = array( "name" => $evlshortname."-tab-3", "id" => $evlshortname."-tab-3",
    	"type" => "open-tab");
    
    $options[] = array(  "name" => __( 'Subscribe/Social buttons style', 'evolve'  ),
            "desc" => __( 'Choose the color scheme of subscribe/social buttons', 'evolve'  ),
            "id" => $evlshortname."_social_color",
            "type" => "select",
            "std" => "blackwhite",
            "options" => array(
            'blackwhite' => __( 'Black & White &nbsp;&nbsp;&nbsp;(default)', 'evolve'  ),
    			  'color' => __( 'Colored ', 'evolve'  )
            ));  
    
    // RSS Feed
    
    $options[] = array(  "name" => __( 'RSS Feed', 'evolve'  ),
            "desc" => __( 'Insert custom RSS Feed URL, e.g. <strong>http://feeds.feedburner.com/Example</strong>', 'evolve'  ),
            "id" => $evlshortname."_rss_feed",
            "type" => "text",
            "std" => ""); 
    
    // Newsletter
    
    $options[] = array(  "name" => __( 'Newsletter', 'evolve'  ),
            "desc" => __( 'Insert custom newsletter URL, e.g. <strong>http://feedburner.google.com/fb/a/mailverify?uri=Example&loc=en_US</strong>', 'evolve'  ),
            "id" => $evlshortname."_newsletter",
            "type" => "text",
            "std" => "");  
    
    // Facebook
    
    $options[] = array(  "name" => __( 'Facebook', 'evolve'  ),
            "desc" => __( 'Insert your Facebook ID. If your Facebook page is <strong>http://facebook.com/Example</strong>, insert only <strong>Example</strong>', 'evolve'  ),
            "id" => $evlshortname."_facebook",
            "type" => "text",
            "std" => "pages/Theme4Press/100642700004832");  
    
    // Twitter
    
    $options[] =  array(  "name" => __( 'Twitter', 'evolve'  ),
            "desc" => __( 'Insert your Twitter ID. If your Twitter page is <strong>http://twitter.com/username</strong>, insert only <strong>username</strong>', 'evolve'  ),
            "id" => $evlshortname."_twitter_id",
            "type" => "text",
            "std" => "theme4press");  
    
    // MySpace
    
    $options[] = array(  "name" => __( 'MySpace', 'evolve'  ),
            "desc" => __( 'Insert your MySpace ID. If your MySpace page is <strong>http://myspace.com/username</strong>, insert only <strong>username</strong>', 'evolve'  ),
            "id" => $evlshortname."_myspace",
            "type" => "text",
            "std" => "");  
    
    // Skype
    
    $options[] = array(  "name" => __( 'Skype', 'evolve'  ),
            "desc" => __( 'Insert your Skype ID, e.g. <strong>username</strong>', 'evolve'  ),
            "id" => $evlshortname."_skype",
            "type" => "text",
            "std" => "");  
    
    // YouTube
    
    $options[] = array(  "name" => __( 'YouTube', 'evolve'  ),
            "desc" => __( 'Insert your YouTube ID. If your YouTube page is <strong><strong>http://youtube.com/user/Username</strong></strong>, insert only <strong>Username</strong>', 'evolve'  ),
            "id" => $evlshortname."_youtube",
            "type" => "text",
            "std" => "");  
    
    // Flickr
    
    $options[] = array(  "name" => __( 'Flickr', 'evolve'  ),
            "desc" => __( 'Insert your Flickr ID. If your Flickr page is <strong>http://flickr.com/photos/example</strong>, insert only <strong>example</strong>', 'evolve'  ),
            "id" => $evlshortname."_flickr",
            "type" => "text",
            "std" => "");  
    
    // LinkedIn
    
    $options[] = array(  "name" => __( 'LinkedIn', 'evolve'  ),
            "desc" => __( 'Insert your LinkedIn profile URI, e.g. <strong>http://ca.linkedin.com/pub/your-name/3/859/23b</strong>', 'evolve'  ),
            "id" => $evlshortname."_linkedin",
            "type" => "text",
            "std" => "");
    
    // Google Plus
    
    $options[] = array(  "name" => __( 'Google Plus', 'evolve'  ),
            "desc" => __( 'Insert your Google Plus profile ID, e.g. <strong>114573636521805298702</strong>', 'evolve'  ),
            "id" => $evlshortname."_googleplus",
            "type" => "text",
            "std" => "");  
    
    $options[] = array( "name" => $evlshortname."-tab-3", "id" => $evlshortname."-tab-3",
    	"type" => "close-tab" );  
    
    // Header content
    
    $options[] = array( "name" => $evlshortname."-tab-4", "id" => $evlshortname."-tab-4",
    	"type" => "open-tab");
    
    $options[] = array( "name" => __( 'Custom logo', 'evolve'  ),
            "desc" => __( 'Upload a logo for your theme, or specify an image URL directly.', 'evolve'  ),
            "id" => $evlshortname."_header_logo",
            "type" => "upload",
            "std" => "");         
    
    $options[] = array(  "name" => __( 'Logo position', 'evolve'  ),
            "desc" => __( 'Choose the position of your custom logo', 'evolve'  ),
            "id" => $evlshortname."_pos_logo",
            "type" => "select",
            "std" => "left",
            "options" => array(
    			  'left' => __( 'Left &nbsp;&nbsp;&nbsp;(default)', 'evolve'  ),
    			  'right' => __( 'Right', 'evolve'  ),
            'disable' => __( 'Disable', 'evolve'  )
            )); 
    
    $options[] = array(  "name" => __( 'Disable Blog Title', 'evolve'  ),
            "desc" => __( 'Check this box if you don\'t want to display title of your blog', 'evolve'  ),
            "id" => $evlshortname."_blog_title",
            "type" => "checkbox",
            "std" => "0");    
    
    $options[] = array(  "name" => __( 'Blog Tagline position', 'evolve'  ),
            "desc" => __( 'Choose the position of blog tagline', 'evolve'  ),
            "id" => $evlshortname."_tagline_pos",
            "type" => "select",
            "std" => "next",
            "options" => array(
    			  'next' => __( 'Next to blog title &nbsp;&nbsp;&nbsp;(default)', 'evolve'  ),
    			  'above' => __( 'Above blog title', 'evolve'  ),
            'under' => __( 'Under blog title', 'evolve'  ),
            'disable' => __( 'Disable', 'evolve'  )
            ));     
    
    $options[] = array(  "name" => __( 'Home page header content', 'evolve'  ),
            "desc" => "",
            "id" => $evlshortname."_home_header_content",
            "type" => "select",
            "std" => "search_social",
            "options" => array(
    			  'search_social' => __( 'Search Field + Subscribe Buttons &nbsp;&nbsp;&nbsp;(default)', 'evolve'  ),
    			  'post_search_social' => __( 'Recent Posts + Search Field + Subscribe Buttons', 'evolve'  ),
            'disable' =>__( 'Disable', 'evolve'  )
            ));  
    
    $options[] = array(  "name" => __( 'Single post header content', 'evolve'  ),
            "desc" => "",
            "id" => $evlshortname."_single_header_content",
            "type" => "select",
            "std" => "search_social",
            "options" => array(
    			  'search_social' => __( 'Search Field + Subscribe Buttons &nbsp;&nbsp;&nbsp;(default)', 'evolve'  ),
    			  'post_search_social' => __( 'Recent Posts + Search Field + Subscribe Buttons', 'evolve'  ),
            'disable' =>__( 'Disable', 'evolve'  )
            )); 
    
    $options[] = array(  "name" => __( 'Archives and other pages header content', 'evolve'  ),
            "desc" => "",
            "id" => $evlshortname."_archives_header_content",
            "type" => "select",
            "std" => "search_social",
            "options" => array(
    			  'search_social' => __( 'Search Field + Subscribe Buttons &nbsp;&nbsp;&nbsp;(default)', 'evolve'  ),
    			  'post_search_social' => __( 'Recent Posts + Search Field + Subscribe Buttons', 'evolve'  ),
            'disable' =>__( 'Disable', 'evolve'  )
            ));              
    
    $options[] = array(  "name" => __( 'Carousel', 'evolve'  ),
            "desc" => __( 'To enable a carousel the <strong>Recent Posts + Search Field + Subscribe Buttons</strong> option must be enabled', 'evolve'  ),
            "id" => $evlshortname."_header_slider",
            "type" => "select",
            "std" => "disable",
            "options" => array(
    			  'disable' => __( 'Disable &nbsp;&nbsp;&nbsp;(default)', 'evolve'  ),
    			  'normal' => __( 'Normal', 'evolve'  ),
            'slow' => __( 'Slow', 'evolve'  ),
            'fast' => __( 'Fast', 'evolve'  )
            ));    
    
    $options[] = array( "name" => $evlshortname."-tab-4", "id" => $evlshortname."-tab-4",
    	"type" => "close-tab" ); 
    
    // Footer content
    
    $options[] = array( "name" => $evlshortname."-tab-5", "id" => $evlshortname."-tab-5",
    	"type" => "open-tab");
    
    $options[] = array(  "name" => __( 'Custom footer', 'evolve'  ),
            "desc" => __( 'Available <strong>HTML</strong> tags and attributes:<br /><br /> <code> <b> <i> <a href="" title=""> <blockquote> <del datetime=""> <br /> <ins datetime=""> <img src="" alt="" /> <ul> <ol> <li> <br /> <code> <em>  <strong> <div> <span> <h1> <h2> <h3> <h4> <h5> <h6> <br /> <table> <tbody> <tr> <td> <br /> <hr /></code>', 'evolve'  ),
            "id" => $evlshortname."_footer_content",
            "type" => "textarea",
            "std" => "");
    
    $options[] = array( "name" => $evlshortname."-tab-5", "id" => $evlshortname."-tab-5",
    	"type" => "close-tab" ); 
    
    // Typography  
    
    $options[] = array( "id" => $evlshortname."-tab-6",
    	"type" => "open-tab");
    
    $options[] = array(  "name" => __( 'Blog Title font', 'evolve'  ),
            "desc" => __( 'Select the typography you want for your blog title. * non web-safe font.', 'evolve'  ),
            "id" => $evlshortname."_title_font",
            "type" => "typography",
            "std" => array('size' => '55px', 'face' => 'Raleway','style' => 'normal','color' => '')
            );
    
    $options[] = array(  "name" => __( 'Blog tagline font', 'evolve'  ),
            "desc" => __( 'Select the typography you want for your blog tagline. * non web-safe font.', 'evolve'  ),
            "id" => $evlshortname."_tagline_font",
            "type" => "typography",
            "std" => array('size' => '13px', 'face' => 'Raleway','style' => 'normal','color' => '')
            );   
    
    $options[] = array( "name" => __( 'Post title font', 'evolve'  ),
            "desc" => __( 'Select the typography you want for your post titles. * non web-safe font.', 'evolve'  ),
            "id" => $evlshortname."_post_font",
            "type" => "typography",
            "std" => array('size' => '28px', 'face' => 'Raleway','style' => 'bold','color' => '')
            );                 
    
    $options[] = array(  "name" => __( 'Content font', 'evolve'  ),
            "desc" => __( 'Select the typography you want for your blog content. * non web-safe font.', 'evolve'  ),
            "id" => $evlshortname."_content_font",
            "type" => "typography",
            "std" => array('size' => '16px', 'face' => 'Raleway','style' => 'normal','color' => '')
            );       
    
    $options[] = array(  "name" => __( 'Headings font', 'evolve'  ),
            "desc" => __( 'Select the typography you want for your blog headings (H1, H2, H3, H4, H5, H6). * non web-safe font.', 'evolve'  ),
            "id" => $evlshortname."_heading_font",
            "type" => "typography",
            "std" => array('size' => 'none', 'face' => 'Raleway','style' => 'normal','color' => '')
            );              
    
    $options[] = array( "name" => $evlshortname."-tab-6", "id" => $evlshortname."-tab-6",
    	"type" => "close-tab" ); 
    
    // Navigation
    
    $options[] = array( "id" => $evlshortname."-tab-7",
    	"type" => "open-tab");
    
    $options[] = array(  "name" => __( 'Disable main menu', 'evolve'  ),
            "desc" => __( 'Check this box if you don\'t want to display main menu', 'evolve'  ),
            "id" => $evlshortname."_main_menu",
            "type" => "checkbox",
            "std" => "0");
    
    $options[] = array(  "name" => __( 'Position of navigation links', 'evolve'  ),
            "desc" => __( 'Choose the position of the <strong>Older/Newer Posts</strong> links', 'evolve'  ),
            "id" => $evlshortname."_nav_links",
            "type" => "select",
            "std" => "after",
            "options" => array(
    			  'after' => __( 'After posts &nbsp;&nbsp;&nbsp;(default)', 'evolve'  ),
    			  'before' => __( 'Before posts', 'evolve'  ),
            'both' => __( 'Both', 'evolve'  )
            ));   
    
    $options[] = array(  "name" => __( 'Position of \'Back to Top\' button', 'evolve'  ),
            "desc" => "",
            "id" => $evlshortname."_pos_button",
            "type" => "select",
            "std" => "disable",
            "options" => array(
    			  'disable' => __( 'Disable &nbsp;&nbsp;&nbsp;(default)', 'evolve'  ),
    			  'left' => __( 'Left', 'evolve'  ),
            'right' => __( 'Right', 'evolve'  ),
            'middle' => __( 'Middle', 'evolve'  )
            ));                
    
    $options[] = array( "name" => $evlshortname."-tab-7", "id" => $evlshortname."-tab-7",
    	"type" => "close-tab" ); 
    
    // Ads Spaces  
    
    $options[] = array( "name" => $evlshortname."-tab-8", "id" => $evlshortname."-tab-8",
    	"type" => "open-tab");
    
    $options[] = array(  "name" => __( 'Theme4Press Affiliate ID', 'evolve'  ),
            "desc" => __( 'Insert your Theme4Press Affiliate ID. Get one <a href=\'http://theme4press.com/affiliates\' target=\'_blank\'><strong>here</strong></a>.', 'evolve'  ),
            "id" => $evlshortname."_affiliate_id",
            "type" => "text",
            "std" => ""); 
    
    $options[] = array( "name" => __( 'Please note', 'evolve'  ), "id" => $evlshortname."info_ads",
    "desc" => __( 'Ad spaces are not supposed to work for <strong><javascript></strong> ads units. Here you may insert only <strong><html></strong> based ads banners. In order to use <strong>Google AdSense</strong> units, please have a look at <strong>EvoLve Pro</strong> version available <a target="_blank" href="http://theme4press.com/evolve-pro/">here</a>.', 'evolve'  ),
    	"type" => "info");           
    
    $options[] = array(  "name" => __( 'Ad Space 1 - Header Top', 'evolve'  ),
            "desc" => __( 'Insert an ads code here to display in the <strong>Header Top</strong>
            recommended max. ads width 468px', 'evolve'  ),
            "id" => $evlshortname."_space_1",
            "type" => "textarea",
            "std" => "");
    
    $options[] = array(  "name" => __( 'Ad Space 2 - Header Bottom', 'evolve'  ),
            "desc" => __( 'Insert an ads code here to display in the <strong>Header Bottom</strong>
            recommended max. ads width 960px', 'evolve'  ),
            "id" => $evlshortname."_space_2",
            "type" => "textarea",
            "std" => "");
    
    $options[] = array(  "name" => __( 'Ad Space 3 - Sidebar 1 Top', 'evolve'  ),
            "desc" => __( 'Insert an ads code here to display in the <strong>Sidebar 1 Top</strong>
            recommended max. ads width 300px', 'evolve'  ),
            "id" => $evlshortname."_space_3",
            "type" => "textarea",
            "std" => ""); 
    
    $options[] = array(  "name" => __( 'Ad Space 4 - Sidebar 1 Bottom', 'evolve'  ),
            "desc" => __( 'Insert an ads code here to display in the <strong>Sidebar 1 Bottom</strong>
            recommended max. ads width 300px', 'evolve'  ),
            "id" => $evlshortname."_space_4",
            "type" => "textarea",
            "std" => "");   
    
    $options[] = array(  "name" => __( 'Ad Space 5 - Sidebar 2 Top', 'evolve'  ),
            "desc" => __( 'Insert an ads code here to display in the <strong>Sidebar 2 Top</strong>
            recommended max. ads width 300px', 'evolve'  ),
            "id" => $evlshortname."_space_5",
            "type" => "textarea",
            "std" => ""); 
    
    $options[] = array(  "name" => __( 'Ad Space 6 - Sidebar 2 Bottom', 'evolve'  ),
            "desc" => __( 'Insert an ads code here to display in the <strong>Sidebar 2 Bottom</strong>
            recommended max. ads width 300px', 'evolve'  ),
            "id" => $evlshortname."_space_6",
            "type" => "textarea",
            "std" => ""); 
    
    $options[] = array(  "name" => __( 'Ad Space 7 - Post Top', 'evolve'  ),
            "desc" => __( 'Insert an ads code here to display in the <strong>Post Top</strong>
            recommended max. ads width 600px', 'evolve'  ),
            "id" => $evlshortname."_space_7",
            "type" => "textarea",
            "std" => ""); 
    
    $options[] = array(  "name" => __( 'Ad Space 8 - Post Bottom', 'evolve'  ),
            "desc" => __( 'Insert an ads code here to display in the <strong>Post Bottom</strong>
            recommended max. ads width 600px', 'evolve'  ),
            "id" => $evlshortname."_space_8",
            "type" => "textarea",
            "std" => ""); 
    
    $options[] = array(  "name" => __( 'Ad Space 9 - Footer', 'evolve'  ),
            "desc" => __( 'Insert an ads code here to display in the <strong>Footer</strong>
            recommended max. ads width 960px', 'evolve'  ),
            "id" => $evlshortname."_space_9",
            "type" => "textarea",
            "std" => "");        
    
    $options[] = array( "name" => $evlshortname."-tab-8", "id" => $evlshortname."-tab-8",
    	"type" => "close-tab" );   
    
    // General Styling
    
    $options[] = array( "name" => $evlshortname."-tab-10", "id" => $evlshortname."-tab-10",
    	"type" => "open-tab");     
    
    $options[] = array(  "name" => "Main color",
            "desc" => "Custom background color of header and footer",
            "id" => $evlshortname."_header_footer_back_color",
            "type" => "color",
            "std" => ""
            );  
    
    $options[] = array(  "name" => __( 'Main pattern', 'evolve'  ),
            "desc" => __( 'Choose the pattern for header and background', 'evolve'  ),
            "id" => $evlshortname."_pattern",
            "type" => "images",
            "std" => "pattern_8.png",
            "options" => array(
            'none' => $imagepathfolder . '/header-two/none.jpg',
    			  'pattern_1.png' => $imagepathfolder . '/pattern/pattern_1_thumb.png',
            'pattern_2.png' => $imagepathfolder . '/pattern/pattern_2_thumb.png',
            'pattern_3.png' => $imagepathfolder . '/pattern/pattern_3_thumb.png',
            'pattern_4.png' => $imagepathfolder . '/pattern/pattern_4_thumb.png',
            'pattern_5.png' => $imagepathfolder . '/pattern/pattern_5_thumb.png',
            'pattern_6.png' => $imagepathfolder . '/pattern/pattern_6_thumb.png',
            'pattern_7.png' => $imagepathfolder . '/pattern/pattern_7_thumb.png',
            'pattern_8.png' => $imagepathfolder . '/pattern/pattern_8_thumb.png'
            ));    
    
    $options[] = array(  "name" => __( 'Color scheme of the header widgets area', 'evolve'  ),
            "desc" => __( 'Choose the color scheme for the area below header', 'evolve'  ),
            "id" => $evlshortname."_scheme_widgets",
            "type" => "images",
            "std" => "none",
            "options" => array(
            'none' => $imagepathfolder . '/header-two/none.jpg',
    			  'blue-back.jpg' => $imagepathfolder . '/header-two/blue-back_thumb.jpg',
            'green-back.jpg' => $imagepathfolder . '/header-two/green-back_thumb.jpg',
            'red-back.jpg' => $imagepathfolder . '/header-two/red-back_thumb.jpg',
            'pink-back.jpg' => $imagepathfolder . '/header-two/pink-back_thumb.jpg',
            'black-back.jpg' => $imagepathfolder . '/header-two/black-back_thumb.jpg',
            'grey-back.jpg' => $imagepathfolder . '/header-two/grey-back_thumb.jpg'
            ));  
    
    $options[] = array(  "name" => "Button Color 1",
            "desc" => "Custom color for buttons: Read more, Reply, Back to Top",
            "id" => $evlshortname."_button_1",
            "type" => "color",
            "std" => ""
            );  
    
    $options[] = array(  "name" => "Button Color 2",
            "desc" => "Custom color for buttons: Post Comment, Submit, Navigation Links",
            "id" => $evlshortname."_button_2",
            "type" => "color",
            "std" => ""
            );                                       
    
    $options[] = array(  "name" => "Enable Bootstrap Elements support",
            "desc" => "Check this box if you want to enable <a href='http://twitter.github.com/bootstrap/'>Bootstrap Elements</a> on your theme",
            "id" => $evlshortname."_bootstrap",
            "type" => "checkbox",
            "std" => "1");
    
    $options[] = array(  "name" => "Enable Boxed Layout & Custom Background",
            "desc" => "Check this box if you want to enable boxed layout with a custom background",
            "id" => $evlshortname."_custom_background",
            "type" => "checkbox",
            "std" => "1");
    
    $options[] = array(  "name" => "Disable background images",
            "desc" => "Check this box if you don't want to display background images - 'nacked mode'",
            "id" => $evlshortname."_back_images",
            "type" => "checkbox",
            "std" => "0");  
    
    $options[] = array(  "name" => "Enable Widget Title Black Background",
            "desc" => "Check this box if you want to enable black background for widget titles",
            "id" => $evlshortname."_widget_background",
            "type" => "checkbox",
            "std" => "0");   
    
    $options[] = array(  "name" => "Disable Widget Background",
            "desc" => "Check this box if you want to disable widget background",
            "id" => $evlshortname."_widget_background_image",
            "type" => "checkbox",
            "std" => "1");   
    
    $options[] = array(  "name" => "Disable Menu Background",
            "desc" => "Check this box if you want to disable menu background",
            "id" => $evlshortname."_disable_menu_back",
            "type" => "checkbox",
            "std" => "1");                     
    
    $options[] = array(  "name" => "Menu color",
            "desc" => "Background color of main menu",
            "id" => $evlshortname."_menu_back",
            "type" => "images",
            "std" => "light",
            "options" => array(
    			  'light' => $imagepathfolder . 'light.jpg',
    			  'dark' => $imagepathfolder . 'dark.jpg'
            )); 
    
    $options[] = array(  "name" => "Or custom menu color",
            "desc" => "Custom background color of main menu",
            "id" => $evlshortname."_menu_back_color",
            "type" => "color",
            "std" => ""
            );         
    
    $options[] = array(  "name" => "Content color",
            "desc" => "Background color of content",
            "id" => $evlshortname."_content_back",
            "type" => "images",
            "std" => "light",
            "options" => array(
    			    'light' => $imagepathfolder . 'light.jpg',
    			  'dark' => $imagepathfolder . 'dark.jpg'
            ));
    
    $options[] = array(  "name" => "Custom CSS",
            "desc" => '<strong>For advanced users only</strong>: insert custom CSS, default <a href="'.$template_url.'/style.css" target="_blank">style.css</a> file',
            "id" => $evlshortname."_css_content",
            "type" => "textarea",
            "std" => "");   
    
    $options[] = array( "name" => $evlshortname."-tab-10", "id" => $evlshortname."-tab-10",
    	"type" => "close-tab" );  
    
    return $options;
    }

    Thank you for your help.

    You’re using a 2 year-old version?? I’d suggest updating to the current version.

    If you still have problems, pease post in the forum for that theme –

    https://ww.wp.xz.cn/support/theme/evolve#postform

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘parse error with evolve theme’ is closed to new replies.