Forum Replies Created
-
AuthorPosts
-
June 12, 2015 at 9:35 am in reply to: Removing events from separate calendar in main events view #969141JustinParticipant
Man its been a long day. I see it now. Sorry about the misunderstanding.
June 12, 2015 at 9:34 am in reply to: Removing events from separate calendar in main events view #969140JustinParticipantI don’t have the events calendar installed
June 12, 2015 at 9:31 am in reply to: Removing events from separate calendar in main events view #969139JustinParticipantI understand please look at the attached pic. I don’t have anything but pro in the view folder.
June 12, 2015 at 9:16 am in reply to: Removing events from separate calendar in main events view #969131JustinParticipantI don’t see this file. Please assist.
My folder structure is as follows. These seem to be old instructions.
wp-content\plugins\events-calendar-pro\views\pro
Thanks
June 8, 2015 at 6:34 am in reply to: Removing events from separate calendar in main events view #967779JustinParticipantSorry for the late reply yes. Had another emergency come up. Those items are from another calendar category called Southeastern Raptor Center.
JustinParticipantThanks I was looking for this in the the events calendar settings. Its in the general wordpress settings.
Thanks
JustinParticipantThanks for your help with that function call. It works like it should now.
JustinParticipantBefore we look into my homepage issue I need assistance to properly isolate a calendar category.
As you can see from my posted code snippet and from your observation I was able to isolate the month view.
Unfortunately, it is still showing in list view on the main calendar and not showing at all on the following page
http://www.vetmed.auburn.edu/events/category/src-events/
Please answer the following.
1. How can I remove my category form the list view of the main calendar?
2. How can I get my category to show in a month and list view on http://www.vetmed.auburn.edu/events/category/src-events/Thanks
JustinParticipantSorry about the link error
http://www.vetmed.auburn.edu/event/src-test-event/
http://www.vetmed.auburn.edu/events/category/src-events/
What I am saying is I am trying to isolate a calendar so it does not show on the main calendar but a category.
I used the following code I found in your knowledge base.
/** * Exclude Categories from Month View of the Events Calendar */ add_action( 'pre_get_posts', 'exclude_events_category' ); function exclude_events_category( $query ) { if( tribe_is_month() && !is_tax() ) { // Month View Page $query->set( 'tax_query', array( array( 'taxonomy' => TribeEvents::TAXONOMY, 'field' => 'slug', 'terms' => array('src-events'), 'operator' => 'NOT IN' ) ) ); } return $query; }
Unfortunately its still showing up on the following page
http://www.vetmed.auburn.edu/ (please scroll down to see events and activities)
How can I properly isolate a calendar category
JustinParticipantExclude One Category from Events Listing. So for example.
add_action( 'pre_get_posts', 'exclude_events_category' ); function exclude_events_category( $query ) { if( tribe_is_month() && !is_tax() ) { // Month View Page $query->set( 'tax_query', array( array( 'taxonomy' => TribeEvents::TAXONOMY, 'field' => 'slug', 'terms' => array('src-events'), 'operator' => 'NOT IN' ) ) ); } return $query; }
The events from my category are still showing on my home page.
<a href="<?php echo the_permalink(); ?>"> <h4 class="cal-icon"><?php echo tribe_get_start_date($post->ID, true, 'F j, Y'); ?></h4></a> <p><?php echo tribe_get_start_time(); ?> - <?php echo tribe_get_end_time(); ?></p> <a href="<?php echo the_permalink(); ?>"> <h4 class="event-icon"><?php the_title(); ?></h4></a> <a href="<?php echo the_permalink(); ?>"> <h4 class="loc-icon"><?php echo tribe_get_venue( '$venue_ID' ); ?></h4></a>
Then when I get to day view and click another event it jumps from
http://wptest.vetmed.auburn.edu/events/category/src-events/
to
http://wptest.vetmed.auburn.edu/event/society-of-physics-students/
It loses the category please assist.
Thanks
JustinParticipantsorry i found it under event settings under network
JustinParticipantMy licence field is not showing. I followed the directions.
-
AuthorPosts