<?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: Problem with main calendar and categories</title>
		<link>http://www.themolitor.com/forums/topic/problem-with-main-calendar-and-categories</link>
		<description>THE MOLITOR FORUMS &#187; Topic: Problem with main calendar and categories</description>
		<language>en-US</language>
		<pubDate>Tue, 28 Apr 2026 22:24:36 +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/problem-with-main-calendar-and-categories" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "Problem with main calendar and categories"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-main-calendar-and-categories#post-19594</link>
			<pubDate>Wed, 20 Mar 2013 12:05:54 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">19594@http://www.themolitor.com/forums/</guid>
			<description><p>[I updated the instructions above. Refresh the page to view updates]
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Problem with main calendar and categories"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-main-calendar-and-categories#post-19593</link>
			<pubDate>Wed, 20 Mar 2013 12:00:49 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">19593@http://www.themolitor.com/forums/</guid>
			<description><p>Alrighty! </p>
<p>I've totally re-written the filter script. I've changed it to work with the category id instead of the name, so the accents and number of words have no impact anymore. Here's what to do...</p>
<p>Open up "calendar.php" and change the following on line 9 from this...</p>
<pre><code>&#60;li&#62;&#60;a class=&#34;active&#34; href=&#34;#&#34;&#62;&#60;?php echo get_cat_name($eventCat); ?&#62;&#60;/a&#62;&#60;/li&#62;</code></pre>
<p>...to this...</p>
<pre><code>&#60;li&#62;&#60;a class=&#34;active allEvents&#34; href=&#34;#&#34;&#62;&#60;?php echo get_cat_name($eventCat); ?&#62;&#60;/a&#62;&#60;/li&#62;</code></pre>
<p>And change the following on line 41 from this...</p>
<pre><code>&#60;li class=&#34;box postEvent&#60;?php foreach((get_the_category()) as $category) {echo &#039; &#039;.$category-&#62;category_nicename.&#039;&#039;;}?&#62;&#34;&#62;</code></pre>
<p>...to this...</p>
<pre><code>&#60;li class=&#34;box postEvent&#60;?php foreach((get_the_category()) as $category) {echo &#039; cat-item-&#039;.$category-&#62;cat_ID.&#039;&#039;;}?&#62;&#34;&#62;</code></pre>
<p>Open "custom.js" in the scripts folder and change the following on lines 3-18 from this...</p>
<pre><code>//FILTER EFFECTS &#38; APPEARANCE
var filterLink = jQuery(&#039;#filter a&#039;);
filterLink.click(function(){

	jQuery(&#039;li.box&#039;).removeClass(&#039;hideMe&#039;);

	filterLink.not(this).removeClass(&#039;active&#039;);
	jQuery(this).addClass(&#039;active&#039;);

	var activeCat = jQuery(this).html().toLowerCase().replace(/ /g,&#039;&#039;);

	jQuery(&#039;li.postEvent&#039;).not(&#039;li.&#039;+ activeCat).addClass(&#039;hideMe&#039;).children().stop(true,true).animate({opacity:&#34;.1&#34;},350);
	jQuery(&#039;li.&#039;+ activeCat).children().stop(true,true).animate({opacity:&#34;1&#34;},350);

	return false;
});</code></pre>
<p>...to this...</p>
<pre><code>//FILTER EFFECTS &#38; APPEARANCE
var filterLink = jQuery(&#039;#filter a&#039;);
filterLink.click(function(){

	jQuery(&#039;li.box&#039;).removeClass(&#039;hideMe&#039;);

	filterLink.not(this).removeClass(&#039;active&#039;);
	jQuery(this).addClass(&#039;active&#039;);

	if(jQuery(this).hasClass(&#039;allEvents&#039;)){
	      jQuery(&#039;li.postEvent&#039;).removeClass(&#039;hideMe&#039;).children().stop(true,true).animate({opacity:&#34;1&#34;},350);
	} else {
		var activeCat = jQuery(this).parent(&#039;li&#039;).removeClass(&#039;cat-item&#039;).attr(&#039;class&#039;);
		jQuery(&#039;li.postEvent&#039;).not(&#039;li.&#039;+ activeCat).addClass(&#039;hideMe&#039;).children().stop(true,true).animate({opacity:&#34;.1&#34;},350);
		jQuery(&#039;li.&#039;+ activeCat).children().stop(true,true).animate({opacity:&#34;1&#34;},350);
	}		

	return false;
});</code></pre>
<p>That should do the trick.</p>
<p>Thanks!</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Denis on "Problem with main calendar and categories"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-main-calendar-and-categories#post-19545</link>
			<pubDate>Tue, 19 Mar 2013 09:50:25 +0000</pubDate>
			<dc:creator>Denis</dc:creator>
			<guid isPermaLink="false">19545@http://www.themolitor.com/forums/</guid>
			<description><p>Hi again,</p>
<p>I need to know when you think my issues can be solved (if it's hours or days). If it's too long for my client needs, I have to search and purchase another WP theme (which is bad because this theme concept is really great and perfect)...</p>
<p>Sorry, I would have preferred to ask you this question in private but I can't find another way to contact you...</p>
<p>Thanks
</p></description>
		</item>
		<item>
			<title>Denis on "Problem with main calendar and categories"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-main-calendar-and-categories#post-19534</link>
			<pubDate>Tue, 19 Mar 2013 05:47:22 +0000</pubDate>
			<dc:creator>Denis</dc:creator>
			<guid isPermaLink="false">19534@http://www.themolitor.com/forums/</guid>
			<description><p>I just noticed one more bug (or maybe it's the same): <a href="http://www.test.denispaquet.com/wordpress-theme01/" rel="nofollow">http://www.test.denispaquet.com/wordpress-theme01/</a></p>
<p>Even if the parent category is single word, for some reason, when I click on "Parent", MAR-18 and DEC-23 are grayed out...
</p></description>
		</item>
		<item>
			<title>Denis on "Problem with main calendar and categories"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-main-calendar-and-categories#post-19521</link>
			<pubDate>Mon, 18 Mar 2013 15:21:55 +0000</pubDate>
			<dc:creator>Denis</dc:creator>
			<guid isPermaLink="false">19521@http://www.themolitor.com/forums/</guid>
			<description><p>Ok thanks for your feedback...
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Problem with main calendar and categories"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-main-calendar-and-categories#post-19520</link>
			<pubDate>Mon, 18 Mar 2013 14:58:14 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">19520@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Gotcha. I'll have to look into this. I'm marking this thread "pending review" so I can come back to it.</p>
<p>Thanks!</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Denis on "Problem with main calendar and categories"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-main-calendar-and-categories#post-19515</link>
			<pubDate>Mon, 18 Mar 2013 14:49:41 +0000</pubDate>
			<dc:creator>Denis</dc:creator>
			<guid isPermaLink="false">19515@http://www.themolitor.com/forums/</guid>
			<description><p>See the event on December 23 is in the category "Montréal": <a href="http://www.test.denispaquet.com/wordpress-theme01/" rel="nofollow">http://www.test.denispaquet.com/wordpress-theme01/</a>
</p></description>
		</item>
		<item>
			<title>Denis on "Problem with main calendar and categories"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-main-calendar-and-categories#post-19512</link>
			<pubDate>Mon, 18 Mar 2013 14:43:59 +0000</pubDate>
			<dc:creator>Denis</dc:creator>
			<guid isPermaLink="false">19512@http://www.themolitor.com/forums/</guid>
			<description><p>Ok and it looks like if I use a name like Montréal (with the accent), it's also a problem...When I remove the accent, it's working...
</p></description>
		</item>
		<item>
			<title>Denis on "Problem with main calendar and categories"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-main-calendar-and-categories#post-19511</link>
			<pubDate>Mon, 18 Mar 2013 14:39:38 +0000</pubDate>
			<dc:creator>Denis</dc:creator>
			<guid isPermaLink="false">19511@http://www.themolitor.com/forums/</guid>
			<description><p>Humm yes it's working with a single word (now the name is Parent). But does this mean that my categories have to be single words or there is a fix for this? Because a few of my categories will have 2 or 3 words and the parent category should be "Toutes les régions"</p>
<p>(strange thing is that it's still not working on my local site with the name "Parent")</p>
<p>If you can direct me on how to fix this issue, I can play around with the code. I'm not a programmer but I did a lot of themes for Wordpress...</p>
<p>I need to make sure the theme is working all fine before I start working on this website for a client... </p>
<p>Thanks</p>
<p>Denis
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Problem with main calendar and categories"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-main-calendar-and-categories#post-19506</link>
			<pubDate>Mon, 18 Mar 2013 14:18:36 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">19506@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Try making the category name a single word. Let me know if that fixes the issue.</p>
<p>Thanks!</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Denis on "Problem with main calendar and categories"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-main-calendar-and-categories#post-19499</link>
			<pubDate>Mon, 18 Mar 2013 12:24:46 +0000</pubDate>
			<dc:creator>Denis</dc:creator>
			<guid isPermaLink="false">19499@http://www.themolitor.com/forums/</guid>
			<description><p>Ok I have tried to install the theme on my local version of Wordpress and by changing my permalinks preferences, I can make the months work on the main calendar. But the categories still don't work...</p>
<p>Can you please help me with this. Thanks...
</p></description>
		</item>
		<item>
			<title>Denis on "Problem with main calendar and categories"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-main-calendar-and-categories#post-19497</link>
			<pubDate>Mon, 18 Mar 2013 11:30:54 +0000</pubDate>
			<dc:creator>Denis</dc:creator>
			<guid isPermaLink="false">19497@http://www.themolitor.com/forums/</guid>
			<description><p>Hi,</p>
<p>I just purchased the Eventure theme and I have a problem when I test it... See my link:</p>
<p><a href="http://www.test.denispaquet.com/wordpress-theme01/" rel="nofollow">http://www.test.denispaquet.com/wordpress-theme01/</a></p>
<p>If you click on the categories on the top of the calendar, it will show the posts associated with them but if you click on "TOUTES LES CATS" it will not show all the categories. "TOUTES LES CATS" is selected the general theme options (under Events category)</p>
<p>There is also a problem when I click on one of the months. It displays a page not found...</p>
<p>I'm sure it's not a big thing but I can't see what to do..</p>
<p>(sorry for my bad english!)</p>
<p>Denis
</p></description>
		</item>

	</channel>
</rss>
