• Resolved Em

    (@malmomen)


    Hello,

    Is there a way to add the code below to the user’s profile when only in edit-mode? (Meaning, the code below will not show on the profile in view mode)

    <?php echo “Welcome to edit-mode” ?>

Viewing 1 replies (of 1 total)
  • Thread Starter Em

    (@malmomen)

    For anyone curious – this worked for me:

    <?php 
    if (um_is_on_edit_profile()) {
        ?>
    <p>
    	hello
    		</p><?php 
    }
    ?>
Viewing 1 replies (of 1 total)
  • The topic ‘How to add code/content to profile edit mode only?’ is closed to new replies.