can't access my wp-admin page
-
My site is couponsforfun2.com (which I’m trying to rebuild in WordPress from couponsforfun.com which was built in iWeb).
I was trying to change the size and position of a right sidebar in WP. In forums it said to adjust width of sidebar widget and content in style.css. And it would be possible to adjust the position of the sidebar on page by adjusting the 0 0 0 0 settings. I didn’t find anything in style.css that showed width so I added a width line (copied from a forum) to what looked like the right place for content and sidebar. It seems I broke my site. When I go to couponsforfun2.com, I get a bunch of junk at the top of the page that says this:
/** * Register widget area. * * @link http://codex.wordpress.org/Function_Reference/register_sidebar */ function tesseract_widgets_init() { register_sidebar( array( ‘name’ => __( ‘Primary Sidebar’, ‘tesseract’ ), ‘id’ => ‘sidebar-1’, ‘description’ => __( ‘Appears on the left.’, ‘tesseract’ ), ‘before_widget’ => ‘
‘, ‘after_widget’ => ‘
‘, ‘before_title’ => ‘
‘,› ‘after_title’ => ‘
‘, ) ); } add_action( ‘widgets_init’, ‘tesseract_widgets_init’ ); /**And when I go to my wp-admin page it’s all white, except for this:
/** * Register widget area. * * @link http://codex.wordpress.org/Function_Reference/register_sidebar */ function tesseract_widgets_init() { register_sidebar( array( ‘name’ => __( ‘Primary Sidebar’, ‘tesseract’ ), ‘id’ => ‘sidebar-1’, ‘description’ => __( ‘Appears on the left.’, ‘tesseract’ ), ‘before_widget’ => ‘
‘, ‘after_widget’ => ‘
‘, ‘before_title’ => ‘
‘,› ‘after_title’ => ‘
‘, ) ); } add_action( ‘widgets_init’, ‘tesseract_widgets_init’ ); /**
Warning: Cannot modify header information – headers already sent by (output started at /home1/marj0rieann/public_html/wp-content/themes/Tesseract-child/functions.php:33) in /home1/marj0rieann/public_html/wp-includes/pluggable.php on line 1207I’m using the tesseract-child theme. This morning Hostgator said they reset my site and I could get back into the Tesseract theme but the child theme was still bad, even though I had put the codes back the way they were originally. I changed the theme to the child theme but have the same problem described above so can’t get to wp-admin to change themes.
Can anyone help me get back to the wp-admin page, then tell me where I should make change to code to make sidebar narrower and to move it down on the page?
Thanks so much.
The topic ‘can't access my wp-admin page’ is closed to new replies.