• Hi All,

    I am new and trying to learn how to create / modify WordPress themes. I got a book called WordPress Web Design for Dummies (good book, IMO)and used an example from the book that I thought was a new rudimentary theme that would be used as a learning tool. Not suprisingly, when I tried to use the new theme there were errors. I figured I would fix the errors and move on from there. One big problem though. After loading the theme, the Dashboard no longer would load and just returned errors. After looking through the forums I deleted the themes directory entirely, which forces the default theme to be recreated and got back to the Dashboard.
    That really isn’t practical. I assumed that since the new theme was not in the same directory as the existing theme, it couldn’t interfere. Obviously that is not the case. Further, I know there is something called a child theme (I know nothing about this except it probably inherits settings from its parent) that I understand could cause problems, but I am pretty sure what I created was not a “child theme” How do I avoid this behavior in the future?

    Thanks ahead for any suggestions!

Viewing 1 replies (of 1 total)
  • Thread Starter jskintau

    (@jskintau)

    HI All,

    I made some changes to the sample theme and decided to load it again to see if it created problems for the dashboard. After loading it and activating it, the dashboard continued to work. Yay! I am not sure what caused the problem, but I made several changes.

    Regardless, now I am having a different problem and wonder if I can get help with it.

    I am getting the following error:
    Fatal error: Call to undefined function language_attibuters() in path\header.php on line 10

    Following is a copy of the header.php file:

    <!Doctype html>
    <html <?php language_attibuters(); ?> />

    <head profile=”http://gmpq.org/xfn/11″&gt;
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>;
    charset=<?php bloginfo(‘charset’); ?> />

    <title><?php bloginfo( ‘name’ ); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?>
    <?php wp_title(); ?></title>
    <link rel=”stylesheet” href=”<?php bloginfo( ‘stylesheet url’ ); ?>” type=”text/css media=”screen” />

    <?php if (is-singular()) wp_enqueue_script( ‘comment-reply’); ?>
    <?php wp_head(); ?>
    </head>
    <body <?php body_class() ?>>
    <div id=”page”>
    <div id=”header”>
    <h1> </h1>
    <h2><?php bloginfo(‘description’); ?></h2>
    </div>
    <div id=”main”>

    I have looked around a bit in the forum about this, but nothing that makes sense for this issue. I am using WordPress 3.31 and PHP 5.3.8
    I get the same result whether loaded on my shared host or on the local install. Note that my host uses php 5.2.

    Any help would be great.

Viewing 1 replies (of 1 total)
  • The topic ‘New theme trashing admin page’ is closed to new replies.