Jump to content

Error message that i cannoit see


astoller

Recommended Posts

Hi i am getting the error message in firefox

Parse error: syntax error, unexpected '<' in /home/uniquegi/public_html/wp-content/themes/peekaboo/functions.php on line 491

on this code:

can you help?

line 491 is function pkb_admin_footer_text

 

thanks

Art

 

/*-----------------------------------------------------------------------------------*/
/*    Admin Footer
/*-----------------------------------------------------------------------------------*/
function pkb_admin_footer_text( $default_text) {
    echo 'Peekaboo theme by <a href="[url=http://themeforest.net/user/population2?ref=population2]http://themeforest.net/user/population2?ref=population2[/url]">Population2</a> | Powered by <a [url=href=]href="http://www.wordpress.org">WordPress</a>.[/url] <a [url=href=]href="http://codex.wordpress.org/">Documentation</a>' [/url] ;
}
add_filter('admin_footer_text', 'pkb_admin_footer_text');


/*-----------------------------------------------------------------------------------*/
/*    Custom WP Admin Login Logo
/*-----------------------------------------------------------------------------------*/
function pkb_custom_login_logo() {
    global $smof_data;
    if ( $smof_data['pkb_custom_login'] )   {
    echo '<style type="text/css">h1 a { background-image:url('.$smof_data['pkb_custom_login'].') !important; } </style>'; }
    else {
    echo '<style type="text/css">h1 a { background-image:url('.get_template_directory_uri().'/img/logo-login.png) !important; } </style>';
    }
}

add_action('login_head', 'pkb_custom_login_logo');
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.