Tagged: Inline login form
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.
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()?
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
This topic is: not resolved