Automatic Login/Logout Links For Wordpress
Here is all about adding login and logout link for wordpress, you can add these link to anywhere in your template like footer, header or sidebar they will work perfect anywhere. This is similar to Meta widget witch is inbuilt in wordpress plugin but in case if you don’t like to add a widget follow the instruction below.
First you have to plan, where you want to add these links
Simply Download the file such as footer.php, header.php or any other where you plan, in this totorial we plan to add these links to header.php so we simply downloaded the header file from our host, here you can use any FTP software or you can use your Wordpress admin end to edit this file.
Just go to WordPress Dashboard » Appearance » Editor
Placing the Code
Here we just have two things
<?php wp_loginout(); ?>
and <?php wp_register(''); ?>
just add the following codes between the codes of your file where you would like to display these links, see the image below.Note : Here we use, FileZilla FTP Solution and Dreamweaver for Editing the PHP file.
You also can style these links with the help of CSS. After adding these links the output will display like this :
If you would like it in Action, please follow the demo link here.
Category: Login Logout Link, Logout Link, Tricks, Wordpress Login
0 comments