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

		<item>
			<title>THE MOLITOR on "Problem with events in main callendar"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-events-in-main-callendar#post-17764</link>
			<pubDate>Wed, 23 Jan 2013 15:20:29 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">17764@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>The black box with month/year at the beginning of the month is normal (see demo site). </p>
<p>As I mentioned on ThemeForest, I don't support/troubleshoot issues with custom code. You'll need to retrace your edits or replace the calendar.php file with the original to fix any issues you're having.</p>
<p>If you want the calendar to display or function differently, please submit a customization request here: <a href="http://themolitor.com/custom" rel="nofollow">http://themolitor.com/custom</a></p>
<p>Thanks!</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>MartinMartinN on "Problem with events in main callendar"</title>
			<link>http://www.themolitor.com/forums/topic/problem-with-events-in-main-callendar#post-17731</link>
			<pubDate>Tue, 22 Jan 2013 15:35:48 +0000</pubDate>
			<dc:creator>MartinMartinN</dc:creator>
			<guid isPermaLink="false">17731@http://www.themolitor.com/forums/</guid>
			<description><p>Hi:) I have a problem with main calendar. I have multiple events per day, all within a single month. Currently there is a black box at the beginning of the month.</p>
<p>Now after my little modification in calendar.php I have a black box with the "Day Date and month" listed before the numerous events of each day. So its great but I have next problem.</p>
<p>Now I have black boc with day and month and after that I have events with that same date....and it is good, but when I click in the black box with date and month , calendar show me events not from one that same day but form every events in the month and it is big problem for me. I want to black box show me every events from one that ame day EXEACTLY THAT SAME LIKE IN MINI CALLENDAR IN THE SIDE BAR. </p>
<p>Please tell me what I must do? What is wrong? </p>
<p>This is my editor code form calendar.php after modification:</p>
<pre><code>&#60;?php
//OptionTree Stuff
$eventCat = ot_get_option(&#039;event_cat&#039;);
?&#62;

&#60;!--FILTER--&#62;
&#60;div id=&#34;filter&#34; class=&#34;blackBar&#34;&#62;

&#60;ul&#62;
&#60;li&#62;&#60;a href=&#34;#&#34;&#62;&#60;?php echo get_cat_name($eventCat); ?&#62;&#60;/a&#62;&#60;/li&#62;
	&#60;?php
	$cats = wp_list_categories(&#039;child_of=&#039;.$eventCat.&#039;&#38;title_li=&#38;echo=0&#039;);
	if (!strpos($cats,&#039;No categories&#039;) ){
		echo $cats;
	}
	?&#62;
&#60;/ul&#62;
&#60;/div&#62;

&#60;!--UL DATE LIST--&#62;
&#60;ul id=&#34;dateList&#34;&#62;
&#60;?php
$prev_day = &#039;&#039;;
$prev_month = &#039;&#039;;
$temp = $wp_query;
$wp_query= null;
$wp_query = new WP_Query();
$wp_query-&#62;query(&#039;order=ASC&#38;cat=&#039;.$eventCat.&#039;&#38;showposts=200&#039;.&#039;&#38;paged=&#039;.$paged);
while ($wp_query-&#62;have_posts()) : $wp_query-&#62;the_post();
if(get_the_time(&#039;d&#039;) != $prev_day &#124;&#124; get_the_time(&#039;M&#039;) != $prev_year){
?&#62;

	&#60;li class=&#34;box monthYear&#34; id=&#34;&#60;?php echo get_the_time(&#039;d&#039;); echo get_the_time(&#039;M&#039;); ?&#62;&#34;&#62;
		&#60;a&#62;/&#60;?php echo get_the_time(&#039;Y/m&#039;); ?&#62;&#34;&#62;
			&#60;span&#62;&#60;?php echo get_the_time(&#039;d&#039;); ?&#62;&#60;/span&#62;
			&#60;?php echo get_the_time(&#039;M&#039;); ?&#62;
		&#60;/a&#62;

&#60;?php }	?&#62;

	&#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;
		&#60;a&#62;&#34;&#62;
			&#60;span class=&#34;theDay&#34;&#62;&#60;?php echo get_the_time(&#039;d&#039;); ?&#62;&#60;/span&#62;
			&#60;p class=&#34;theTitle&#34;&#62;
				&#60;span&#62;&#60;?php echo get_the_time(&#039;D @ G:i &#039;); ?&#62;&#60;/span&#62;
				&#60;?php echo the_title(); ?&#62;
			&#60;/p&#62;
		&#60;/a&#62;                    

&#60;?php
$prev_day = get_the_time(&#039;d&#039;);
$prev_year = get_the_time(&#039;M&#039;);
endwhile;
$wp_query = null;
$wp_query = $temp;?&#62;

&#60;li class=&#34;box&#34; id=&#34;theEnd&#34;&#62;&#60;?php _e(&#34;The End.&#34;);?&#62;
&#60;!--END DATE LIST--&#62;</code></pre></description>
		</item>

	</channel>
</rss>
