<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.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>WordPress Ideas &#187; Tag: hooks - Recent Posts</title>
		<link>http://wordpress.org/extend/ideas/tags/hooks</link>
		<description>WordPress Ideas &#187; Tag: hooks - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Sun, 19 May 2013 02:53:33 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://wordpress.org/extend/ideas/rss/tags/hooks" rel="self" type="application/rss+xml" />

		<item>
			<title>Sasa Karanovic on "QuickPress category, need hooks"</title>
			<link>http://wordpress.org/extend/ideas/topic/quickpress-category-need-hooks/page/2#post-24059</link>
			<pubDate>Sat, 19 Jan 2013 20:27:19 +0000</pubDate>
			<dc:creator>Sasa Karanovic</dc:creator>
			<guid isPermaLink="false">24059@http://wordpress.org/extend/ideas/</guid>
			<description><![CDATA[<p>If you want to have categories drop-down menu when using quick press but also to have them AFTER you publish the post add this code to your functions.php file. It's almost just like the webgig's code but with minor adjustments :)</p>
<p>Enjoy!</p>
<p><code><br />
function __quickpress_cats() {<br />
	if(!function_exists('is_admin') &#124;&#124; !is_admin()) return;<br />
	// Parameters for wp_dropdown_categories<br />
	$args = array(<br />
		'order' =&#62; 'ASC',<br />
		'hierarchical' =&#62; 1,<br />
		'echo' =&#62; 0,<br />
		'name' =&#62; 'post_category[]',<br />
		'hide_empty' =&#62; 0<br />
	);<br />
	$select_cats = wp_dropdown_categories( $args );<br />
	echo '<br />
	&#60;/div&#62;<br />
	&#60;h4 id="category-label"&#62;&#60;label for="post_category"&#62;Category&#60;/label&#62;&#60;/h4&#62;<br />
	&#60;div&#62;<br />
	'.$select_cats.'<br />
	&#60;/div&#62;<br />
	&#60;div class="hide-if-no-js" style="margin: 0 0 .5em 5em;padding:8px 10px 5px 5px;"&#62;<br />
	';<br />
	return;<br />
}<br />
if(is_admin() &#124;&#124; $query-&#62;is_admin) {<br />
	$here = array( basename($_SERVER['REQUEST_URI']), basename($_SERVER['SCRIPT_FILENAME']) );&#60;/p&#62;<br />
&#60;p&#62;	if( ( $here[0] == ('index.php' &#124;&#124; 'wp-admin' &#124;&#124; 'post.php' &#124;&#124; 'index-extra.php' &#124;&#124; 'index-extra.php?jax=dashboard_quick_press')) &#38;&#38; ( $here[1] == ('index.php' &#124;&#124; 'post.php') ) ) {<br />
		add_action('media_buttons','__quickpress_cats');<br />
	}<br />
	unset($here);<br />
}<br />
</code>
</p>]]></description>
					</item>
		<item>
			<title>asdevo on "QuickPress category, need hooks"</title>
			<link>http://wordpress.org/extend/ideas/topic/quickpress-category-need-hooks#post-22813</link>
			<pubDate>Sun, 02 Sep 2012 09:09:04 +0000</pubDate>
			<dc:creator>asdevo</dc:creator>
			<guid isPermaLink="false">22813@http://wordpress.org/extend/ideas/</guid>
			<description><![CDATA[<p>Hey, this would be a really useful option! Why wasn't it implemented until now? The ticket is about two years old. Please consider implementing this feature in the next versions of wordpress.
</p>]]></description>
					</item>
		<item>
			<title>Ruud Evers on "QuickPress category, need hooks"</title>
			<link>http://wordpress.org/extend/ideas/topic/quickpress-category-need-hooks#post-22274</link>
			<pubDate>Sat, 16 Jun 2012 07:50:24 +0000</pubDate>
			<dc:creator>Ruud Evers</dc:creator>
			<guid isPermaLink="false">22274@http://wordpress.org/extend/ideas/</guid>
			<description><![CDATA[<p>Love this functionality. Doesn't seem to work for 3.3 though. Tried both the version of Mark / t31os and Webgig. Hope this will be implemented soon.
</p>]]></description>
					</item>
		<item>
			<title>cocktail dresses on "QuickPress category, need hooks"</title>
			<link>http://wordpress.org/extend/ideas/topic/quickpress-category-need-hooks#post-21412</link>
			<pubDate>Sat, 03 Mar 2012 14:12:52 +0000</pubDate>
			<dc:creator>cocktail dresses</dc:creator>
			<guid isPermaLink="false">21412@http://wordpress.org/extend/ideas/</guid>
			<description><![CDATA[<p>i love this code!!!<br />
+1 +1 +1 +1 +1 +! :)<br />
Thanks!
</p>]]></description>
					</item>
		<item>
			<title>Intégrateur web on "QuickPress category, need hooks"</title>
			<link>http://wordpress.org/extend/ideas/topic/quickpress-category-need-hooks#post-21087</link>
			<pubDate>Wed, 18 Jan 2012 16:57:35 +0000</pubDate>
			<dc:creator>Intégrateur web</dc:creator>
			<guid isPermaLink="false">21087@http://wordpress.org/extend/ideas/</guid>
			<description><![CDATA[<p>Great Code and great idea man, i take it :) good idea for the wp_dashboard_quick_press();
</p>]]></description>
					</item>
		<item>
			<title>Zeb on "Custom fields within theme templates"</title>
			<link>http://wordpress.org/extend/ideas/topic/custom-fields-within-theme-templates/page/2#post-20883</link>
			<pubDate>Tue, 20 Dec 2011 02:48:12 +0000</pubDate>
			<dc:creator>Zeb</dc:creator>
			<guid isPermaLink="false">20883@http://wordpress.org/extend/ideas/</guid>
			<description><![CDATA[<p>My suggestion is simple!</p>
<p>If the back-end uses the same theme structure and the look, which is very user friendly, then it should be considered that developers could copy/paste codes and just change the names or something.</p>
<p>For example, I have seen some web based solutions that allows a developer just go through a few steps, name the fields what ever they want, define spaces and in the end grab the code. </p>
<p>Advanced developers may be able to hack the code themselves but many site developers are not like them. There should be an easier way to achieve something more user friendly.</p>
<p>Please take a look at Bill Erickson's solution here: <a href="http://www.billerickson.net/wordpress-metaboxes/" rel="nofollow">http://www.billerickson.net/wordpress-metaboxes/</a></p>
<p>Simple and nice looking meta box. This kind of look should be arranged in the admin which in turn has the same look as the used theme itself, if so desired.
</p>]]></description>
					</item>
		<item>
			<title>Angry Creative on "Custom fields within theme templates"</title>
			<link>http://wordpress.org/extend/ideas/topic/custom-fields-within-theme-templates/page/2#post-20262</link>
			<pubDate>Fri, 23 Sep 2011 12:41:21 +0000</pubDate>
			<dc:creator>Angry Creative</dc:creator>
			<guid isPermaLink="false">20262@http://wordpress.org/extend/ideas/</guid>
			<description><![CDATA[<p>Check out <a href="http://eskapism.se/code-playground/simple-fields/" rel="nofollow">http://eskapism.se/code-playground/simple-fields/</a> for some inspiration! :)
</p>]]></description>
					</item>
		<item>
			<title>gavinsmith on "Custom fields within theme templates"</title>
			<link>http://wordpress.org/extend/ideas/topic/custom-fields-within-theme-templates/page/2#post-20250</link>
			<pubDate>Thu, 22 Sep 2011 12:14:15 +0000</pubDate>
			<dc:creator>gavinsmith</dc:creator>
			<guid isPermaLink="false">20250@http://wordpress.org/extend/ideas/</guid>
			<description><![CDATA[<p>I actually went ahead and built an early, early version of a plugin to accomplish this. I'm currently working on refactoring inputs into extensions of an input class before I build out more input types and the admin UI, but the functionality is all there for textareas and inputs. I hope to push that large code update in the next few days. Options like repeatable inputs forthcoming as well - I'd really appreciate any input!</p>
<p><a href="http://gavinsmith.github.com/WordPress-Template-Specific-Fields/" rel="nofollow">http://gavinsmith.github.com/WordPress-Template-Specific-Fields/</a>
</p>]]></description>
					</item>
		<item>
			<title>lonchbox on "Custom fields within theme templates"</title>
			<link>http://wordpress.org/extend/ideas/topic/custom-fields-within-theme-templates/page/2#post-20249</link>
			<pubDate>Thu, 22 Sep 2011 10:11:40 +0000</pubDate>
			<dc:creator>lonchbox</dc:creator>
			<guid isPermaLink="false">20249@http://wordpress.org/extend/ideas/</guid>
			<description><![CDATA[<p>Ok @gavinsmith I get your point. The way I relate a custom meta box or custom field is with id or name of the page/post. The idea to use the template is very nice. But have to think the steps. First create and setup the custom fields or meta boxes, then create the Template, then relate the custom fields to or meta boxes to that template. So when I choose on the page the template to use the mb/cf appear dynamically. It´s correct?<br />
I think this could be a fantastic plugin also.
</p>]]></description>
					</item>
		<item>
			<title>Angry Creative on "Custom fields within theme templates"</title>
			<link>http://wordpress.org/extend/ideas/topic/custom-fields-within-theme-templates/page/2#post-20036</link>
			<pubDate>Tue, 23 Aug 2011 05:21:48 +0000</pubDate>
			<dc:creator>Angry Creative</dc:creator>
			<guid isPermaLink="false">20036@http://wordpress.org/extend/ideas/</guid>
			<description><![CDATA[<p>Its either that, or writing your own custom "Theme options" page for the backend (and spending a LOT of more time than you should)..</p>
<p>We did a page for a restaurant just a couple of weeks ago, and their "about" information works just like that. So ugly!</p>
<p>Reminds me of working with WordPress "back in the day" when we had to make posts, post them in a specific category, exclude that category from the frontpage, search, archives etc, and then print it out on the specific page.</p>
<p>A good source of inspiration would probably be Drupal, where you can make your own custom fields for anything pretty much anywhere.
</p>]]></description>
					</item>

	</channel>
</rss>
