Error Entering Code
-
Hi,
When I try to add this code:
// Custom Login Branding // Adding the function to the login page add_action('login_head', 'custom_login'); // Our custom function that includes the custom stylesheet function custom_login() { echo '<link rel="stylesheet" type="text/css" href="' . get_bloginfo( 'stylesheet_directory' ) . '/login.css" />'; } function my_login_logo_url() { return get_bloginfo( 'url' ); } add_filter( 'login_headerurl', 'my_login_logo_url' ); function my_login_logo_url_title() { return get_bloginfo( 'title' ); } add_filter( 'login_headertitle', 'my_login_logo_url_title' );I get a 403 error. In particular if I leave out this line:
echo '<link rel="stylesheet" type="text/css" href="' . get_bloginfo( 'stylesheet_directory' ) . '/login.css" />';it saves fine but I put that line back in and I get the 403 error code again.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Error Entering Code’ is closed to new replies.