Notice: WC_Cart::get_cart_url is deprecated since version 2.5! Use wc_get_cart_url instead. in /home/wordpre2/public_html/wp-includes/functions.php on line 3832
Select Page

Hi guys, to day I’m going to talk about a plugin called iRedlof Ajax Login which you can test on this site. If you will install on your site, using the TheStyle theme from elegantthemes you’ll notice that all your post boxes will not slide anymore, and also the hole design of your site is broke down. This is from the plugin iRedlof Ajax Login which conflicts with the theme files. I’ve manage to debug and remove this conflict so if you want to install this plugin on your site just download it from this link. After you have installed it on your site, using a FTP client open iredlof-ajax-login-plugin.php, find and delete this line of code:

  
  wp_enqueue_script('iRedlof-jquery', "/".PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)).'/js/jquery-1.3.2.min.js', array('jquery', 'jquery-form'));

This is the line that will conflict with the scripts.php file and in order to have this both (this plugin and you’re working site) you will have to delete the line above. Also I’ve notice that when a user is logged in and he makes a logout the plugin will not redirect to the home page, instead it redirects to a page of my site.

Before doing any other changes to your plugin files, first make sure the plugin works correctly. If you experience the same behavior as the one above then you should openĀ  update-conten.php and find and replace this line:

  
  
  • – line 43 with this line

      
        
  • then find and replace this line:

      
        
  • – line 134 with

      
        
  • That’s all you have to do in order to have this plugin working with your theStyle theme. If you have any question just leave a comment and I’ll help you to debug this. Happy Blogging.

    About author

    Young and dedicated fellow, which has playing with WordPress for 5 years now, likes everything about web design and web development.

    View all author posts →

    Share This