How to append the login/logout option in the main menu

Please follow the below method if you like to add Login button in the header main menu ,

Step 1 :

Open the file in this path /wp-content/themes/theme-folder/functions.php using some editor like DreamWeaver and scroll to the end of the file.And add the attached code.

Leave A Comment?

This site uses Akismet to reduce spam. Learn how your comment data is processed.