<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Unable to change ajax spinner url</title>
		<link>https://legacy.forums.gravityhelp.com/topic/unable-to-change-ajax-spinner-url</link>
		<description>Gravity Support Forums Topic: Unable to change ajax spinner url</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 09:41:05 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/unable-to-change-ajax-spinner-url" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Unable to change ajax spinner url"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/unable-to-change-ajax-spinner-url#post-75835</link>
			<pubDate>Mon, 17 Sep 2012 09:08:38 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">75835@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;At least you found out what the problem is.  What does get_bloginfo('template_directory') return?  If you're using a child theme, this function call will return the URL of the parent directory.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bluantinoo on "Unable to change ajax spinner url"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/unable-to-change-ajax-spinner-url#post-75831</link>
			<pubDate>Mon, 17 Sep 2012 08:41:20 +0000</pubDate>
			<dc:creator>bluantinoo</dc:creator>
			<guid isPermaLink="false">75831@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris,&#60;br /&#62;
thanks for reply&#60;/p&#62;
&#60;p&#62;actually hardcoding the URL works... but strange, how &#34;get_bloginfo('template_directory') &#34; could be wrong?&#60;/p&#62;
&#60;p&#62;sorry the site is not already published so I cannot give the url, when I will publish I will surely do it to show my implementation of GF :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Unable to change ajax spinner url"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/unable-to-change-ajax-spinner-url#post-75657</link>
			<pubDate>Sun, 16 Sep 2012 10:00:47 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">75657@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you see the URL which is actually returned for the gif?  Maybe the URL is wrong and returns a 404?  Can you try hard coding the URL to the site, theme, or child theme, and see if the image works at that point?&#60;/p&#62;
&#60;p&#62;I think I would hard code the full URL to the gif (after making sure I could load it in a browser) and see if the function works as expected.  If it does, then go about getting the proper function to return the URL to the theme or child theme.&#60;/p&#62;
&#60;p&#62;Also, if you post a link to your site we can take a look for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bluantinoo on "Unable to change ajax spinner url"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/unable-to-change-ajax-spinner-url#post-75594</link>
			<pubDate>Sat, 15 Sep 2012 18:56:43 +0000</pubDate>
			<dc:creator>bluantinoo</dc:creator>
			<guid isPermaLink="false">75594@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;HI,&#60;br /&#62;
I'm trying to change the default spinner.gif url of ajax paged forms.&#60;br /&#62;
I'm using this few lines at the bottom of my functions.php theme file:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_ajax_spinner_url&#38;quot;, &#38;quot;spinner_url&#38;quot;, 10, 2);
function spinner_url($image_src, $form){
    return  get_bloginfo(&#38;#39;template_directory&#38;#39;) . &#38;#39;/images/loading_bar.gif&#38;#39; ;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;but it does not work.&#60;br /&#62;
any idea?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
