<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Editor Styles for Custom Post Types in WordPress 3.0</title>
	<atom:link href="http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/</link>
	<description>Coding, Wordpress and Plugin Development</description>
	<lastBuildDate>Sun, 15 Jan 2012 13:23:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Stephen</title>
		<link>http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/#comment-17107</link>
		<dc:creator>Stephen</dc:creator>
		<pubDate>Sun, 15 Jan 2012 13:23:31 +0000</pubDate>
		<guid isPermaLink="false">http://wpstorm.net/?p=333#comment-17107</guid>
		<description>I got this to work by using the $GLOBALS[&#039;post&#039;]-&gt;page_template variable to change my stylesheet based on the current page template...

Here&#039;s the modified code:
[php]
function my_editor_style() {
	
    switch ($GLOBALS[&#039;post&#039;]-&gt;page_template) {
    
	case &#039;page-two-column.php&#039;: // Change to your template filename
        add_editor_style(&#039;editor-style-two-column.css&#039;);
        break;
    default:
        add_editor_style(&#039;editor-style.css&#039;);
        break;
    }
}

add_action( &#039;admin_head&#039;, &#039;my_editor_style&#039; );
[/php]</description>
		<content:encoded><![CDATA[<p>I got this to work by using the $GLOBALS['post']-&gt;page_template variable to change my stylesheet based on the current page template&#8230;</p>
<p>Here&#8217;s the modified code:</p>
<pre class="brush: php; title: ; notranslate">
function my_editor_style() {

    switch ($GLOBALS['post']-&amp;gt;page_template) {

	case 'page-two-column.php': // Change to your template filename
        add_editor_style('editor-style-two-column.css');
        break;
    default:
        add_editor_style('editor-style.css');
        break;
    }
}

add_action( 'admin_head', 'my_editor_style' );
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: 29 Wordpress Tweaks to Improve Posts and Pages</title>
		<link>http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/#comment-11869</link>
		<dc:creator>29 Wordpress Tweaks to Improve Posts and Pages</dc:creator>
		<pubDate>Tue, 18 Oct 2011 13:03:23 +0000</pubDate>
		<guid isPermaLink="false">http://wpstorm.net/?p=333#comment-11869</guid>
		<description>[...] [Source: WPStorm] [...]</description>
		<content:encoded><![CDATA[<p>[...] [Source: WPStorm] [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Advanced Layout Templates In WordPress’ Content Editor - Smashing Magazine</title>
		<link>http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/#comment-11766</link>
		<dc:creator>Advanced Layout Templates In WordPress’ Content Editor - Smashing Magazine</dc:creator>
		<pubDate>Sat, 15 Oct 2011 09:28:21 +0000</pubDate>
		<guid isPermaLink="false">http://wpstorm.net/?p=333#comment-11766</guid>
		<description>[...] You can style all of your default content elements in the editor-style.css file, but if you’d like to use a different style sheet entirely for each post type, you can do so with this snippet from WPStorm: [...]</description>
		<content:encoded><![CDATA[<p>[...] You can style all of your default content elements in the editor-style.css file, but if you’d like to use a different style sheet entirely for each post type, you can do so with this snippet from WPStorm: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Advanced Layout Templates In WordPress&#039; Content Editor</title>
		<link>http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/#comment-11744</link>
		<dc:creator>Advanced Layout Templates In WordPress&#039; Content Editor</dc:creator>
		<pubDate>Fri, 14 Oct 2011 15:05:36 +0000</pubDate>
		<guid isPermaLink="false">http://wpstorm.net/?p=333#comment-11744</guid>
		<description>[...] You can style all of your default content elements in the editor-style.css file, but if you’d like to use a different style sheet entirely for each post type, you can do so with this snippet from WPStorm: [...]</description>
		<content:encoded><![CDATA[<p>[...] You can style all of your default content elements in the editor-style.css file, but if you’d like to use a different style sheet entirely for each post type, you can do so with this snippet from WPStorm: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: [Tips] Enhance WordPress TinyMCE editor &#124; WPsharing</title>
		<link>http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/#comment-8489</link>
		<dc:creator>[Tips] Enhance WordPress TinyMCE editor &#124; WPsharing</dc:creator>
		<pubDate>Tue, 26 Apr 2011 09:52:48 +0000</pubDate>
		<guid isPermaLink="false">http://wpstorm.net/?p=333#comment-8489</guid>
		<description>[...] » Source: http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/ [...]</description>
		<content:encoded><![CDATA[<p>[...] » Source: <a href="http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/" rel="nofollow">http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Killer hacks to enhance WordPress editor &#124; redbey</title>
		<link>http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/#comment-8466</link>
		<dc:creator>Killer hacks to enhance WordPress editor &#124; redbey</dc:creator>
		<pubDate>Sun, 24 Apr 2011 04:05:41 +0000</pubDate>
		<guid isPermaLink="false">http://wpstorm.net/?p=333#comment-8466</guid>
		<description>[...] » Source: http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/ [...]</description>
		<content:encoded><![CDATA[<p>[...] » Source: <a href="http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/" rel="nofollow">http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gordon</title>
		<link>http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/#comment-8084</link>
		<dc:creator>Gordon</dc:creator>
		<pubDate>Wed, 30 Mar 2011 22:54:24 +0000</pubDate>
		<guid isPermaLink="false">http://wpstorm.net/?p=333#comment-8084</guid>
		<description>Did you ever find a solution for your question?

This is very helpful, but how would you change the editor style for page templates … in my case, the default page width is the same as for posts, but I also have a “full-width” page template that has a different width.

How could I load a different editor style for a page using the “full-width” page template?

I have the same problem.</description>
		<content:encoded><![CDATA[<p>Did you ever find a solution for your question?</p>
<p>This is very helpful, but how would you change the editor style for page templates … in my case, the default page width is the same as for posts, but I also have a “full-width” page template that has a different width.</p>
<p>How could I load a different editor style for a page using the “full-width” page template?</p>
<p>I have the same problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nqfaq</title>
		<link>http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/#comment-7347</link>
		<dc:creator>Nqfaq</dc:creator>
		<pubDate>Fri, 25 Feb 2011 01:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://wpstorm.net/?p=333#comment-7347</guid>
		<description>I try to do it in my blog, it really help me , the GUI make it easy</description>
		<content:encoded><![CDATA[<p>I try to do it in my blog, it really help me , the GUI make it easy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Расширяем функциональность редактора Wordpress « defreshen</title>
		<link>http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/#comment-6980</link>
		<dc:creator>Расширяем функциональность редактора Wordpress « defreshen</dc:creator>
		<pubDate>Sat, 19 Feb 2011 12:05:31 +0000</pubDate>
		<guid isPermaLink="false">http://wpstorm.net/?p=333#comment-6980</guid>
		<description>[...] Источник: http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Источник: <a href="http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/" rel="nofollow">http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Killer hacks to enhance WordPress editor &#124; Links.d2zone</title>
		<link>http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/#comment-6777</link>
		<dc:creator>Killer hacks to enhance WordPress editor &#124; Links.d2zone</dc:creator>
		<pubDate>Sun, 13 Feb 2011 19:02:38 +0000</pubDate>
		<guid isPermaLink="false">http://wpstorm.net/?p=333#comment-6777</guid>
		<description>[...] break; } } add_action( &#039;admin_head&#039;, &#039;my_editor_style&#039; ); &#187; Source: http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/Display hidden buttons in TinyMCEBy default, the TinyMCE editor have buttons for most common tasks [...]</description>
		<content:encoded><![CDATA[<p>[...] break; } } add_action( &#039;admin_head&#039;, &#039;my_editor_style&#039; ); &raquo; Source: <a href="http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/Display" rel="nofollow">http://wpstorm.net/2010/04/editor-styles-custom-post-types-wordpress-3-0/Display</a> hidden buttons in TinyMCEBy default, the TinyMCE editor have buttons for most common tasks [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

