<?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>WordPress &#8250; Support Topic: Press This and setting a Default Category</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: Press This and setting a Default Category</description>
<language>en</language>
<pubDate>Thu, 26 Nov 2009 10:04:46 +0000</pubDate>

<item>
<title>johnke on "Press This and setting a Default Category"</title>
<link>http://wordpress.org/support/topic/216525#post-1040112</link>
<pubDate>Wed, 08 Apr 2009 08:08:10 +0000</pubDate>
<dc:creator>johnke</dc:creator>
<guid isPermaLink="false">1040112@http://wordpress.org/support/</guid>
<description>&#60;p&#62;This is a horrible, kludgy solution to this. It will break the next time you upgrade Wordpress, but hopefully, there will be a feature to choose default categories for &#34;press this&#34; soon.&#60;/p&#62;
&#60;p&#62;Edit wp-admin/press-this.php&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div id=&#38;quot;categorydiv&#38;quot; class=&#38;quot;stuffbox&#38;quot;&#38;gt;
  &#38;lt;h2&#38;gt;&#38;lt;?php _e(&#38;#39;Categories&#38;#39;) ?&#38;gt;&#38;lt;/h2&#38;gt;
  &#38;lt;div class=&#38;quot;inside&#38;quot;&#38;gt;
    &#38;lt;div id=&#38;quot;categories-all&#38;quot; class=&#38;quot;ui-tabs-panel&#38;quot;&#38;gt;
      &#38;lt;ul id=&#38;quot;categorychecklist&#38;quot; class=&#38;quot;list:category categorychecklist form-no-clear&#38;quot;&#38;gt;
        &#38;lt;!-- Edit this line to suit your setup - my default category number is &#38;quot;11&#38;quot; and its name is &#38;quot;random&#38;quot; --&#38;gt;
        &#38;lt;li id=&#38;#39;category-11&#38;#39;&#38;gt;&#38;lt;label class=&#38;quot;selectit&#38;quot;&#38;gt;&#38;lt;input value=&#38;quot;11&#38;quot; type=&#38;quot;checkbox&#38;quot; checked name=&#38;quot;post_category[]&#38;quot; id=&#38;quot;in-category-11&#38;quot;/&#38;gt;random&#38;lt;/label&#38;gt;&#38;lt;/li&#38;gt;
        &#38;lt;?php wp_category_checklist($post-&#38;gt;ID, false, false, $popular_ids) ?&#38;gt;
      &#38;lt;/ul&#38;gt;
    &#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>ywftdg on "Press This and setting a Default Category"</title>
<link>http://wordpress.org/support/topic/216525#post-1027330</link>
<pubDate>Thu, 26 Mar 2009 14:51:01 +0000</pubDate>
<dc:creator>ywftdg</dc:creator>
<guid isPermaLink="false">1027330@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Well, wasn't able to do how I was thinking, but if you set that _REQUEST back to the default, then add this in your design somewhere it will let you choose a cat.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div id=&#38;quot;categorydiv&#38;quot; class=&#38;quot;stuffbox&#38;quot;&#38;gt;
&#38;lt;h3&#38;gt;&#38;lt;?php _e(&#38;#39;Categories&#38;#39;) ?&#38;gt;&#38;lt;/h3&#38;gt;
&#38;lt;div class=&#38;quot;inside&#38;quot;&#38;gt;
&#38;lt;div id=&#38;quot;categories-all&#38;quot;&#38;gt;
&#38;lt;ul id=&#38;quot;categorychecklist&#38;quot; class=&#38;quot;list:category categorychecklist form-no-clear&#38;quot;&#38;gt;
&#38;lt;?php wp_category_checklist($post-&#38;gt;ID, false, false, $popular_ids) ?&#38;gt;
&#38;lt;/ul&#38;gt;
&#38;lt;/div&#38;gt;
&#38;lt;/div&#38;gt;
&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>ywftdg on "Press This and setting a Default Category"</title>
<link>http://wordpress.org/support/topic/216525#post-1027292</link>
<pubDate>Thu, 26 Mar 2009 14:12:42 +0000</pubDate>
<dc:creator>ywftdg</dc:creator>
<guid isPermaLink="false">1027292@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I would love to know this also. In your case, I think you need to define the cat by the number, not actual name. But either way, I am trying same thing sort of, and it wont set it. I can define it, but for some reason it does not save it when I click publish. You ever get it working?
&#60;/p&#62;</description>
</item>
<item>
<title>steve.mcnally on "Press This and setting a Default Category"</title>
<link>http://wordpress.org/support/topic/216525#post-895534</link>
<pubDate>Mon, 10 Nov 2008 21:49:24 +0000</pubDate>
<dc:creator>steve.mcnally</dc:creator>
<guid isPermaLink="false">895534@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hello - &#60;/p&#62;
&#60;p&#62;I'd like to pass a Category automatically when I use &#34;Press This.&#34; &#60;/p&#62;
&#60;p&#62;I've created a copy of press-this.php and worked to change this line to include a static category&#60;/p&#62;
&#60;p&#62;From:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
$quick['post_category'] = $_REQUEST['post_category'];&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;To:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
$quick['post_category'] = 'myStaticCategory';&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;The post is being created, but the Category is not auto-set.&#60;/p&#62;
&#60;p&#62;Is there anything else I need to be aware of as I continue working on this?&#60;/p&#62;
&#60;p&#62;Many thanks for your time, and please let me know if I can clarify any of this.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
