<?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 User Favorites: photoman</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Sun, 19 May 2013 12:05:47 +0000</pubDate>

<item>
<title>tarpontech on "Adding slider to child theme, not working."</title>
<link>http://themeshaper.com/forums/topic/adding-slider-to-child-theme-not-working#post-13824</link>
<pubDate>Sun, 11 Jul 2010 01:51:08 +0000</pubDate>
<dc:creator>tarpontech</dc:creator>
<guid isPermaLink="false">13824@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;As an addendum to my first post on this, I've since looked further into my issues with adding jquery to wp_head and determined that the issue was specific to the jquery plugin (coda), that I was trying to implement.  &#60;/p&#62;
&#60;p&#62;Photoman's code is on-the-money for adding jquery to a thematic theme, as he can no doubt attest to.
&#60;/p&#62;</description>
</item>
<item>
<title>sowingseeds on "Adding slider to child theme, not working."</title>
<link>http://themeshaper.com/forums/topic/adding-slider-to-child-theme-not-working#post-13752</link>
<pubDate>Fri, 09 Jul 2010 07:10:21 +0000</pubDate>
<dc:creator>sowingseeds</dc:creator>
<guid isPermaLink="false">13752@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Not sure if this will help but I implemented this (easyslider) in a theme two days ago. See it at &#60;a href=&#34;http://racheloliver.eu/paintings&#34;&#62;&#60;a href=&#34;http://racheloliver.eu/paintings.&#34; rel=&#34;nofollow&#34;&#62;http://racheloliver.eu/paintings.&#60;/a&#62; If this is similar to what you are looking for then: I function in_head_js(){&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
&#38;lt;script type=&#34;text/javascript&#34; src=&#34;&#38;lt;?php echo bloginfo('stylesheet_directory') ?&#38;gt;/js/easySlider1.7.js&#34;&#38;gt;&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;script type=&#34;text/javascript&#34;&#38;gt;&#60;br /&#62;
		jQuery(document).ready(function(){&#60;br /&#62;
			jQuery(&#34;#slider1&#34;).easySlider({&#60;br /&#62;
				numeric:true,&#60;br /&#62;
				numericId: 'controls1'&#60;br /&#62;
			});&#60;br /&#62;
			jQuery(&#34;#slider2&#34;).easySlider({&#60;br /&#62;
				numeric:true,&#60;br /&#62;
				numericId: 'controls2'&#60;br /&#62;
			});&#60;br /&#62;
			jQuery(&#34;#slider3&#34;).easySlider({&#60;br /&#62;
				numeric:true,&#60;br /&#62;
				numericId: 'controls3'&#60;br /&#62;
			});&#60;br /&#62;
			jQuery(&#34;#slider4&#34;).easySlider({&#60;br /&#62;
				numeric:true,&#60;br /&#62;
				numericId: 'controls4'&#60;br /&#62;
			});&#60;br /&#62;
			jQuery(&#34;#slider5&#34;).easySlider({&#60;br /&#62;
				numeric:true,&#60;br /&#62;
				numericId: 'controls5'&#60;br /&#62;
			});&#60;br /&#62;
		});&#60;br /&#62;
	&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
}&#60;br /&#62;
add_action('wp_head','in_head_js',33);&#60;/p&#62;
&#60;p&#62;Not sure if I neeeded the '33' in the add_action... put it in hopefully not to get a conflict and when it worked left it!!&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Robo on "Adding slider to child theme, not working."</title>
<link>http://themeshaper.com/forums/topic/adding-slider-to-child-theme-not-working#post-13750</link>
<pubDate>Fri, 09 Jul 2010 02:36:45 +0000</pubDate>
<dc:creator>Robo</dc:creator>
<guid isPermaLink="false">13750@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Any chance of a link to where you have implemented it?
&#60;/p&#62;</description>
</item>
<item>
<title>photoman on "Adding slider to child theme, not working."</title>
<link>http://themeshaper.com/forums/topic/adding-slider-to-child-theme-not-working#post-13742</link>
<pubDate>Thu, 08 Jul 2010 12:51:51 +0000</pubDate>
<dc:creator>photoman</dc:creator>
<guid isPermaLink="false">13742@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi, &#60;/p&#62;
&#60;p&#62;I'm managed to get everything working today using the same code I posted above.  I updated to the latest version of my jquery slider and it started working so I'm guessing there was a problem with the old file or a bug in the javascript.&#60;/p&#62;
&#60;p&#62;A big thank you to everyone for your help. :)
&#60;/p&#62;</description>
</item>
<item>
<title>cypress34 on "Adding slider to child theme, not working."</title>
<link>http://themeshaper.com/forums/topic/adding-slider-to-child-theme-not-working#post-13734</link>
<pubDate>Thu, 08 Jul 2010 01:08:29 +0000</pubDate>
<dc:creator>cypress34</dc:creator>
<guid isPermaLink="false">13734@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi.. I wish I can help out here, but I use a different jquery slider for my blog which is Nivo Slider, and I was able to implement it after 2 days of trial and error.  What I did was place one line of php code on my feature php file, set my rand to (1, 1) on functions.php and what took me long is the css, which would effect in case I want to use the other feature php file if I want to feature something without using the slider.
&#60;/p&#62;</description>
</item>
<item>
<title>tarpontech on "Adding slider to child theme, not working."</title>
<link>http://themeshaper.com/forums/topic/adding-slider-to-child-theme-not-working#post-13729</link>
<pubDate>Wed, 07 Jul 2010 18:27:16 +0000</pubDate>
<dc:creator>tarpontech</dc:creator>
<guid isPermaLink="false">13729@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;try adding the action to thematic_before instead of wp_head&#60;/p&#62;
&#60;p&#62;add_action('thematic_before', 'easyslider');&#60;/p&#62;
&#60;p&#62;I just finished up a child-theme of the Featured, so we're pretty much in the same boat.&#60;br /&#62;
I keep trying to add jQuery the &#34;right way&#34;, using deregister et.al, with no results.&#60;/p&#62;
&#60;p&#62;here's a cut-n-paste from my functions.php, this works, and hasn't broken any other jquery plugins on the site (yet).  Different slideshow, same general idea.  Hope it helps get you working...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//add front page javascript for slider 

	function shabadoo_front_page_javascript() { 

	if (is_front_page()) { ?&#38;gt;

		&#38;lt;script type=&#38;quot;text/javascript&#38;quot; src=&#38;quot;&#38;lt;?php echo bloginfo(&#38;#39;stylesheet_directory&#38;#39;) ?&#38;gt;/js/jquery.easing.1.3.js&#38;quot;&#38;gt;&#38;lt;/script&#38;gt;
		&#38;lt;script type=&#38;quot;text/javascript&#38;quot; src=&#38;quot;&#38;lt;?php echo bloginfo(&#38;#39;stylesheet_directory&#38;#39;) ?&#38;gt;/js/jquery.coda-slider-2.0.js&#38;quot;&#38;gt;&#38;lt;/script&#38;gt;
		&#38;lt;script&#38;gt;
			jQuery().ready(function() {
				jQuery(&#38;#39;#coda-slider-1&#38;#39;).codaSlider({
					autoSlide: true,
					autoSlideInterval: 18000,
					autoSlideStopWhenClicked: true,
					autoHeight: false,
					dynamicArrows: false,
					dynamicArrowLeftText: &#38;quot;left&#38;quot;,
					dynamicArrowRightText: &#38;quot;right&#38;quot;,
					dynamicTabs: false,
					dynamicTabsAlign: &#38;quot;center&#38;quot;,
					dynamicTabsPosition: &#38;quot;bottom&#38;quot;,
					panelTitleSelector: &#38;quot;&#38;quot;,
					slideEaseDuration: 1000,
					slideEaseFunction: &#38;quot;easeInOutExpo&#38;quot;
			  });
			});

		&#38;lt;/script&#38;gt;

	 		&#38;lt;?php }
					}
	add_action(&#38;#39;thematic_before&#38;#39;, &#38;#39;shabadoo_front_page_javascript&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>photoman on "Adding slider to child theme, not working."</title>
<link>http://themeshaper.com/forums/topic/adding-slider-to-child-theme-not-working#post-13724</link>
<pubDate>Wed, 07 Jul 2010 13:40:14 +0000</pubDate>
<dc:creator>photoman</dc:creator>
<guid isPermaLink="false">13724@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I managed to get this working but am still having a slight issue with the javascript options.  I changed the code a bit:&#60;/p&#62;
&#60;p&#62;//jQuery&#60;br /&#62;
function my_init() {&#60;br /&#62;
if (!is_admin()) {&#60;br /&#62;
wp_deregister_script('jquery');&#60;br /&#62;
wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js');&#60;br /&#62;
wp_enqueue_script('jquery');&#60;br /&#62;
}&#60;br /&#62;
}&#60;br /&#62;
add_action('init', 'my_init');&#60;/p&#62;
&#60;p&#62;//jQuery easySlider&#60;br /&#62;
function easyslider() {&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
&#38;lt;script src=&#34;http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js&#34; type=&#34;text/javascript&#34; charset=&#34;utf-8&#34;&#38;gt;&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;script type=&#34;text/javascript&#34; src=&#34;http://mysite.com/js/easySlider.js&#34;&#38;gt;&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;script type=&#34;text/javascript&#34;&#38;gt;&#60;br /&#62;
jQuery(document).ready(function(){&#60;br /&#62;
jQuery('#slider').easySlider({ auto: true, speed: 800 });&#60;br /&#62;
});&#60;br /&#62;
&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
}&#60;br /&#62;
add_action('wp_head', 'easyslider');&#60;/p&#62;
&#60;p&#62;I can't get the auto option working.  I was wondering if this is to do with the function being &#34;ready&#34; rather than being told to start when the page loads.  Anyone any ideas?
&#60;/p&#62;</description>
</item>
<item>
<title>photoman on "Adding slider to child theme, not working."</title>
<link>http://themeshaper.com/forums/topic/adding-slider-to-child-theme-not-working#post-13707</link>
<pubDate>Tue, 06 Jul 2010 13:55:34 +0000</pubDate>
<dc:creator>photoman</dc:creator>
<guid isPermaLink="false">13707@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Sorry I forgot to ask.  Now my easySlider.js is showing up in my header I need to call the following script to get it to run:&#60;/p&#62;
&#60;p&#62;$(document).ready(function(){&#60;br /&#62;
	$(&#34;#slider&#34;).easySlider({&#60;br /&#62;
		prevText: 'Previous Slide',&#60;br /&#62;
		nextText: 'Next Slide',&#60;br /&#62;
		orientation: 'vertical'&#60;br /&#62;
	});&#60;br /&#62;
});&#60;/p&#62;
&#60;p&#62;Could someone show me an example of the code I would add to add this to my child theme, I'm guessing it goes in functions.php also?
&#60;/p&#62;</description>
</item>
<item>
<title>photoman on "Adding slider to child theme, not working."</title>
<link>http://themeshaper.com/forums/topic/adding-slider-to-child-theme-not-working#post-13697</link>
<pubDate>Tue, 06 Jul 2010 11:56:53 +0000</pubDate>
<dc:creator>photoman</dc:creator>
<guid isPermaLink="false">13697@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks very much.  I used &#60;/p&#62;
&#60;p&#62;add_action('init', 'childtheme_panel_add_stuff');&#60;/p&#62;
&#60;p&#62;which worked great!!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Adding slider to child theme, not working."</title>
<link>http://themeshaper.com/forums/topic/adding-slider-to-child-theme-not-working#post-13681</link>
<pubDate>Tue, 06 Jul 2010 00:07:20 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">13681@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;try: &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;CHILDTHEME_URI&#38;#39;, get_stylesheet_directory_uri() . &#38;#39;/&#38;#39;);

