/ Published in: PHP
Insert admin menu in wordpress widget when you are logged
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php edit_post_link('Modifica questa pagina'); ?> <?php wp_register(); ?> <?php if (is_user_logged_in()) : ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Logout">Logout</a> <?php endif; ?>