• This code used to work so I assume there’s an issue with a recent update to the plugin preventing the ajax spinner from using my custom image. Any ideas?

    function brads_wpcf7_ajax_loader() {
    	return  get_bloginfo('template_directory') . '/images/spinner.gif';
    }
    add_filter('wpcf7_ajax_loader', 'brads_wpcf7_ajax_loader');
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Yes, the markup for the Ajax loader has been changed, so ‘wpcf7_ajax_loader’ filter for the image URL is no longer needed. You can customize it in your CSS stylesheet.

    Unfortunately, this change has broken the custom spinner in all the previous sites I have built for clients. Would it be possible to reinstate the ability to change the spinner via the filter in functions.php, and just add the css customisation as an additional method, instead of replacing it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Ajax spinner no longer working’ is closed to new replies.