Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support andrewshu

    (@andrewshu)

    Hello @pete1959

    You need to copy the wp-content/plugins/ultimate-member/templates/gdpr-register.php file to wp-content/yourtheme/ultimate-member/templates/ folder. After that you need to find in the file:

    <a href="javascript:void(0);" class="um-toggle-gdpr" data-toggle-state="hidden"
    		   data-toggle-show="<?php echo esc_attr( $toggle_show ); ?>"
    		   data-toggle-hide="<?php echo esc_attr( $toggle_hide ); ?>">
    			<?php echo esc_html( $toggle_title ); ?>
    		</a>

    and change it to this (change “YOUR_LINK” to your link):

    <a href="YOUR_LINK" class="um-toggle-gdpr">
    <?php echo esc_html( $toggle_title ); ?>
    </a>

    Regards.

    Thread Starter pete1959

    (@pete1959)

    Worked great! Also added target=”_blank” so the page would open up in another tab. THANK YOU!

    My modified line:
    <a href=”YOUR_LINK” target=”_blank” class=”um-toggle-gdpr”>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change link and open a new window for Privacy Policy in Register Form’ is closed to new replies.