WordPress.org

Ready to get started?Download WordPress

Forums

Magazine Basic
Log in - Log out links (1 post)

  1. Knut Sparhell
    Member
    Posted 1 year ago #

    When the User Login section is enabled for the header the user who logs in or out is redirected to some random post.

    wp_logout_url( get_permalink() ) and wp_login_url( get_permalink() ) that is used in header.php does not work properly. From codex on get_permalink()

    Note that when used outside The Loop on a posts page (index, archive, etc.) without the ID parameter, it will return the URL of the last post in The Loop, not the permalink for the current page.

    http://wordpress.org/extend/themes/magazine-basic/

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic