Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Error message that i cannoit see

$
0
0
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');

Viewing all articles
Browse latest Browse all 13200

Trending Articles