aquilawebs
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: admin panel not openingI got the same error again with the default theme of Wordress
it says :
Warning: Cannot modify header information – headers already sent by (output started at /home/aquilain/public_html/projects/creatovia/wp-admin/index.php:1) in /home/aquilain/public_html/projects/creatovia/wp-includes/pluggable.php on line 897
Forum: Themes and Templates
In reply to: Need Help With Custom Themeany suggestions??
Forum: Fixing WordPress
In reply to: admin panel not openingI got the theme from my client but i never touched functions.php
here is the default code for function.php
<?php
require_once(TEMPLATEPATH . ‘/epanel/custom_functions.php’);
require_once(TEMPLATEPATH . ‘/includes/functions/comments.php’);
require_once(TEMPLATEPATH . ‘/includes/functions/sidebars.php’);
load_theme_textdomain(‘Minimal’,get_template_directory().’/lang’);
require_once(TEMPLATEPATH . ‘/epanel/options_minimal.php’);
require_once(TEMPLATEPATH . ‘/epanel/core_functions.php’);
require_once(TEMPLATEPATH . ‘/epanel/post_thumbnails_minimal.php’);
function register_main_menus() {
register_nav_menus(
array(
‘primary-menu’ => __( ‘Primary Menu’ ),
‘footer-menu’ => __( ‘Footer Menu’ )
)
);
};
if (function_exists(‘register_nav_menus’)) add_action( ‘init’, ‘register_main_menus’ );$wp_ver = substr($GLOBALS[‘wp_version’],0,3);
if ($wp_ver >= 2.8) include(TEMPLATEPATH . ‘/includes/widgets.php’);if (function_exists(‘add_theme_support’)) {
add_theme_support(‘post-thumbnails’);
set_post_thumbnail_size(164, 164, true);
}?>