WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Need help for sign in form (1 post)

  1. xinfo
    Member
    Posted 4 years ago #

    HI People

    i am facing problem for sign in form using e-c0mmerce plugin

    even after i login i can see register | sign in option

    any one check what mistake i have done

    Thanks in Advcance

    code below

    <div class="sign">		
    
    <ul>		
    
    <?php if ($user_level > -1) : ?>
    <li><a href="<?php echo get_option('home'); ?>/producs-page/your-account/">Hi, <?php echo (($display_name != '') ? $display_name : $user_login); ?></a></li>
    
    <li><a href="<?php echo get_option('home'); ?>/products-page/transaction-results/">Shopping Cart</a></li>
    <li><a href="<?php echo get_option('home'); ?>/producs-page/checkout/">Checkout</a></li>
    <li class="no"><a class="black" href="<?php echo wp_logout_url(get_permalink()); ?>">Logout</a></li>
    <?php else : ?>
    <li><a href="<?php echo get_option('home'); ?>/wp-login.php?action=register">Register</a></li>
    <li class="no"><a href="<?php echo get_option('home'); ?>/producs-page/your-account/">Sign In</a></li>
    <?php endif; ?>
    </ul></div><!-- sign -->

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags