0

I have problem with footer in page login and my account not be in bottom

http://www.budoor66.com/login/

also how to make this text in login show just when customer is not be membership

(Access only for members, to view and buy membership package click here)

and disappear when he login

Help me :/

2
  • 2
    Edit your question more clearly for us to understand. When he is logged in, why there would be a login page first? – m4n0 May 14 '15 at 18:09
  • I mean when I logged in, the text still there how to disappear – Budoor May 14 '15 at 19:14
0

I see you are using "Divi" theme and that uses "Layout Builder". You can not insert Php function in the layout builder. However what you can do is install this plugin to execute php within the posts / pages ( it's quite old plugin, try to see if you can find something similar).

https://wordpress.org/plugins/wp-exec-php/

and then put this in your text module

<?php
if ( is_user_logged_in() ) {
    echo 'Welcome, Member!';
} else {
    echo 'Access only for members, to view and buy  membership package click here
';
}
?>

The above code gives you a hint how to go about what you are trying to do.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.