<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Tag: jquery</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Thu, 23 May 2013 14:04:06 +0000</pubDate>

<item>
<title>helgatheviking on "Replace Jquery on wp_enqueue_script"</title>
<link>http://themeshaper.com/forums/topic/replace-jquery-on-wp_enqueue_script#post-26687</link>
<pubDate>Fri, 27 Apr 2012 20:25:34 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26687@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;yes and you should add that to the proper hook&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function kia_change_jquery(){
wp_deregister_script(&#38;#39;jquery&#38;#39;);
wp_register_script( &#38;#39;jquery&#38;#39;, &#38;#39;https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js&#38;#39;, &#38;#39;1.7.2&#38;#39;);
}
add_action(&#38;#39;wp_enqueue_scripts&#38;#39;,&#38;#39;kia_change_jquery&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>SpacemanSpiff on "Replace Jquery on wp_enqueue_script"</title>
<link>http://themeshaper.com/forums/topic/replace-jquery-on-wp_enqueue_script#post-26686</link>
<pubDate>Fri, 27 Apr 2012 19:44:52 +0000</pubDate>
<dc:creator>SpacemanSpiff</dc:creator>
<guid isPermaLink="false">26686@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I found the solution, this replaces the default jquery with the jquery hosted on google API.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;wp_deregister_script(&#38;#39;jquery&#38;#39;);
wp_register_script( &#38;#39;jquery&#38;#39;, &#38;#39;https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js&#38;#39;, &#38;#39;1.7.2&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>helgatheviking on "Replace Jquery on wp_enqueue_script"</title>
<link>http://themeshaper.com/forums/topic/replace-jquery-on-wp_enqueue_script#post-26394</link>
<pubDate>Tue, 17 Apr 2012 21:58:55 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26394@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;this is not a thematic question, but why not upgrade wordpress to 3.3?  that uses jquery 1.7ish i think.  if not look in the codex for how to deregister a script.
&#60;/p&#62;</description>
</item>
<item>
<title>SpacemanSpiff on "Replace Jquery on wp_enqueue_script"</title>
<link>http://themeshaper.com/forums/topic/replace-jquery-on-wp_enqueue_script#post-26393</link>
<pubDate>Tue, 17 Apr 2012 21:34:43 +0000</pubDate>
<dc:creator>SpacemanSpiff</dc:creator>
<guid isPermaLink="false">26393@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I notice that the wp_enqueue_script('jquery') on function.php is loading the version 1.4.4. This is because i'm using WP 3.1.4 due to the php version on my server.&#60;br /&#62;
Is there a way to replace the old version of jquery with a newer one?
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "How can one implement a jquery slider without a plugin"</title>
<link>http://themeshaper.com/forums/topic/how-can-one-implement-a-jquery-slider-without-a-plugin#post-26222</link>
<pubDate>Mon, 09 Apr 2012 13:55:53 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26222@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;oh... i don't know... you could try reading the forum?  seriously, it was the FIRST thread.  &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://themeshaper.com/forums/topic/slider-images-in-the-header&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/slider-images-in-the-header&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;please try to put a little more effort in to your questions and your research.  if you want someone to do it for you, then hire someone.  this is a forum to help people learn thematic.  &#60;/p&#62;
&#60;p&#62;btw- there isn't anything wrong with a plugin when a plugin will do.
&#60;/p&#62;</description>
</item>
<item>
<title>Tonie m on "How can one implement a jquery slider without a plugin"</title>
<link>http://themeshaper.com/forums/topic/how-can-one-implement-a-jquery-slider-without-a-plugin#post-26221</link>
<pubDate>Mon, 09 Apr 2012 13:24:33 +0000</pubDate>
<dc:creator>Tonie m</dc:creator>
<guid isPermaLink="false">26221@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;How can one implement a javascript image slider without using a plugin in Thematic?
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "wp_enqueue_script/JS/function"</title>
<link>http://themeshaper.com/forums/topic/wp_enqueue_scriptjsfunction#post-26034</link>
<pubDate>Tue, 20 Mar 2012 20:48:55 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26034@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;it actually is there now.... months later yes.  only ever had 1 image before so there was no rotation.
&#60;/p&#62;</description>
</item>
<item>
<title>middlesister on "Possible mods to Thematic"</title>
<link>http://themeshaper.com/forums/topic/possible-mods-to-thematic#post-25956</link>
<pubDate>Fri, 16 Mar 2012 20:09:58 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">25956@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;+1 for filterable div's. Apart from CSS frameworks (like using conditionals to get tailored grid column css classes) it would also make it possible to switch to html5 &#38;lt;header&#38;gt; and &#38;lt;footer&#38;gt; elements.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Possible mods to Thematic"</title>
<link>http://themeshaper.com/forums/topic/possible-mods-to-thematic#post-25955</link>
<pubDate>Fri, 16 Mar 2012 17:18:15 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">25955@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i'd love to see the classes on a lot of items be filterable.  lots of layout possibilities would open up.. you could pretty much switch to any CSS layout framework imaginable&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div id=&#38;quot;header&#38;quot; class=&#38;quot;&#38;lt;?php echo apply_filters(&#38;#39;thematic_header_class&#38;#39;,&#38;#39;full-width&#38;#39;);?&#38;gt;&#38;quot;&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>ScottNix on "Possible mods to Thematic"</title>
<link>http://themeshaper.com/forums/topic/possible-mods-to-thematic#post-25954</link>
<pubDate>Fri, 16 Mar 2012 17:09:33 +0000</pubDate>
<dc:creator>ScottNix</dc:creator>
<guid isPermaLink="false">25954@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Maybe it is just me, but there are things I end up doing on every single Thematic install.&#60;/p&#62;
&#60;p&#62;What would be a negative to adding a clearfix code/class to Thematic instead of using the overflow trick for float collapse?&#60;/p&#62;
&#60;p&#62;I end up always applying a &#60;a href=&#34;http://nicolasgallagher.com/micro-clearfix-hack/&#34;&#62;clearfix&#60;/a&#62; to at least the main div (usually because repeating background). This is most easily done by adding a class with jQuery.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// add micro clearfix classes
jQuery(&#38;quot;#subsidiary, #main&#38;quot;).addClass(&#38;#39;cf&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;pre&#62;&#60;code&#62;/* For modern browsers */
.cf:before, .cf:after { content:&#38;quot;&#38;quot;; display:table; }
.cf:after { clear:both; }
/* For IE 6/7 (trigger hasLayout) */
.cf { zoom:1; }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;So the jQuery solution works fine... Although, why can you modify the #wrapper, but not the #header or #main. &#60;/p&#62;
&#60;p&#62;The wrapper is coded&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if (apply_filters(&#38;#39;thematic_open_wrapper&#38;#39;, true)) {
echo (&#38;#39;&#38;lt;div id=&#38;quot;wrapper&#38;quot; class=&#38;quot;hfeed&#38;quot;&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot;);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And is modifiable like so.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_open_wrapper() {
	echo &#38;#39;&#38;lt;div class=&#38;quot;wrap shit&#38;quot;&#38;gt;&#38;#39;;
}
add_filter (&#38;#39;thematic_open_wrapper&#38;#39;, &#38;#39;childtheme_open_wrapper&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Why can't #header/#main and some of the other hard coded divs be the same as the wrapper? I ask because it might be possible that someone might not want or care about divs clearning floats, I can't really think of a reason...
&#60;/p&#62;</description>
</item>
<item>
<title>El_matador on "Add Slider only to blogs front page."</title>
<link>http://themeshaper.com/forums/topic/add-slider-only-to-blogs-front-page#post-24996</link>
<pubDate>Fri, 20 Jan 2012 19:29:07 +0000</pubDate>
<dc:creator>El_matador</dc:creator>
<guid isPermaLink="false">24996@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;oatmeal, I'm new to wordpress and the hole thamtic which I think is awesome. I also wanted to add a slider to a page that I'm doing for Sangamon County Bar Association under angelmedina.co  first before I move live. I embedded your code to my functions and it looks great but ...... what's next?  how/where do I add the div and CSS to my slider?
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Jquery in Thematic Demystified"</title>
<link>http://themeshaper.com/forums/topic/jquery-in-thematic-demystified#post-24972</link>
<pubDate>Wed, 18 Jan 2012 18:59:38 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">24972@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;welcome james.  and to follow up w/ oakview's post:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wp.tutsplus.com/tutorials/load-jquery-from-google-cdn-with-local-fallback-for-wordpress/&#34; rel=&#34;nofollow&#34;&#62;http://wp.tutsplus.com/tutorials/load-jquery-from-google-cdn-with-local-fallback-for-wordpress/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;there is quite a bit of good discussion in the comments too, which suggest that might not be a good solution after all.  &#60;/p&#62;
&#60;p&#62;i think that html5 boilerplate is doing it with a client-side test, which is probably the best... but you have to hard-code the jquery into the header.
&#60;/p&#62;</description>
</item>
<item>
<title>sixfootjames on "Jquery in Thematic Demystified"</title>
<link>http://themeshaper.com/forums/topic/jquery-in-thematic-demystified#post-24969</link>
<pubDate>Wed, 18 Jan 2012 18:45:12 +0000</pubDate>
<dc:creator>sixfootjames</dc:creator>
<guid isPermaLink="false">24969@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Awesome, thanks Helga!
&#60;/p&#62;</description>
</item>
<item>
<title>FriedrichS. on "jQuery slider above every post-title"</title>
<link>http://themeshaper.com/forums/topic/jquery-slider-above-every-post-title#post-24232</link>
<pubDate>Sun, 11 Dec 2011 21:33:32 +0000</pubDate>
<dc:creator>FriedrichS.</dc:creator>
<guid isPermaLink="false">24232@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi, thanks for your help.  &#60;/p&#62;
&#60;p&#62;I tried to change this&#60;/p&#62;
&#60;p&#62;&#60;code&#62;add_action(&#38;#39;thematic_content&#38;#39; , &#38;#39;get_the_content_for_the_frikn_slider&#38;#39;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;to this&#60;/p&#62;
&#60;p&#62;&#60;code&#62;add_action(&#38;#39;thematic_abovepost&#38;#39; , &#38;#39;get_the_content_for_the_frikn_slider&#38;#39;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;and this&#60;/p&#62;
&#60;p&#62;&#60;code&#62;add_action(&#38;#39;thematic_singlepost&#38;#39; , &#38;#39;get_the_content_for_the_frikn_slider&#38;#39;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;in all three cases the result is the same. the HTML output looks like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div id=&#38;quot;container&#38;quot;&#38;gt;
  &#38;lt;div id=&#38;quot;content&#38;quot;&#38;gt;
    &#38;lt;div id=&#38;quot;nav-above&#38;quot; class=&#38;quot;navigation&#38;quot;&#38;gt;
      &#38;lt;div id=&#38;quot;slides&#38;quot;&#38;gt;
        &#38;lt;div id=&#38;quot;post-6&#38;quot; class=&#38;quot;post-6 post type-post status-publish format-standard hentry category-allgemein&#38;quot;&#38;gt;
          &#38;lt;div class=&#38;quot;slides_container&#38;quot; style=&#38;quot;overflow: hidden; position: relative; display: block;&#38;quot;&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;but the position of the slider is not that important right now. the slilder will not slide. i see the pagination of the slider and the next / prev links - so i guess the jQery-script it doing something but not the desired slidin'.
&#60;/p&#62;</description>
</item>
<item>
<title>sowingseeds on "jQuery slider above every post-title"</title>
<link>http://themeshaper.com/forums/topic/jquery-slider-above-every-post-title#post-24229</link>
<pubDate>Sun, 11 Dec 2011 19:21:15 +0000</pubDate>
<dc:creator>sowingseeds</dc:creator>
<guid isPermaLink="false">24229@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Looks as if you have the wrong hook - try 'thematic_abovepost', 'thematic_content' is not a hook.
&#60;/p&#62;</description>
</item>
<item>
<title>FriedrichS. on "jQuery slider above every post-title"</title>
<link>http://themeshaper.com/forums/topic/jquery-slider-above-every-post-title#post-24228</link>
<pubDate>Sun, 11 Dec 2011 18:08:59 +0000</pubDate>
<dc:creator>FriedrichS.</dc:creator>
<guid isPermaLink="false">24228@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hello friends, &#60;/p&#62;
&#60;p&#62;i am trying to put a jQuery slider (http://slidesjs.com/examples/simple/) just above every post-title i have on any kind of page. &#60;/p&#62;
&#60;p&#62;It is a very simple slider. I like it, because of my lack of skill and this one is very easy to understand. &#60;/p&#62;
&#60;p&#62;this is what logic tells me to do: &#60;/p&#62;
&#60;p&#62;this is what i added to my &#60;code&#62;functions.php&#60;/code&#62; in my thematic-child-theme directory:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function get_the_content_for_the_frikn_slider(){
	get_template_part(&#38;#39;post&#38;#39;,&#38;#39;slides&#38;#39;);
}
add_action(&#38;#39;thematic_content&#38;#39; , &#38;#39;get_the_content_for_the_frikn_slider&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with this function i get myself the html-markup to be altered by the slider script. it looks like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div id=&#38;quot;slides&#38;quot;&#38;gt;
	&#38;lt;div class=&#38;quot;slides_container&#38;quot;&#38;gt;
		[div containing a title and a paragraf]
		[div containing a title and a paragraf]
		[div containing a title and a paragraf]
	&#38;lt;/div&#38;gt;
&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;next: enqueue all the scripts&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function get_the_frikn_slider() {
	if (!is_admin()) {
		wp_enqueue_style(&#38;#39;slider-style&#38;#39;, get_bloginfo(&#38;#39;stylesheet_directory&#38;#39;) . &#38;#39;/js/the_frikn_slider/slidescss.css&#38;#39;, false, &#38;#39;1.3.1&#38;#39;);

		wp_deregister_script(&#38;#39;jquery&#38;#39;);
		wp_register_script(&#38;#39;jquery&#38;#39;, &#38;#39;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&#38;#39;, false, &#38;#39;1.3.2&#38;#39;, true);
		wp_enqueue_script(&#38;#39;jquery&#38;#39;);

		wp_enqueue_script(&#38;#39;my_script&#38;#39;, get_bloginfo(&#38;#39;stylesheet_directory&#38;#39;) . &#38;#39;/js/the_frikn_slider/slides.jquery.js&#38;#39;, array(&#38;#39;jquery&#38;#39;), &#38;#39;1.0&#38;#39;, true);
		wp_enqueue_script(&#38;#39;my_other_script&#38;#39;, get_bloginfo(&#38;#39;stylesheet_directory&#38;#39;) . &#38;#39;/js/the_frikn_slider/slides.setup.js&#38;#39;, array(&#38;#39;jquery&#38;#39;), &#38;#39;1.0&#38;#39;, true);

	}
}
add_action(&#38;#39;init&#38;#39;, &#38;#39;get_the_frikn_slider&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;slides.jquery.js: contains the jQuery plugin i mentioned at the beginning.&#60;br /&#62;
slides.setup.js: contains the following code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;jQuery(function(){
	jQuery(&#38;#39;#slides&#38;#39;).slides({
		preload: true,
		generateNextPrev: false
	});
});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;slidescss.css: the slider-style&#60;/p&#62;
&#60;p&#62;The Result is kind of strange: first: The slider will only show above the first post title. Before the second post i see just the contents of &#60;code&#62;post-slides.php&#60;/code&#62; (which i got with &#60;code&#62;get_template_part(&#38;#39;post&#38;#39;,&#38;#39;slides&#38;#39;);&#60;/code&#62; at the beginning and (more unsettling) second: it does not slide. I see the pagination and the Prev/Next (which are styled correctly by &#60;code&#62;slidescss.css&#60;/code&#62;) link but no slidn'.&#60;br /&#62;
Ultimately i am trying to use this slider inside of all the post loops (or just the one in single.php for starters) so that things like shot codes an custom field will be available in &#60;code&#62;&#38;lt;div id=&#38;quot;slides&#38;quot;&#38;gt;&#38;lt;div class=&#38;quot;slides_container&#38;quot;&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;&#60;/code&#62;.&#60;br /&#62;
I guess i am making some kind of embarrassing and obvious mistake. A push in the right direction would be very much appreciated.
&#60;/p&#62;</description>
</item>
<item>
<title>middlesister on "wp_enqueue_script called incorrectly (Wordpress 3.3 Beta)"</title>
<link>http://themeshaper.com/forums/topic/wp_enqueue_script-called-incorrectly-wordpress-33-beta#post-23700</link>
<pubDate>Fri, 04 Nov 2011 12:11:56 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">23700@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I just realized the OP was using the code in thematic's functions.php and not in a child theme. &#60;/p&#62;
&#60;p&#62;@caysays: To remove the notice, simply replace &#60;code&#62;wp_enqueue_script(&#38;#39;jquery&#38;#39;);&#60;/code&#62; with &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function thematic_enqueue_scripts() {
    wp_enqueue_script(&#38;#39;jquery&#38;#39;);
}
add_action(&#38;#39;wp_enqueue_scripts&#38;#39;, &#38;#39;thematic_enqueue_scripts&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>middlesister on "wp_enqueue_script called incorrectly (Wordpress 3.3 Beta)"</title>
<link>http://themeshaper.com/forums/topic/wp_enqueue_script-called-incorrectly-wordpress-33-beta#post-23687</link>
<pubDate>Thu, 03 Nov 2011 21:48:39 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">23687@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Actually, there is no need to enqueue jquery separately. Declaring it as a dependency will make wordpress include it, that is what the parameter is for. If I understand correctly, you could even declare a dependency like &#60;code&#62;array( &#38;#39;jquery&#38;#39;, &#38;#39;jquery-ui-draggable&#38;#39;, &#38;#39;jquery-ui-sortable&#38;#39; )&#60;/code&#62; and wordpress will include them before your script. caseysays code looks like it is taken straight from the codex, so it should work without problems.&#60;/p&#62;
&#60;p&#62;Regarding calling wp_enqueue_script() directly, well you can but it is not recommended. I think they just added the notice in the latest wordpress version to notify theme authors about that. In general, it is a good idea to have &#60;em&#62;all&#60;/em&#62; code added to some kind of hook and not run in the main body of the file. This gives you more control over when things are run and in which order, and will avoid conflicts and errors in other cases (such as trying to call custom taxonomies or use conditionals before they are set up).&#60;/p&#62;
&#60;p&#62;Maybe a bug should be filed for this.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "wp_enqueue_script called incorrectly (Wordpress 3.3 Beta)"</title>
<link>http://themeshaper.com/forums/topic/wp_enqueue_script-called-incorrectly-wordpress-33-beta#post-23682</link>
<pubDate>Thu, 03 Nov 2011 16:48:26 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">23682@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;maybe you can't call wp_enqueue_scripts() directly any more&#60;/p&#62;
&#60;p&#62;i'm surprised that this works b/c your custom-script won't even load w/o jquery (since the array('jquery') means that jquery is a dependency)..&#60;/p&#62;
&#60;p&#62;btw- you don't need to register and then enqueue.... enqueue will auto-register something that isn't already registered&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function my_scripts_method() {

//enqueue jquery
wp_enqueue_script(&#38;#39;jquery&#38;#39;);

// enqueue the script
wp_enqueue_script(&#38;#39;custom_script&#38;#39;,
get_template_directory_uri() . &#38;#39;/js/custom_script.js&#38;#39;,
array(&#38;#39;jquery&#38;#39;),
&#38;#39;1.0&#38;#39; );
}
add_action(&#38;#39;wp_enqueue_scripts&#38;#39;, &#38;#39;my_scripts_method&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>sergiovieira on "wp_enqueue_script called incorrectly (Wordpress 3.3 Beta)"</title>
<link>http://themeshaper.com/forums/topic/wp_enqueue_script-called-incorrectly-wordpress-33-beta#post-23681</link>
<pubDate>Thu, 03 Nov 2011 10:14:10 +0000</pubDate>
<dc:creator>sergiovieira</dc:creator>
<guid isPermaLink="false">23681@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;This fixed it for me, thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "wp_enqueue_script called incorrectly (Wordpress 3.3 Beta)"</title>
<link>http://themeshaper.com/forums/topic/wp_enqueue_script-called-incorrectly-wordpress-33-beta#post-23672</link>
<pubDate>Wed, 02 Nov 2011 05:33:51 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">23672@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;you removed the script that enqueues jquery?
&#60;/p&#62;</description>
</item>
<item>
<title>caseysays on "wp_enqueue_script called incorrectly (Wordpress 3.3 Beta)"</title>
<link>http://themeshaper.com/forums/topic/wp_enqueue_script-called-incorrectly-wordpress-33-beta#post-23670</link>
<pubDate>Wed, 02 Nov 2011 04:51:27 +0000</pubDate>
<dc:creator>caseysays</dc:creator>
<guid isPermaLink="false">23670@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Unfamiliar with bbPress forums so forgive me if this has been answered elsewhere; I couldn't find an answer.&#60;/p&#62;
&#60;p&#62;Fresh install of Thematic on Wordpress 3.3Beta2 gave the following error:&#60;/p&#62;
&#60;p&#62;&#34;Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks.&#34;&#60;/p&#62;
&#60;p&#62;Following the instructions at &#60;a href=&#34;http://codex.wordpress.org/Function_Reference/wp_enqueue_script&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/wp_enqueue_script&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I replaced &#34;wp_enqueue_script('jquery');&#34; on line 80 of the functions.php with the following:&#60;/p&#62;
&#60;p&#62;function my_scripts_method() {&#60;br /&#62;
   // register your script location, dependencies and version&#60;br /&#62;
   wp_register_script('custom_script',&#60;br /&#62;
       get_template_directory_uri() . '/js/custom_script.js',&#60;br /&#62;
       array('jquery'),&#60;br /&#62;
       '1.0' );&#60;br /&#62;
   // enqueue the script&#60;br /&#62;
   wp_enqueue_script('custom_script');&#60;br /&#62;
}&#60;br /&#62;
add_action('wp_enqueue_scripts', 'my_scripts_method');&#60;/p&#62;
&#60;p&#62;I'm new to Thematic and I just wanted to confirm with someone that this will work without messing anything up down the road.
&#60;/p&#62;</description>
</item>
<item>
<title>Johnetta on "using CSS Mac Dock Menu on Thematic"</title>
<link>http://themeshaper.com/forums/topic/using-css-mac-dock-menu-on-thematic#post-22882</link>
<pubDate>Mon, 29 Aug 2011 05:50:57 +0000</pubDate>
<dc:creator>Johnetta</dc:creator>
<guid isPermaLink="false">22882@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Jquery javascript is the best. Took my dull marketing, design site and it now looks like the mac OSX operating system. Super flexible.&#60;/p&#62;
&#60;p&#62;--------------------		&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.708buy.com/deal/ipad-2-leather-cases&#34;&#62;leather ipad 2 case&#60;/a&#62;  &#60;a href=&#34;http://www.708buy.com/deal/ipad-2-case&#34;&#62;ipad 2 case&#60;/a&#62;  &#60;a href=&#34;http://www.708buy.com/deal/ipad-2-accessories&#34;&#62;ipad 2 accessories&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>oatmeal on "Add Slider only to blogs front page."</title>
<link>http://themeshaper.com/forums/topic/add-slider-only-to-blogs-front-page#post-22702</link>
<pubDate>Mon, 15 Aug 2011 18:11:29 +0000</pubDate>
<dc:creator>oatmeal</dc:creator>
<guid isPermaLink="false">22702@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;This worked for me at ilovelocalhfx.com/v1:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
function show_slider() {&#60;br /&#62;
	if (is_front_page()) {&#60;br /&#62;
		echo &#34;&#38;lt;div id=\&#34;slider\&#34;&#38;gt;&#34;;&#60;br /&#62;
		echo do_shortcode('[smoothslider id=1]');&#60;br /&#62;
		echo &#34;&#38;lt;/div&#38;gt;&#34;;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;br /&#62;
add_action('thematic_header','show_slider',10);&#60;br /&#62;
&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>toddskinner on "using CSS Mac Dock Menu on Thematic"</title>
<link>http://themeshaper.com/forums/topic/using-css-mac-dock-menu-on-thematic#post-22548</link>
<pubDate>Fri, 05 Aug 2011 20:43:49 +0000</pubDate>
<dc:creator>toddskinner</dc:creator>
<guid isPermaLink="false">22548@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Just used this code on my site, works great. Jquery javascript is the best. Took my dull marketing, design site and it now looks like the mac OSX operating system. Super flexible.&#60;/p&#62;
&#60;p&#62;Here is an example of my site using the code.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.visizzle.com&#34;&#62;Visizzle - Branding - Marketing&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>seanhawkridge on "Superfish menu and JQuery slider problem"</title>
<link>http://themeshaper.com/forums/topic/superfish-menu-and-jquery-slider-problem#post-22324</link>
<pubDate>Thu, 14 Jul 2011 12:55:43 +0000</pubDate>
<dc:creator>seanhawkridge</dc:creator>
<guid isPermaLink="false">22324@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hooray - fixed. It was just a CSS issue - gave #main a lower z-index value and it's working fine.
&#60;/p&#62;</description>
</item>
<item>
<title>seanhawkridge on "Superfish menu and JQuery slider problem"</title>
<link>http://themeshaper.com/forums/topic/superfish-menu-and-jquery-slider-problem#post-22318</link>
<pubDate>Thu, 14 Jul 2011 08:49:28 +0000</pubDate>
<dc:creator>seanhawkridge</dc:creator>
<guid isPermaLink="false">22318@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I'm building a site which uses a Nivo Slider on the homepage. Somehow the fade function on the slider and the fade function on the Superfish menu are clashing, so the drop downs work in time with the slider... which looks a little odd.&#60;/p&#62;
&#60;p&#62;The test site is here: &#60;code&#62;&#60;a href=&#34;www.mighty-oak-creative.com/epic&#34;&#62;www.mighty-oak-creative.com/epic&#60;/a&#62;&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>maren.m on "another Q about adding custom scripts"</title>
<link>http://themeshaper.com/forums/topic/another-q-about-adding-custom-scripts#post-21998</link>
<pubDate>Wed, 22 Jun 2011 22:14:50 +0000</pubDate>
<dc:creator>maren.m</dc:creator>
<guid isPermaLink="false">21998@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;sorry...just found the &#34;jquery in thematic demystified&#34; post...
&#60;/p&#62;</description>
</item>
<item>
<title>maren.m on "another Q about adding custom scripts"</title>
<link>http://themeshaper.com/forums/topic/another-q-about-adding-custom-scripts#post-21996</link>
<pubDate>Wed, 22 Jun 2011 22:12:30 +0000</pubDate>
<dc:creator>maren.m</dc:creator>
<guid isPermaLink="false">21996@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi!&#60;/p&#62;
&#60;p&#62;So I'm in the process of trying to add the exciting new lettering.js jquery plugin to WordPress, but I'm having trouble reconciling how the Codex tells me to insert the script with how people seem to be doing it on this forum. This may be because the most recent post is from 2009...&#60;/p&#62;
&#60;p&#62;Does thematic still not use wp_enque?&#60;/p&#62;
&#60;p&#62;Here is the &#34;highly recommended&#34; article from the codex I've been looking at:&#60;br /&#62;
&#60;a href=&#34;http://scribu.net/wordpress/optimal-script-loading.html&#34; rel=&#34;nofollow&#34;&#62;http://scribu.net/wordpress/optimal-script-loading.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Most of it is over my head, but maybe someone can point me in the right direction?
&#60;/p&#62;</description>
</item>
<item>
<title>amzero427 on "JQuery Masonry basics"</title>
<link>http://themeshaper.com/forums/topic/jquery-masonry-basics#post-21413</link>
<pubDate>Sat, 21 May 2011 19:04:34 +0000</pubDate>
<dc:creator>amzero427</dc:creator>
<guid isPermaLink="false">21413@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Oh cool!  I'll have to play around with Isotope.  And thanks for the layouts!  I actually did manage to get 1140 working, I don't need any asides yet, so it was pretty easy. But I'll definitely check out the layouts when I have more time...&#60;/p&#62;
&#60;p&#62;As for masonry, as long as the div container the content is in is fluid, could you set &#34;columnWidth;&#34; in the masonry function to a percentage value? And then 1140 would resize it? I'm only talking images and just guessing, I literally JUST got it all working and I'm a total noob :)
&#60;/p&#62;</description>
</item>

</channel>
</rss>
