BuddyDev

Search

Inline Login form with wordpress

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #9382

    Hi Brat,
    Welcome to BuddyDev.

    At the moment, the html generated by the login widget is not worth doing it. I will rather suggest writing your own form.

  • Participant
    Level: Initiated
    Posts: 1
    Brat on #9403

    Hi,

    Thanks for the reply.
    I will try for it.

    Also I want to show login form in selected pages, so can I try the below conditions:

    <?php if ( !is_user_logged_in() && is_front_page() && is_page( ‘2’ ) ) : ?>

    //Code here……
    <?php endif; ?>

    I just tried these with another form to make sure that these conditions are working. In these only condition “is_page( ‘2’ )” is not working. Is it right to show on page Id with 2? And also what is difference between is_front_page() & is_home()?

You must be logged in to reply to this topic.

This topic is: not resolved