I have a ajax login widget on a wordpress site thing is only me and the other admin need to see It so I was wondering if there is a way to only serve this widget to my ip address and the other admin
You can do so using .htaccess by allowing only certain IP addresses to access your wp-login.php
<Files wp-login.php> Order Deny,Allow Deny from all Allow from xx.xx.xx.xx </Files>
Update: If you want to control who views the widget, you can use a conditional statement using PHP's $_SERVER['REMOTE_ADDR'] to get the visitors IP address. If it matches some address, then you display the widget.