insert php visual composer integration?
-
i am trying to implement a simple user session trick with insert php but it doesn’t seem to output html code
tried this in a wp text block element
[insert_php] if ( is_user_logged_in() ) { echo 'Welcome, registered user!'; } else { echo 'Welcome, visitor!'; } [/insert_php]
the above code works well
but whenever i try to do something like this
[insert_php] if ( is_user_logged_in() ) { echo '<h4> welcome</h4>'; } else { echo '<a href=""> login </a>'; } [/insert_php]
please kindly review the code and please tell me if i miss something, it’s actually my first time with wordpress and plugins generally
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘insert php visual composer integration?’ is closed to new replies.