<?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: Menus not working with Ampersand</title>
		<link>http://www.themolitor.com/forums/topic/menus-not-working-with-ampersand</link>
		<description>THE MOLITOR FORUMS &#187; Topic: Menus not working with Ampersand</description>
		<language>en-US</language>
		<pubDate>Sat, 02 May 2026 23:49: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/menus-not-working-with-ampersand" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "Menus not working with Ampersand"</title>
			<link>http://www.themolitor.com/forums/topic/menus-not-working-with-ampersand#post-25114</link>
			<pubDate>Wed, 27 Nov 2013 13:03:13 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">25114@http://www.themolitor.com/forums/</guid>
			<description><p>You bet!
</p></description>
		</item>
		<item>
			<title>howardsays on "Menus not working with Ampersand"</title>
			<link>http://www.themolitor.com/forums/topic/menus-not-working-with-ampersand#post-25111</link>
			<pubDate>Wed, 27 Nov 2013 12:27:37 +0000</pubDate>
			<dc:creator>howardsays</dc:creator>
			<guid isPermaLink="false">25111@http://www.themolitor.com/forums/</guid>
			<description><p>Hi Chris,</p>
<p>That totally worked! Thank you!</p>
<p>Cheers,<br />
Howard
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Menus not working with Ampersand"</title>
			<link>http://www.themolitor.com/forums/topic/menus-not-working-with-ampersand#post-25054</link>
			<pubDate>Tue, 26 Nov 2013 11:18:37 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">25054@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Not all characters are supported for the menu items (for example: "<code>/</code>" and "<code>?</code>"). Here's how you can make them work...</p>
<p>Open up "header.php" and locate the following on line 149...</p>
<pre><code>$titleId = str_replace(&#34; &#34;, &#34;-&#34;, $title);</code></pre>
<p>...and change it to this...</p>
<pre><code>$titleId = str_replace(array(&#039;:&#039;, &#039;é&#039;, &#039;/&#039;, &#039;*&#039;,&#039; &#039;,&#039;?&#039;,&#039;&#38;&#039;), &#34;-&#34;, $title);</code></pre>
<p>Notice I've added <code>array(&#039;:&#039;, &#039;é&#039;, &#039;/&#039;, &#039;*&#039;,&#039;&#039;,&#039;?&#039;,&#039;&#38;&#039;)</code>, which contains a bunch of characters. Just add characters to this array to add support for additional items. Example: <code>array(&#039;:&#039;, &#039;é&#039;, &#039;/&#039;, &#039;*&#039;,&#039; &#039;,&#039;?&#039;,&#039;&#38;&#039;,&#039;...&#039;)</code> adds support for <code>...</code></p>
<p>Let me know if that helps.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>howardsays on "Menus not working with Ampersand"</title>
			<link>http://www.themolitor.com/forums/topic/menus-not-working-with-ampersand#post-25031</link>
			<pubDate>Tue, 26 Nov 2013 07:59:50 +0000</pubDate>
			<dc:creator>howardsays</dc:creator>
			<guid isPermaLink="false">25031@http://www.themolitor.com/forums/</guid>
			<description><p>Hi, </p>
<p>I have several pages in the menu. the one with an ampersand in the name doesn't work.  For example, when loading the site for the first time, I am able to click on the page "Bride &#38; Groom" (url shows "http://www.lisa-howard.com/?menu=bride-&#38;-groom") and then am able to navigate to any other page.  However, if I am on any other page, when I try to click back to "Bride &#38; Groom", the page doesn't load.  For example, while on the gallery page, the url shows "/?menu=gallery#bride-&#38;-groom", which is wrong.  I am expecting the url to be "/?menu=bride-&#38;-groom", which would get me back to the front page.  When I remove the ampersand from the navigation label, the link works properly.  I also tried using &#38;, but wordpress overwrites the character code and inserts the ampersand so the menu is still broken.  </p>
<p>Any ideas? </p>
<p>Thanks,<br />
Howard
</p></description>
		</item>

	</channel>
</rss>
