WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: AJAX Login Widget++] Running without wp_head (3 posts)

  1. newboxters
    Member
    Posted 4 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/

  2. julious
    Member
    Posted 4 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>
  3. newboxters
    Member
    Posted 4 years ago #

    Thanks for the help, but it didn't work...
    somebody else has any suggestions?

Topic Closed

This topic has been closed to new replies.

About this Topic