astoller Posted December 5, 2013 Share Posted December 5, 2013 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 More sharing options...
Ch0cu3r Posted December 5, 2013 Share Posted December 5, 2013 The code you posted is fine. The issue might a few lines before 491 Link to comment https://forums.phpfreaks.com/topic/284558-error-message-that-i-cannoit-see/#findComment-1461386 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.