012b4fe5 by Jeremy Groot

login page updates

1 parent 1bd26cfd
...@@ -60,12 +60,15 @@ body.login { ...@@ -60,12 +60,15 @@ body.login {
60 } 60 }
61 61
62 #backtoblog:before { 62 #backtoblog:before {
63 content: ''; 63 content: '';
64 font-family: 'FontAwesome'; 64 width: 18px;
65 height: 18px;
66 background-image: url(../images/Icon_Arrow_2_WHITE.svg);
67 background-repeat: no-repeat;
65 font-size: 20px; 68 font-size: 20px;
66 position: absolute; 69 position: absolute;
67 left: 20px; 70 left: 0px;
68 top: -1px; 71 top: 4px;
69 } 72 }
70 73
71 @media(max-width:600px) { 74 @media(max-width:600px) {
......
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Generator: Adobe Illustrator 23.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3 <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4 viewBox="0 0 31 27" style="enable-background:new 0 0 31 27;" xml:space="preserve">
5 <style type="text/css">
6 .st0{fill:#FFFFFF;}
7 </style>
8 <g>
9 <g>
10 <line class="st0" x1="31" y1="13.5" x2="2.8" y2="13.5"/>
11 <rect x="2.8" y="11.5" class="st0" width="28.2" height="4"/>
12 </g>
13 <g>
14 <polygon class="st0" points="13.5,0 16.3,2.8 5.7,13.5 16.3,24.1 13.5,27 0,13.5 "/>
15 </g>
16 </g>
17 </svg>
...@@ -15,6 +15,19 @@ use Tz\WordPress\Tools\ShortCodes; ...@@ -15,6 +15,19 @@ use Tz\WordPress\Tools\ShortCodes;
15 15
16 spl_autoload_register(__NAMESPACE__.'\autoloader'); 16 spl_autoload_register(__NAMESPACE__.'\autoloader');
17 17
18 add_action( 'login_headertext', function($title) {
19 return "LOG IN:";
20 } );
21
22 add_filter( 'gettext_with_context', function($translated) {
23 // Use the text string exactly as it is in the translation file
24 if ( $translated == "&larr; Back to %s" ) {
25 $translated = "Back to %s";
26 }
27
28 return $translated;
29 } );
30
18 // Code to prevent PHP from parsing Symlinks 31 // Code to prevent PHP from parsing Symlinks
19 if (defined(__NAMESPACE__.'\DIR')) { 32 if (defined(__NAMESPACE__.'\DIR')) {
20 define(__NAMESPACE__.'\OVERRIDE', 1); 33 define(__NAMESPACE__.'\OVERRIDE', 1);
......