<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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>Vfxdude &#187; Tag: hooks - Recent Posts</title>
		<link>http://www.vfxdude.com/forum/tags/hooks</link>
		<description>premium wordpress themes</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Feb 2012 05:19:26 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.vfxdude.com/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.vfxdude.com/forum/rss/tags/hooks" rel="self" type="application/rss+xml" />

		<item>
			<title>headfonia on "Related Posts Questions"</title>
			<link>http://www.vfxdude.com/forum/topic/related-posts-questions#post-2471</link>
			<pubDate>Wed, 05 May 2010 10:00:07 +0000</pubDate>
			<dc:creator>headfonia</dc:creator>
			<guid isPermaLink="false">2471@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;Thanks a lot!!!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vfxdude on "Related Posts Questions"</title>
			<link>http://www.vfxdude.com/forum/topic/related-posts-questions#post-2470</link>
			<pubDate>Wed, 05 May 2010 09:34:57 +0000</pubDate>
			<dc:creator>vfxdude</dc:creator>
			<guid isPermaLink="false">2470@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;well, then you have to check that the template is set in the yarpp plugin and that the &#34;Show related posts as thumbnail posts&#34; theme setting is enabled.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>headfonia on "Related Posts Questions"</title>
			<link>http://www.vfxdude.com/forum/topic/related-posts-questions#post-2469</link>
			<pubDate>Wed, 05 May 2010 09:17:17 +0000</pubDate>
			<dc:creator>headfonia</dc:creator>
			<guid isPermaLink="false">2469@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;What if I don't use the code in a child theme? I really don't want to mess with having to make a child theme. &#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vfxdude on "Related Posts Questions"</title>
			<link>http://www.vfxdude.com/forum/topic/related-posts-questions#post-2468</link>
			<pubDate>Wed, 05 May 2010 09:14:56 +0000</pubDate>
			<dc:creator>vfxdude</dc:creator>
			<guid isPermaLink="false">2468@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;If you are adding the code in a child theme you have to copy the yarpp-template-bf.php file over to the child theme folder. And you might have to enable the &#34;Display using a custom template file&#34; in the yarpp settings. The Show &#34;related posts as thumbnail posts&#34; theme setting must also be enabled.&#60;/p&#62;
&#60;p&#62;btw, just realised the reason why driftingfocus got a blank site...because the remove_actions function was already in functions.php.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>headfonia on "Related Posts Questions"</title>
			<link>http://www.vfxdude.com/forum/topic/related-posts-questions#post-2465</link>
			<pubDate>Wed, 05 May 2010 07:44:18 +0000</pubDate>
			<dc:creator>headfonia</dc:creator>
			<guid isPermaLink="false">2465@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
I just tried the code above with YARPP, and while it does move the related posts to before the comments, I couldn't get it to be displayed in a thumbnail format. Is it possible to do this: Thumbnail format related posts, before the comments, either by YARPP or the built in function?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>beckyb8 on "Can I move the navigation bar?"</title>
			<link>http://www.vfxdude.com/forum/topic/can-i-move-the-navigation-bar#post-2209</link>
			<pubDate>Mon, 19 Apr 2010 03:41:47 +0000</pubDate>
			<dc:creator>beckyb8</dc:creator>
			<guid isPermaLink="false">2209@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;I figured it out...or I should say, I guessed and it worked.&#60;/p&#62;
&#60;p&#62;Thanks for your help!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>beckyb8 on "Can I move the navigation bar?"</title>
			<link>http://www.vfxdude.com/forum/topic/can-i-move-the-navigation-bar#post-2208</link>
			<pubDate>Mon, 19 Apr 2010 02:08:07 +0000</pubDate>
			<dc:creator>beckyb8</dc:creator>
			<guid isPermaLink="false">2208@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;i should add, when I add that code to functions the whole thing crashes and nothing shows up anymore!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>beckyb8 on "Can I move the navigation bar?"</title>
			<link>http://www.vfxdude.com/forum/topic/can-i-move-the-navigation-bar#post-2207</link>
			<pubDate>Sun, 18 Apr 2010 22:02:38 +0000</pubDate>
			<dc:creator>beckyb8</dc:creator>
			<guid isPermaLink="false">2207@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;Remove all the styles from style.css?&#60;/p&#62;
&#60;p&#62;I'm still a little bit stuck.....any more tips??
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vfxdude on "Can I move the navigation bar?"</title>
			<link>http://www.vfxdude.com/forum/topic/can-i-move-the-navigation-bar#post-2198</link>
			<pubDate>Fri, 16 Apr 2010 15:30:10 +0000</pubDate>
			<dc:creator>vfxdude</dc:creator>
			<guid isPermaLink="false">2198@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;the div structure of your website is a bit messed up. There are 2 #headers and 2 #logos, and the #footer is wrapped in a nested div. &#60;/p&#62;
