<?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>THE MOLITOR FORUMS &#187; Topic: HTML appearing in titles</title>
		<link>http://www.themolitor.com/forums/topic/html-appearing-in-titles</link>
		<description>THE MOLITOR FORUMS &#187; Topic: HTML appearing in titles</description>
		<language>en-US</language>
		<pubDate>Tue, 28 Apr 2026 15:28:46 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.themolitor.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.themolitor.com/forums/rss/topic/html-appearing-in-titles" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "HTML appearing in titles"</title>
			<link>http://www.themolitor.com/forums/topic/html-appearing-in-titles#post-28105</link>
			<pubDate>Thu, 27 Mar 2014 09:42:44 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">28105@http://www.themolitor.com/forums/</guid>
			<description><p>Awesome! Thanks for following up and sharing your findings :-)</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>VesnaVK on "HTML appearing in titles"</title>
			<link>http://www.themolitor.com/forums/topic/html-appearing-in-titles#post-28091</link>
			<pubDate>Wed, 26 Mar 2014 17:21:39 +0000</pubDate>
			<dc:creator>VesnaVK</dc:creator>
			<guid isPermaLink="false">28091@http://www.themolitor.com/forums/</guid>
			<description><p>Confirmed: the_title_trim() is the only place that needed to change. I didn't change the method name; just the <code>&#039;the_title&#039;</code> string that's the first argument in <code>add_filter()</code>.</p>
<p>I found out when I installed the new 1.2.0 update and wanted to narrow down what really needed to change.
</p></description>
		</item>
		<item>
			<title>VesnaVK on "HTML appearing in titles"</title>
			<link>http://www.themolitor.com/forums/topic/html-appearing-in-titles#post-28089</link>
			<pubDate>Wed, 26 Mar 2014 15:11:20 +0000</pubDate>
			<dc:creator>VesnaVK</dc:creator>
			<guid isPermaLink="false">28089@http://www.themolitor.com/forums/</guid>
			<description><p>Hi Chris,</p>
<p>Thanks for your quick reply. Just dropping a line to let you know I solved the problem. Turning the_title() into the_title_attribute() was indeed the answer, as the plugin folks said. In functions.php, in the_title_trim() method, I changed the line...</p>
<pre><code>add_filter(&#039;the_title&#039;, &#039;the_title_trim&#039;);</code></pre>
<p>...to...<br />
<pre><code>add_filter(&#039;the_title_attribute&#039;, &#039;the_title_trim&#039;);</code></pre>
<p>I think that's what did the trick.</p>
<p>By the way, on the theme page on ThemeForest, I see my feedback is featured customer review. Very cool!!
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "HTML appearing in titles"</title>
			<link>http://www.themolitor.com/forums/topic/html-appearing-in-titles#post-28007</link>
			<pubDate>Mon, 24 Mar 2014 09:07:43 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">28007@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>As far as I know, HTML is not supported at all in the WordPress title fields. I'm not aware of any method to make that work, so my best suggestion is to search for customizations/ideas posted in the WordPress forums: <a href="http://wordpress.org/support" rel="nofollow">http://wordpress.org/support</a></p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>VesnaVK on "HTML appearing in titles"</title>
			<link>http://www.themolitor.com/forums/topic/html-appearing-in-titles#post-27989</link>
			<pubDate>Sat, 22 Mar 2014 20:00:33 +0000</pubDate>
			<dc:creator>VesnaVK</dc:creator>
			<guid isPermaLink="false">27989@http://www.themolitor.com/forums/</guid>
			<description><p>HTML tags appear in certain titles, so that on<br />
<a href="http://how-to-cook-with-vesna.com/downloads/cooking-with-vesna-cookbook" rel="nofollow">http://how-to-cook-with-vesna.com/downloads/cooking-with-vesna-cookbook</a><br />
appears as<br />
&#60;span itemprop="name"&#62;Cooking With Vesna: the ebook cookbook&#60;/span&#62; - See more at: <a href="http://how-to-cook-with-vesna.com/downloads/cooking-with-vesna-cookbook#sthash.NYuM9qDS.dpuf" rel="nofollow">http://how-to-cook-with-vesna.com/downloads/cooking-with-vesna-cookbook#sthash.NYuM9qDS.dpuf</a></p>
<p>The post is created by the Easy Digital Downloads plugin. The EDD people say that the solution is to use the_title_attribute() instead of the_title(). Here's their reasoning:<br />
<a href="http://pippinsplugins.com/use-the_title-and-the_title_attribute-correctly/" rel="nofollow">http://pippinsplugins.com/use-the_title-and-the_title_attribute-correctly/</a><br />
<a href="http://sumobi.com/how-to-fix-the-strange-html-markup-in-download-titles/" rel="nofollow">http://sumobi.com/how-to-fix-the-strange-html-markup-in-download-titles/</a><br />
They says it's because they use Microdata (<a href="http://en.wikipedia.org/wiki/Microdata_(HTML)" rel="nofollow">http://en.wikipedia.org/wiki/Microdata_(HTML)</a>) to wrap the title.</p>
<p>I changed it on single.php and everywhere else that seemed reasonable, but the span tag still appears. </p>
<p>I know it's not your plugin, but do you have any ideas? Any thoughts about the_title() versus the_title_attribute()? </p>
<p>Thank you for any advice you might be able to provide -- including alternative recommendations for how to provide digital downloads on my Kitchen Table site!</p>
<p>Vesna
</p></description>
		</item>

	</channel>
</rss>
