• Hi.

    I’ve installed the Arjuna theme, and would like to add a “log in” and “site admin” link to the page. A natural placement would be at the bottom or at the top, but as far as I can see there are noe build in support in the theme to implement this. I could add the “meta” widget (which contain these links) to the sidebar, but don’t want to do this. How have others solved this?

    Best regards,
    kenneho

Viewing 3 replies - 1 through 3 (of 3 total)
  • find the appropriate place in header.php or footer.php (depending on where you want the links

    add this:

    <div class="admin">
    <?php wp_loginout(); ?> &middot; <?php wp_register('', ''); ?>
    </div>

    the div class and /div arent necessary, they just give you the option to style the links in your css using .admin

    the &middot; also isn’t necessary, just inserts a dot between the 2 links

    Thread Starter kenneho

    (@kenneho)

    Thanks, this worked out perfectly!

    – kenneho

    Any idea how to add that snippet/link to the login/logout link in a widget? I tried placing it in there, but it didn’t like the php.

    Thanks!
    Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Arjuna theme: How to add login and site admin link’ is closed to new replies.