Commit 246928a Zakk Fleischmann
committed
1 parent 6eb2ad3 commit 246928a Copy full SHA for 246928a
File tree 2 files changed +18
-20
lines changed
2 files changed +18
-20
lines changed Original file line number Diff line number Diff line change 9
9
</head>
10
10
<body>
11
11
<div id="page">
12
- <?php if ( wp_get_current_user ()): ? >
13
- <div class="container" >
14
- <h1> < ?php bloginfo ( ' name ' ); ?> </h1 >
15
- <ul class="menu">
16
- <li>
17
- <a href="<?php echo admin_url (); ?> ">Dashboard</a>
18
- </li>
19
- <li>
20
- <a href="<?php echo admin_url ('edit.php ' ); ?> ">Posts</a>
21
- </li>
22
- <li>
23
- <a href="<?php echo admin_url ('edit.php?post_type=page ' ); ?> ">Pages</a>
24
- </li>
25
- </ul>
26
- </div >
27
- <?php else : ?>
28
- <?php wp_login_form (); ?>
29
- <?php endif ; ? >
12
+ <div class="container" >
13
+ <h1> <?php bloginfo ( ' name ' ); ?> </h1 >
14
+ < ?php if ( is_user_logged_in ()): ? >
15
+ <ul class="menu">
16
+ <li>
17
+ <a href="<?php echo admin_url (); ?> ">Dashboard</a>
18
+ </li>
19
+ <li>
20
+ <a href="<?php echo admin_url ('edit.php ' ); ?> ">Posts</a>
21
+ </li>
22
+ <li>
23
+ <a href="<?php echo admin_url ('edit.php?post_type=page ' ); ?> ">Pages</a>
24
+ </li>
25
+ </ul>
26
+ <?php else : ? >
27
+ <?php wp_login_form (); ?>
28
+ <?php endif ; ?>
29
+ </div >
30
30
</div>
31
31
</body>
32
32
</html>
Original file line number Diff line number Diff line change 34
34
* Login Form styles
35
35
*/
36
36
# loginform {
37
- margin : auto;
38
- width : 80% ;
39
37
max-width : 250px ;
40
38
}
41
39
You can’t perform that action at this time.
0 commit comments