admin blank page
-
hello i try to install your plugin but after install i got this
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 491520 bytes) in wp-content/themes/kiddo-turf-parent/theme_config/options/admin_options.php on line 512
what do i have to do ?
<?php /* ----------------------------------------------------------------------------------- */ /* Initializes all the theme settings option fields for admin area. */ /* ----------------------------------------------------------------------------------- */ $options = array( 'tabs' => array( array( 'name' => __('General', 'tfuse'), 'type' => 'tab', 'id' => TF_THEME_PREFIX . '_general', 'headings' => array( array( 'name' => __('General Settings', 'tfuse'), 'options' => array(/* 1 */ array( 'name' => __('Logo type', 'tfuse'), 'desc' => __('Choose your preferred.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_choose_logo', 'value' => 'text', 'options' => array('custom' => __('Custom Logo', 'tfuse'), 'text' => __('Text Logo', 'tfuse')), 'type' => 'select' ), // Custom Logo Option array( 'name' => __('Custom Logo', 'tfuse'), 'desc' => __('Upload a logo for your theme, or specify the image address of your online logo. (http://yoursite.com/logo.png)', 'tfuse'), 'id' => TF_THEME_PREFIX . '_logo', 'value' => '', 'type' => 'upload' ), // Custom Logo Text Option array( 'name' => __('Text Logo', 'tfuse'), 'desc' => __('Enter your text for logo', 'tfuse'), 'id' => TF_THEME_PREFIX . '_logo_text', 'value' => 'KiddoTurf', 'type' => 'text', 'divider' => true ), // Custom Favicon Option array( 'name' => __('Custom Favicon <br /> (16px x 16px)', 'tfuse'), 'desc' => __('Upload a 16px x 16px Png/Gif image that will represent your website\'s favicon.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_favicon', 'value' => '', 'type' => 'upload', 'divider' => true ), //choose pagination array('name' => __('Pagination Type', 'tfuse'), 'desc' => __('Choose pagination type.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_pagination_type', 'value' => 'type1', 'options' => array('type1' => 'Number pagination', 'type2' => 'Read more pagination'), 'type' => 'select', 'divider' => true ), //date array( 'name' => __('Enable Date', 'tfuse'), 'desc' => __('Enable date across the site.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_date_time', 'value' => 'true', 'type' => 'checkbox', 'divider' => true ), // Tracking Code Option array( 'name' => __('Tracking Code', 'tfuse'), 'desc' => __('Paste your Google Analytics (or other) tracking code here. This will be added into the footer template of your theme.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_google_analytics', 'value' => '', 'type' => 'textarea', 'divider' => true ), // Custom CSS Option array( 'name' => __('Custom CSS', 'tfuse'), 'desc' => __('Quickly add some CSS to your theme by adding it to this block.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_custom_css', 'value' => '', 'type' => 'textarea' ) ) /* E1 */ ), array( 'name' => __('Gallery', 'tfuse'), 'options' => array( array('name' => __('Gallery Type', 'tfuse'), 'desc' => __('Select your preferred display type for Gallery posts.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_portf_type', 'value' => 'pretty', 'options' => array( 'pretty' => __('Gallery', 'tfuse'), 'single' => __('With Single', 'tfuse'), ), 'type' => 'select', 'divider' => true ), array('name' => __('Gallery Title', 'tfuse'), 'desc' => __('Specify gallery title.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_gallery_title', 'value' => '', 'type' => 'text' ), // Element of Hedear array('name' => __('Listing All Portfolio Items Header Element', 'tfuse'), 'desc' => __('Select type of element on the header for listing portfolio items.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_header_element_portf', 'value' => 'without', 'options' => array('without' => __('Without Header Element', 'tfuse'),'slider' => __('Slider on Header', 'tfuse')), 'type' => 'select', ), // Select Header Slider $this->ext->slider->model->has_sliders() ? array( 'name' => __('Slider', 'tfuse'), 'desc' => __('Select a slider for your post. The sliders are created on the', 'tfuse') . '<a href="' . admin_url( 'admin.php?page=tf_slider_list' ) . '" target="_blank">' . __('Sliders page', 'tfuse') . '</a>.', 'id' => TF_THEME_PREFIX . '_select_slider_portf', 'value' => '', 'options' => $TFUSE->ext->slider->get_sliders_dropdown(), 'type' => 'select' ) : array( 'name' => __('Slider', 'tfuse'), 'desc' => '', 'id' => TF_THEME_PREFIX . '_select_slider_portf', 'value' => '', 'html' => __('No sliders created yet. You can start creating one', 'tfuse') . '<a href="' . admin_url('admin.php?page=tf_slider_list') . '">' . __('here', 'tfuse') . '</a>.', 'type' => 'raw', 'divider' => true ) , // Bottom Shortcodes array('name' => __('Listing All Portfolio Items Shortcodes before Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_top_portf', 'value' => '', 'type' => 'textarea' ), // Bottom Shortcodes array('name' => __('Listing All Portfolio Items Shortcodes after Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_bottom_portf', 'value' => '', 'type' => 'textarea' ) ) ), array( 'name' => __('Twitter', 'tfuse'), 'options' => array( array( 'name' => __('Consumer Key', 'tfuse'), 'desc' => __('Set your <a href="http://screencast.com/t/zHu17C7nXy1">twitter</a> application <a href="http://screencast.com/t/yb44HiF2NZ">consumer key</a>.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_twitter_consumer_key', 'value' => 'XW7t8bECoR6ogYtUDNdjiQ', 'type' => 'text', 'divider' => true ), array( 'name' => __('Consumer Secret', 'tfuse'), 'desc' => __('Set your <a href="http://screencast.com/t/zHu17C7nXy1">twitter</a> application <a href="http://screencast.com/t/eaKJHG1omN">consumer secret key</a>.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_twitter_consumer_secret', 'value' => 'Z7UzuWU8a4obyOOlIguuI4a5JV4ryTIPKZ3POIAcJ9M', 'type' => 'text', 'divider' => true ), array( 'name' => __('User Token', 'tfuse'), 'desc' => __('Set your <a href="http://screencast.com/t/zHu17C7nXy1">twitter</a> application <a href="http://screencast.com/t/QEEG2O4H">access token key</a>.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_twitter_user_token', 'value' => '1510587853-ugw6uUuNdNMdGGDn7DR4ZY4IcarhstIbq8wdDud', 'type' => 'text', 'divider' => true ), array( 'name' => __('User Secret', 'tfuse'), 'desc' => __('Set your <a href="http://screencast.com/t/zHu17C7nXy1">twitter</a> application <a href="http://screencast.com/t/Yv7nwRGsz">access token secret key</a>.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_twitter_user_secret', 'value' => '7aNcpOUGtdKKeT1L72i3tfdHJWeKsBVODv26l9C0Cc', 'type' => 'text' ) ) ), array( 'name' => __('RSS', 'tfuse'), 'options' => array( // RSS URL Option array('name' => __('RSS URL', 'tfuse'), 'desc' => __('Enter your preferred RSS URL. (Feedburner or other)', 'tfuse'), 'id' => TF_THEME_PREFIX . '_feedburner_url', 'value' => '', 'type' => 'text', 'divider' => true ), // E-Mail URL Option array('name' => __('E-Mail URL', 'tfuse'), 'desc' => __('Enter your preferred E-mail subscription URL. (Feedburner or other)', 'tfuse'), 'id' => TF_THEME_PREFIX . '_feedburner_id', 'value' => '', 'type' => 'text' ) ) ), array( 'name' => __('Enable Theme settings', 'tfuse'), 'options' => array( // Disable Image for All Single Posts array('name' => __('Image on Single Post', 'tfuse'), 'desc' => __('Enable Image on All Single Posts? These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_image', 'value' => 'true', 'type' => 'checkbox', 'divider' => true ), // Disable Video for All Single Posts array('name' => __('Video on Single Post', 'tfuse'), 'desc' => __('Enable Video on All Single Posts? These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_video', 'value' => 'true', 'type' => 'checkbox', 'divider' => true ), // Disable Comments for All Posts array('name' => __('Post Comments', 'tfuse'), 'desc' => __('Enable Comments for All Posts? These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_posts_comments', 'value' => 'true', 'type' => 'checkbox', 'divider' => true ), // Disable Author Info array('name' => __('Author Info', 'tfuse'), 'desc' => __('Enable Author Info? These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_author_info', 'value' => 'true', 'type' => 'checkbox', 'divider' => true ), // Disable Post Meta array('name' => __('Post meta', 'tfuse'), 'desc' => __('Enable Post meta? These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_post_meta', 'value' => 'true', 'type' => 'checkbox', 'divider' => true ), // Disable Post Published Date array('name' => __('Post Published Date', 'tfuse'), 'desc' => __('Enable Post Published Date? These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_published_date', 'value' => 'true', 'type' => 'checkbox', 'divider' => true ), // Disable posts lightbox (prettyPhoto) Option array('name' => 'prettyPhoto on Categories', 'desc' => __('Enable opening image and attachemnts in prettyPhoto on Categories listings? If YES, image link go to post.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_listing_lightbox', 'value' => 'true', 'type' => 'checkbox', 'divider' => true ), // Disable posts lightbox (prettyPhoto) Option array('name' => 'prettyPhoto on Single Post', 'desc' => __('Enable opening image and attachemnts in prettyPhoto on Single Post?', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_single_lightbox', 'value' => 'true', 'type' => 'checkbox', 'divider' => true ), // Disable preloadCssImages plugin array('name' => 'preloadCssImages', 'desc' => __('Enable jQuery-Plugin "preloadCssImages"? This plugin loads automatic all images from css.If you prefer performance(less requests) deactivate this plugin.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_preload_css', 'value' => 'true', 'type' => 'checkbox', 'on_update' => 'reload_page', 'divider' => true ), // Disable SEO array('name' => __('SEO Tab', 'tfuse'), 'desc' => __('Enable SEO option?', 'tfuse'), 'id' => TF_THEME_PREFIX . '_enable_tfuse_seo_tab', 'value' => true, 'type' => 'checkbox', 'on_update' => 'reload_page', 'divider' => true ), // Enable Dynamic Image Resizer Option array('name' => __('Dynamic Image Resizer', 'tfuse'), 'desc' => __('This will Enable the thumb.php script that dynamicaly resizes images on your site. We recommend you keep this enabled, however note that for this to work you need to have "GD Library" installed on your server. This should be done by your hosting server administrator.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_resize', 'value' => 'true', 'type' => 'checkbox', 'divider' => true ), array('name' => __('Image from content', 'tfuse'), 'desc' => __('If no thumbnail is specified then the first uploaded image in the post is used.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_enable_content_img', 'value' => 'false', 'type' => 'checkbox', 'divider' => true ), // Remove wordpress versions for security reasons array( 'name' => __('Remove WordPress Versions', 'tfuse'), 'desc' => __('Remove WordPress versions from the source code, for security reasons.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_remove_wp_versions', 'value' => TRUE, 'type' => 'checkbox' ) ) ), array( 'name' => __('WordPress Admin Style', 'tfuse'), 'options' => array( // Disable Themefuse Style array('name' => __('Themefuse Style', 'tfuse'), 'desc' => __('Enable Themefuse Style', 'tfuse'), 'id' => TF_THEME_PREFIX . '_activate_tfuse_style', 'value' => true, 'type' => 'checkbox', 'on_update' => 'reload_page' ) ) ) ) ), array( 'name' => __('Homepage', 'tfuse'), 'id' => TF_THEME_PREFIX . '_homepage', 'headings' => array( array( 'name' => __('Homepage Population', 'tfuse'), 'options' => array( array('name' => __('Homepage Population', 'tfuse'), 'desc' => ' Select which categories to display on homepage. More over you can choose to load a specific page or change the number of posts on the homepage from <a target="_blank" href="' . network_admin_url('options-reading.php') . '">here</a>', 'id' => TF_THEME_PREFIX . '_homepage_category', 'value' => '', 'options' => array('all' => __('From All Categories','tfuse'), 'specific' => __('From Specific Categories','tfuse'),'page' =>__('From Specific Page', 'tfuse')), 'type' => 'select', 'install' => 'cat' ), array( 'name' => __('Select specific categories to display on homepage', 'tfuse'), 'desc' => __('Pick one or more categories by starting to type the category name.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_categories_select_categ', 'type' => 'multi', 'subtype' => 'category', ), // page on homepage array('name' => __('Select Page', 'tfuse'), 'desc' => __('Select the page', 'tfuse'), 'id' => TF_THEME_PREFIX . '_home_page', 'value' => 'image', 'options' =>tfuse_list_page_options(), 'type' => 'select', ), array('name' => __('Use page options', 'tfuse'), 'desc' => __('Use page options', 'tfuse'), 'id' => TF_THEME_PREFIX . '_use_page_options', 'value' => 'false', 'type' => 'checkbox' ) ) ), array( 'name' => __('Homepage Header', 'tfuse'), 'options' => array( // Element of Hedear array('name' => __('Element of Hedear', 'tfuse'), 'desc' => __('Select type of element on the header.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_header_element', 'value' => 'without', 'options' => array('without' => __('Without Header Element', 'tfuse'),'slider' => __('Slider on Header', 'tfuse')), 'type' => 'select', ), // Select Header Slider $this->ext->slider->model->has_sliders() ? array( 'name' => __('Slider', 'tfuse'), 'desc' => __('Select a slider for your post. The sliders are created on the', 'tfuse') . '<a href="' . admin_url( 'admin.php?page=tf_slider_list' ) . '" target="_blank">' . __('Sliders page', 'tfuse') . '</a>.', 'id' => TF_THEME_PREFIX . '_select_slider', 'value' => '', 'options' => $TFUSE->ext->slider->get_sliders_dropdown(), 'type' => 'select' ) : array( 'name' => __('Slider', 'tfuse'), 'desc' => '', 'id' => TF_THEME_PREFIX . '_select_slider', 'value' => '', 'html' => __('No sliders created yet. You can start creating one', 'tfuse') . '<a href="' . admin_url('admin.php?page=tf_slider_list') . '">' . __('here', 'tfuse') . '</a>.', 'type' => 'raw' ) ) ), array( 'name' => __('Homepage Shortcodes', 'tfuse'), 'options' => array( // Top Shortcodes array('name' => __('Shortcodes before Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_top', 'value' => '', 'type' => 'textarea' ), // Bottom Shortcodes array('name' => __('Shortcodes after Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_bottom', 'value' => '', 'type' => 'textarea' ) ) ) ) ), array( 'name' => __('Blog', 'tfuse'), 'id' => TF_THEME_PREFIX . '_blogpage', 'headings' => array( array( 'name' => __('Blog Page Population', 'tfuse'), 'options' => array( // Select the Blog Page array('name' => __('Select Blog Page', 'tfuse'), 'desc' => __('Select the blog page', 'tfuse'), 'id' => TF_THEME_PREFIX . '_blog_page', 'value' => 'image', 'options' => tfuse_list_page_options(), 'type' => 'select', 'divider' => true ), array('name' => __('Blog Page Population', 'tfuse'), 'desc' => ' Select which categories to display on blogpage. More over you can choose to load a specific page or change the number of posts on the blogpage from <a target="_blank" href="' . network_admin_url('options-reading.php') . '">here</a>', 'id' => TF_THEME_PREFIX . '_blogpage_category', 'value' => '', 'options' => array('all' => __('From All Categories','tfuse'), 'specific' => __('From Specific Categories','tfuse')), 'type' => 'select', 'install' => 'cat' ), array( 'name' => __('Select specific categories to display on blogpage', 'tfuse'), 'desc' => __('Pick one or more categories by starting to type the category name.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_categories_select_categ_blog', 'type' => 'multi', 'subtype' => 'category', ) ) ), array( 'name' => __('Blog Page Header', 'tfuse'), 'options' => array( // Element of Hedear array('name' => __('Element of Hedear', 'tfuse'), 'desc' => __('Select type of element on the header.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_header_element_blog', 'value' => 'without', 'options' => array('without' => __('Without Header Element', 'tfuse'),'slider' => __('Slider on Header', 'tfuse')), 'type' => 'select', ), // Select Header Slider $this->ext->slider->model->has_sliders() ? array( 'name' => __('Slider', 'tfuse'), 'desc' => __('Select a slider for your post. The sliders are created on the', 'tfuse') . '<a href="' . admin_url( 'admin.php?page=tf_slider_list' ) . '" target="_blank">' . __('Sliders page', 'tfuse') . '</a>.', 'id' => TF_THEME_PREFIX . '_select_slider_blog', 'value' => '', 'options' => $TFUSE->ext->slider->get_sliders_dropdown(), 'type' => 'select' ) : array( 'name' => __('Slider', 'tfuse'), 'desc' => '', 'id' => TF_THEME_PREFIX . '_select_slider_blog', 'value' => '', 'html' => __('No sliders created yet. You can start creating one', 'tfuse') . '<a href="' . admin_url('admin.php?page=tf_slider_list') . '">' . __('here', 'tfuse') . '</a>.', 'type' => 'raw' ) ) ), array( 'name' => __('Blog Page Shortcodes', 'tfuse'), 'options' => array( // Bottom Shortcodes array('name' => __('Shortcodes before Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_blog_content_top', 'value' => '', 'type' => 'textarea' ), // Bottom Shortcodes array('name' => __('Shortcodes after Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_blog_content_bottom', 'value' => '', 'type' => 'textarea' ) ) ), ) ), array( 'name' => __('Posts', 'tfuse'), 'id' => TF_THEME_PREFIX . '_posts', 'headings' => array( array( 'name' => __('Default Post Options', 'tfuse'), 'options' => array( // Post Content array('name' => __('Post Content', 'tfuse'), 'desc' => __('Select if you want to show the full content (use <em>more</em> tag) or the excerpt on posts listings (categories).', 'tfuse'), 'id' => TF_THEME_PREFIX . '_post_content', 'value' => 'excerpt', 'options' => array('excerpt' => __('The Excerpt', 'tfuse'), 'content' => __('Full Content', 'tfuse')), 'type' => 'select', 'divider' => true ), // Single Image Position array('name' => __('Image Position', 'tfuse'), 'desc' => __('Select your preferred image alignment', 'tfuse'), 'id' => TF_THEME_PREFIX . '_single_image_position', 'value' => 'alignleft', 'type' => 'images', 'options' => array('alignleft' => array($url . 'left_off.png', __('Align to the left', 'tfuse')), 'alignright' => array($url . 'right_off.png', __('Align to the right', 'tfuse'))) ), // Single Image Dimensions array('name' => __('Image Resize (px)', 'tfuse'), 'desc' => __('These are the default width and height values. If you want to resize the image change the values with your own. If you input only one, the image will get resized with constrained proportions based on the one you specified.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_single_image_dimensions', 'value' => array(540, 270), 'type' => 'textarray', 'divider' => true ), // Thumbnail Posts Position array('name' => __('Thumbnail Position', 'tfuse'), 'desc' => __('Select your preferred thumbnail alignment', 'tfuse'), 'id' => TF_THEME_PREFIX . '_thumbnail_position', 'value' => 'alignleft', 'type' => 'images', 'options' => array('alignleft' => array($url . 'left_off.png', __('Align to the left', 'tfuse')), 'alignright' => array($url . 'right_off.png', __('Align to the right', 'tfuse'))) ), // Posts Thumbnail Dimensions array('name' => __('Thumbnail Resize (px)', 'tfuse'), 'desc' => __('These are the default width and height values. If you want to resize the thumbnail change the values with your own. If you input only one, the thumbnail will get resized with constrained proportions based on the one you specified.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_thumbnail_dimensions', 'value' => array(540, 270), 'type' => 'textarray', 'divider' => true ), // Video Position array('name' => __('Video Position', 'tfuse'), 'desc' => __('Select your preferred video alignment', 'tfuse'), 'id' => TF_THEME_PREFIX . '_video_position', 'value' => 'alignright', 'type' => 'images', 'options' => array('alignleft' => array($url . 'left_off.png', __('Align to the left', 'tfuse')), 'alignright' => array($url . 'right_off.png', __('Align to the right', 'tfuse'))) ), // Video Dimensions array('name' => __('Video Resize (px)', 'tfuse'), 'desc' => __('These are the default width and height values. If you want to resize the video change the values with your own. If you input only one, the video will get resized with constrained proportions based on the one you specified.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_video_dimensions', 'value' => array(540, 270), 'type' => 'textarray' ) ) ) ) ), array( 'name' => __('Footer', 'tfuse'), 'id' => TF_THEME_PREFIX . '_footer', 'headings' => array( array( 'name' => __('Footer Content', 'tfuse'), 'options' => array( array('name' => __('Copyright', 'tfuse'), 'desc' => __('Change Footer Copyright', 'tfuse'), 'id' => TF_THEME_PREFIX . '_footer_left_copyright', 'value' => '', 'type' => 'text' ) ) ) ) ) ) ); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘admin blank page’ is closed to new replies.