function childtheme_panel_add_stuff() {
wp_enqueue_script(&#38;#39;easy_slider&#38;#39;, CHILDTHEME_URI . &#38;#39;js/easySlider.js&#38;#39;);

}

add_action(&#38;#39;wp-head&#38;#39;, &#38;#39;childtheme_panel_add_stuff&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I've defined the theme location as a constant b/c i use it all over my files and this way i dont have to keep re-using get_bloginfo. also if that doesn't work try hooking the function onto init instead of wp-head.  i am not really sure which it should be
&#60;/p&#62;</description>
</item>
<item>
<title>photoman on "Adding slider to child theme, not working."</title>
<link>http://themeshaper.com/forums/topic/adding-slider-to-child-theme-not-working#post-13676</link>
<pubDate>Mon, 05 Jul 2010 22:25:20 +0000</pubDate>
<dc:creator>photoman</dc:creator>
<guid isPermaLink="false">13676@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I was hoping wondering if someone could help me out.  I'm building my first child theme which is based on the Thematic Feature Site and am trying to add the jquery plugin easySlider to my home page.  &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://cssglobe.com/post/3783/jquery-plugin-easy-image-or-content-slider&#34; rel=&#34;nofollow&#34;&#62;http://cssglobe.com/post/3783/jquery-plugin-easy-image-or-content-slider&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I've done a ton of reading through this forum and can't get it to work.  I am adding the following code to my functions file which I modified from ian's post here &#60;a href=&#34;http://themeshaper.com/forums/topic/best-way-to-add-additional-jquery-scripts:&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/best-way-to-add-additional-jquery-scripts:&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;// Add extra javascript to the childtheme&#60;br /&#62;
function childtheme_scripts(){&#60;br /&#62;
?&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;script type='text/javascript'&#38;gt;&#60;br /&#62;
	var childtheme_url = '&#38;lt;?php bloginfo('stylesheet_directory') ?&#38;gt;';&#60;br /&#62;
&#38;lt;/script&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;script type='text/javascript' src='&#38;lt;?php bloginfo('stylesheet_directory'); ?&#38;gt;/js/easySlider.js'&#38;gt;&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;add_action('wp_head', 'childtheme_scripts','10');&#60;/p&#62;
&#60;p&#62;When I add the code to my wordpress functions file I get a parse error in wordpress and it breaks my site.  &#60;/p&#62;
&#60;p&#62;Parse error: syntax error, unexpected '}' in /x/wp-content/themes/thematicfeaturesite/functions.php  on line 109&#60;/p&#62;
&#60;p&#62;I've run the code through php designer and it says there are no syntax errors so I can't figure out whats going wrong!&#60;/p&#62;
&#60;p&#62;Can anyone help?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