&#60;p&#62;I can only answer this question for the original theme though. If you want to create a custom header, you can take a look at the bfNav child theme functions.php for how to do this. I can give the steps here though: &#60;/p&#62;
&#60;p&#62;1. Download the &#60;a href=&#34;http://www.vfxdude.com/downloads/&#34;&#62;topArt child theme&#60;/a&#62;.&#60;br /&#62;
2. Remove the styles in style.css of the child theme.&#60;br /&#62;
3. Add this code to functions.php (of the child theme):&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_action( &#38;#39;bf_header&#38;#39;, &#38;#39;myHeader&#38;#39; );
add_action( &#38;#39;wp_head&#38;#39;, &#38;#39;remove_actions&#38;#39; );
function remove_actions() {
   remove_action( &#38;#39;bf_header&#38;#39;, &#38;#39;headerFeatures&#38;#39; );
   remove_action( &#38;#39;bf_header&#38;#39;, &#38;#39;bf_navigation&#38;#39; );
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;4. copy the headerFeatures function from theme-functions.php (in library/functions) into the child theme functions.php (at the bottom before the &#60;code&#62;?&#38;gt;&#60;/code&#62;).&#60;br /&#62;
5. Rename headerFeatures to myHeader.&#60;br /&#62;
6. Add the navgation to the myHeader function with this code:&#60;br /&#62;
&#60;code&#62;bf_navigation();&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;6. Enable the child theme.&#60;br /&#62;
7. Edit the myHeader function to you liking. Add the flash before the navigation, or whatever.&#60;/p&#62;
&#60;p&#62;You must revert bigfeature to it's original state for this to work. &#60;/p&#62;
&#60;p&#62;If you think this is too complicated and too much programming, then you can add stuff to header.php of bigfeature instead. You can deactivate the navigation in the theme settings and call it from header.php instead, like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php bf_navigation(); ?&#38;gt;&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>beckyb8 on "Can I move the navigation bar?"</title>
			<link>http://www.vfxdude.com/forum/topic/can-i-move-the-navigation-bar#post-2193</link>
			<pubDate>Fri, 16 Apr 2010 13:16:59 +0000</pubDate>
			<dc:creator>beckyb8</dc:creator>
			<guid isPermaLink="false">2193@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;How can I move the navigation bar to below my flash header??&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://jackandruby.firegatefilms.com/&#34; rel=&#34;nofollow&#34;&#62;http://jackandruby.firegatefilms.com/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vfxdude on "Separate Sidebar for Pages vs Posts"</title>
			<link>http://www.vfxdude.com/forum/topic/separate-sidebar-for-pages-vs-posts#post-2172</link>
			<pubDate>Wed, 14 Apr 2010 11:41:15 +0000</pubDate>
			<dc:creator>vfxdude</dc:creator>
			<guid isPermaLink="false">2172@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;it's possible. By using the &#34;no sidebar&#34; template for pages, and the &#60;a href=&#34;http://www.vfxdude.com/bigfeature/2009/10/faq/#customsingle&#34;&#62;custom single functionality&#60;/a&#62; for posts. The sidebar must be written to bf_bottom_container hook and the width of the #content div must be adjusted. However there will a problem with the automatic image widths, but feature image and bfthumbs (with a set width) should work fine. Dynamic sidebars is on my to do list though.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ideric on "Separate Sidebar for Pages vs Posts"</title>
			<link>http://www.vfxdude.com/forum/topic/separate-sidebar-for-pages-vs-posts#post-2161</link>
			<pubDate>Mon, 12 Apr 2010 22:07:28 +0000</pubDate>
			<dc:creator>ideric</dc:creator>
			<guid isPermaLink="false">2161@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;Is it possible to create a separate sidebar for pages vs posts without adjusting the bigfeature files (through hooks)?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vfxdude on "Related Posts Questions"</title>
			<link>http://www.vfxdude.com/forum/topic/related-posts-questions#post-1856</link>
			<pubDate>Wed, 31 Mar 2010 07:30:10 +0000</pubDate>
			<dc:creator>vfxdude</dc:creator>
			<guid isPermaLink="false">1856@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;just tested it and it works. you have to add at the bottom of functions.php before the ?&#38;gt; sign.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>driftingfocus on "Related Posts Questions"</title>
			<link>http://www.vfxdude.com/forum/topic/related-posts-questions#post-1853</link>
			<pubDate>Wed, 31 Mar 2010 00:07:30 +0000</pubDate>
			<dc:creator>driftingfocus</dc:creator>
			<guid isPermaLink="false">1853@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;When I add in that code, my entire site goes blank. I am using the YARPP plugin, but it doesn't seem to like that coding.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vfxdude on "Related Posts Questions"</title>
			<link>http://www.vfxdude.com/forum/topic/related-posts-questions#post-1841</link>
			<pubDate>Tue, 30 Mar 2010 11:36:45 +0000</pubDate>
			<dc:creator>vfxdude</dc:creator>
			<guid isPermaLink="false">1841@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;related posts without thumbnails appear before the comments, but added the thumbs after the comments for less stuff before the comments. To move them above the comments add this code to functions.php (preferably in a child theme):&#60;/p&#62;
&#60;p&#62;&#60;code&#62;add_action( 'bf_after_article', 'bf_yarpp' );&#60;br /&#62;
add_action( 'wp_head', 'remove_actions' );&#60;br /&#62;
function remove_actions() { add_action( 'bf_after_comments', 'bf_yarpp' ); }&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;or you can edit the hooks.php (in the library/functions folder). The code example above is if you are using the yarpp plugin for related posts.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>driftingfocus on "Related Posts Questions"</title>
			<link>http://www.vfxdude.com/forum/topic/related-posts-questions#post-1829</link>
			<pubDate>Mon, 29 Mar 2010 20:07:37 +0000</pubDate>
			<dc:creator>driftingfocus</dc:creator>
			<guid isPermaLink="false">1829@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;Is there a way to get the related posts to show up after the post but before the comment area? Also, I can't seem to find anywhere in the coding that regulates the width of that div, and I want to make the related posts span the whole width on a no-sidebar post.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vfxdude on "Additional header lines"</title>
			<link>http://www.vfxdude.com/forum/topic/additional-header-lines#post-244</link>
			<pubDate>Tue, 24 Nov 2009 13:52:17 +0000</pubDate>
			<dc:creator>vfxdude</dc:creator>
			<guid isPermaLink="false">244@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;child theme
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Orville on "Additional header lines"</title>
			<link>http://www.vfxdude.com/forum/topic/additional-header-lines#post-243</link>
			<pubDate>Tue, 24 Nov 2009 12:51:09 +0000</pubDate>
			<dc:creator>Orville</dc:creator>
			<guid isPermaLink="false">243@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;Should this go to parent or child theme functions.php?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vfxdude on "Additional header lines"</title>
			<link>http://www.vfxdude.com/forum/topic/additional-header-lines#post-239</link>
			<pubDate>Tue, 24 Nov 2009 09:56:22 +0000</pubDate>
			<dc:creator>vfxdude</dc:creator>
			<guid isPermaLink="false">239@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;you can change header.php, but if you are customizing with a child theme you can use hooks.like this (in functions.php):&#60;/p&#62;
&#60;pre&#62;
function headerstuff() { ?&#38;gt;
 &#38;lt;!-- add html stuff here --&#38;gt;
&#38;lt;?php
}
add_action( &#38;#39;wp_head&#38;#39;, &#38;#39;headerstuff&#38;#39; );
&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Orville on "Additional header lines"</title>
			<link>http://www.vfxdude.com/forum/topic/additional-header-lines#post-236</link>
			<pubDate>Mon, 23 Nov 2009 16:13:51 +0000</pubDate>
			<dc:creator>Orville</dc:creator>
			<guid isPermaLink="false">236@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;Best way to add favicon, Google Webmaster meta etc - changing header.php? Or is there any better option?&#60;/p&#62;
&#60;p&#62;Thanks again
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vfxdude on "Adspace in header"</title>
			<link>http://www.vfxdude.com/forum/topic/adspace-in-header#post-174</link>
			<pubDate>Fri, 20 Nov 2009 09:05:59 +0000</pubDate>
			<dc:creator>vfxdude</dc:creator>
			<guid isPermaLink="false">174@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;You have to enter stuff into the headerFeatures function (in theme-functions.php) to do this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jim on "Adspace in header"</title>
			<link>http://www.vfxdude.com/forum/topic/adspace-in-header#post-167</link>
			<pubDate>Fri, 20 Nov 2009 03:24:26 +0000</pubDate>
			<dc:creator>Jim</dc:creator>
			<guid isPermaLink="false">167@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;Sorry I meant centered in the header, dead center in the header between left and right sides of the site. So it would be to the right of the site title.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vfxdude on "Adspace in header"</title>
			<link>http://www.vfxdude.com/forum/topic/adspace-in-header#post-159</link>
			<pubDate>Thu, 19 Nov 2009 09:41:36 +0000</pubDate>
			<dc:creator>vfxdude</dc:creator>
			<guid isPermaLink="false">159@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;Between the title and navigation? Edit hooks.php (in library/functions), move the topAd add_action below the headerFeatures one.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jim on "Adspace in header"</title>
			<link>http://www.vfxdude.com/forum/topic/adspace-in-header#post-154</link>
			<pubDate>Wed, 18 Nov 2009 23:44:13 +0000</pubDate>
			<dc:creator>Jim</dc:creator>
			<guid isPermaLink="false">154@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;Hi is there any way of displaying the Aspace Top of the Page in the middle of the header. At the moment it&#38;#39;s above the logo/sitetitle how can I style it to appear in the middle?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vfxdude on "How can I rotate ads below the articles?"</title>
			<link>http://www.vfxdude.com/forum/topic/several-questions#post-22</link>
			<pubDate>Sat, 07 Nov 2009 21:50:33 +0000</pubDate>
			<dc:creator>vfxdude</dc:creator>
			<guid isPermaLink="false">22@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;Found a couple of quickfixes for the dropdown/flash issue. Add wmode=&#38;quot;transparent&#38;quot; to the embed code. or you can use the &#60;a href=&#34;http://wordpress.org/extend/plugins/proplayer/&#34;&#62;ProPlayer&#60;/a&#62; plugin instead.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vfxdude on "How can I rotate ads below the articles?"</title>
			<link>http://www.vfxdude.com/forum/topic/several-questions#post-21</link>
			<pubDate>Sat, 07 Nov 2009 21:03:36 +0000</pubDate>
			<dc:creator>vfxdude</dc:creator>
			<guid isPermaLink="false">21@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;Since I prefer one question per topic I changed the title, but will answer them all. The point with a forum is for other users to join in, that is hard if there are so many different questions in one post.&#60;/p&#62;
&#60;p&#62;Anyway...Since I changed the title I will answer the ad question first then.&#60;/p&#62;
&#60;p&#62;If a plugin got shortcodes, ads can be added to any of the widget areas called Adspaces (with the &#38;quot;BF Page&#38;quot; widget). There is one called &#38;quot;Adspace - Below the article&#38;quot;. That one will display ads below the first article on the frontpage and below every article on the single/article page. If the plugin doesn&#38;#39;t have a shortcode you can use hooks, like this:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
function my_ads() {&#60;br /&#62;
 wpads(’Test Zone’);&#60;br /&#62;
}&#60;br /&#62;
add_action(&#38;#39;bf_after_article&#38;#39;,&#38;#39;my_ads&#38;#39;, 9);&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Add this code in function.php (preferably in a &#60;a href=&#34;http://www.vfxdude.com/bigfeature/2009/10/faq/#childtheme&#34;&#62;child theme&#60;/a&#62;).&#60;/p&#62;
&#60;p&#62;The first question is not specific to the theme, since it can be done with css. A tip is to use absolute positioning. &#60;/p&#62;
&#60;p&#62;About the dropdown menu appearing below flash...will look into this issue...&#60;/p&#62;
&#60;p&#62;btw I think your english is good...it&#38;#39;s not my first language either...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Campetin on "How can I rotate ads below the articles?"</title>
			<link>http://www.vfxdude.com/forum/topic/several-questions#post-19</link>
			<pubDate>Sat, 07 Nov 2009 15:34:33 +0000</pubDate>
			<dc:creator>Campetin</dc:creator>
			<guid isPermaLink="false">19@http://www.vfxdude.com/forum/</guid>
			<description>&#60;p&#62;I have a few questions:&#60;/p&#62;
&#60;p&#62;1.- Instead of having a small logo, I added a big header image. How can I add the search box above the header image. I mean, I&#38;#39;ve seen sites where the search box appears inside the header image, in the right corner. How can I do that?&#60;/p&#62;
&#60;p&#62;2.- How can I rotate ads below the articles? I have more than one banner/amazon widget but I can only use one. I tried a plugin called Wp-Ads but doesn&#38;#39;t show anything. So, is there a way to have several ads rotate below the article&#38;quot; so everytime someone loads the website they see a different ad?&#60;/p&#62;
&#60;p&#62;3.- The dropdown option on the nav bar is awesome, but if the list is too large, and I have a YouTube video posted on the first post, the dropdown list gets hidden behind the youtube video (or any other flash object for that matter). The solution I need is something similar to the subscribe/share buttons under every post on my website, if you click on it the flash objects dissapear while using that dropmenu. Check it out and you&#38;#39;ll see what I mean.&#60;/p&#62;
&#60;p&#62;My website is &#60;a href=&#34;http://the-visitors.net&#34;&#62;http://the-visitors.net&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks for your help, looking forward to your response :)&#60;/p&#62;
&#60;p&#62;PS: sorry about my English, it&#38;#39;s not my first language :(
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

