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
https://forums.phpfreaks.com/topic/284558-error-message-that-i-cannoit-see/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.