Styling Logout Confirmation Screen
-
When using a simple wp-login?action=logout link instead of wp_logout_url() you are prompted with a confirmation screen because of the missing nonce token. For my site I want logout confirmation so this is exactly what I need.
However, as far as can tell this particular page does not allow for custom styling and requires modification of the core functions.php file. On line 2471 I have added
<link href="<?php echo get_template_directory_uri() . '/css/login.css'; ?>" type="text/css" rel="stylesheet">
This allows me to style the page but this will be overwritten with future updates. If I’m overlooking a way to add a function to my theme to accomplish this please let me know. Otherwise my suggestion for a new feature is to add code to the core functions.php that will allow theme developers to include styling for this page.
- The topic ‘Styling Logout Confirmation Screen’ is closed to new replies.