newboxters
Member
Posted 2 years ago #
I don't use the tag wp_head the home of my blog, as the only plugin that is loaded in the home is the ajax login widget, so leave the home much lighter and faster.
So, I wanted to know which files .js, .css, .php should I include at the top to let the ajax login working?
Thank you.
http://wordpress.org/extend/plugins/ajax-login-widget/
julious
Member
Posted 2 years ago #
Never tried to run the plugin without the tag wp_head, but from what I saw on my site, this is the js that needs. I don't know if it will work, because sometimes you also need some processing with php in the plugin. So just waiting for the response from the author.
<script type='text/javascript' src='http://domain/wp/wp-includes/js/tw-sack.js?ver=1.6.1'></script>
<script type="text/javascript">
// ajax_login_widget settings
var alw_timeout = 0;
var alw_redirectOnLogin = '';
// constants
var alw_base_uri = 'http://domain/wp';
var alw_success = '1';
var alw_failure = '0';
</script>
<script type="text/javascript" src="http://domain/wp/wp-content/plugins/ajax-login-widget/ajax_login_widget.js"></script>
newboxters
Member
Posted 2 years ago #
Thanks for the help, but it didn't work...
somebody else has any suggestions?