• i need to remove the “x” button at the top right of the popup.
    i also want to make login compulsory

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter onyekaxt

    (@onyekaxt)

    i want to force login on every page of my site, and once a user logs in / register, it stays that way

    Plugin Author xootix

    (@xootix)

    Add this to your functions.php

    add_action( 'wp_footer', function(){
    	?>
    	<style type="text/css">
    		span.xoo-el-close {
    		    display: none;
    		}
    
    		.xoo-el-modal {
    		    pointer-events: none;
    		}
    
    		.xoo-el-inmodal {
    		    pointer-events: all;
    		}
    	</style>
    	<script type="text/javascript">
    		jQuery(document).ready(function($){
    			$('.xoo-el-login-tgr').trigger('click')
    		})
    	</script>
    	<?php
    } );
    Thread Starter onyekaxt

    (@onyekaxt)

    thanks.
    kindly tell me where exactly functions.php file is, so i won’t make mistakes

    best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘remove popup close button’ is closed to new replies.