Forum Replies Created
-
AuthorPosts
-
Jonah
ParticipantHi Dave,
You should be able to do this with a Custom recurrence pattern. Take a look at this screenshot for an example of how to set it up: http://cl.ly/2N1Z3V392D1B3h003i3Q
Let me know whether or not that helps.
Thanks,
JonahJune 18, 2012 at 10:49 am in reply to: Startdate and desc in one line (events list advanced widget) #20788Jonah
ParticipantHi Bjarne,
If you grab a copy of /wp-content/plugins/events-calendar-pro/views/events-advanced-list-load-widget-display.php and place in an ‘events’ folder inside your theme, you can change anything you want there PHP wise. If you want to position things differently you could also use CSS to help you with this. That should get you started in right direction.
I hope that helps!
– Jonah
Jonah
ParticipantHi Tony,
You could do this with a custom query somehow in your theme templates. I can’t provide all the instruction here but you could use either WP_Query or tribe_get_events() (https://theeventscalendar.com/support/documentation/the-events-calendar-template-tags-general-functions/#functiontribe_get_events) to get you started. Once you get a query setup it will just be a matter of styling everything with CSS.
Hopefully that helps!
– Jonah
Jonah
ParticipantHi Asem,
Well, you’ll want to work with the theme developer to try and get the issue resolved. Let us know if there’s anything else we can do.
Thanks,
JonahJonah
ParticipantSo does that give you everything you need here Tony?
– Jonah
Jonah
ParticipantHey Denis,
No you change the operator used for the tax_query to ‘NOT IN’ and then have it exclude. You can read more up on tax_query here: http://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters
I hope that helps!
– Jonah
Jonah
ParticipantHey Nathan,
Glad that helped! You can check out all functions, etc. in our documentation: https://theeventscalendar.com/support/documentation/
Let me know if you need anything else.
Cheers,
JonahJonah
ParticipantHey Chris,
For the other fields you’re going to need to reference each one specifically. Let me know if you have any other questions.
Thanks,
JonahJonah
ParticipantHey Denis, how about this:
add_action( 'pre_get_posts', 'exclude_events_category' );
function exclude_events_category( $query ) {if ( $query->query_vars['eventDisplay'] == 'upcoming' || $query->query_vars['eventDisplay'] == 'past' || $query->query_vars['eventDisplay'] == 'month' && $query->query_vars['post_type'] == TribeEvents::POSTTYPE && !is_tax(TribeEvents::TAXONOMY) && empty( $query->query_vars['suppress_filters'] ) ) {
$query->set( 'tax_query', array(
array(
'taxonomy' => TribeEvents::TAXONOMY,
'field' => 'slug',
'terms' => array('presentations'),
'operator' => 'IN'
)
)
);
}return $query;
}
Jonah
ParticipantAwesome! I’m closing the thread then. Please let us know if there’s anything we can do for you!
– Jonah
Jonah
ParticipantHey Chris,
Yep, so what you’ll need to do is remove the stock code for displaying custom event fields and then conditionally display all the fields you want to display in whatever order you want them. You can run a conditional check for your registration field before it’s displayed like so:
if(tribe_get_custom_field('Registration')) {
//display the dt/dd tags and custom field
}
Make sure to wrap the above in appropriate PHP code too 😉– Jonah
Jonah
ParticipantHey Chris,
Ok, all you’ve got to do is make a copy of /wp-content/plugins/events-calendar-pro/views/events-advanced-list-load-widget-display.php and place in an ‘events’ folder in your theme.
Open that in a text editor and find line 49:
echo ' ('.__('All Day','tribe-events-calendar-pro').')';
add the following right below that:
echo '' . __('Ends', 'tribe-events-calendar-pro') . ' ';
echo tribe_get_end_date($post->ID);
That should do it!
Jonah
ParticipantHi Chris,
Unfortunately this is a bit more complex because it involves modifying your theme and how your theme spits out page titles. Please see this post for the workaround: https://theeventscalendar.com/support/forums/topic/calendar-page-title-shows-title-of-an-event-and-wont-change/
Cheers,
JonahJune 17, 2012 at 8:26 pm in reply to: Including my theme's already defined social media functions into my event #20753Jonah
ParticipantHey ariskat,
I don’t believe we have an option for including sharing (maybe you are using a different plugin?) but I’m glad you figured it out 🙂
– Jonah
Jonah
ParticipantHey Tony,
You should be able to do this with pure CSS. Have you tried floating the li elements for each event?
For instance, simply applying this CSS should get you started:
.eventsListWidget li, .eventsAdvancedListWidget li {
float: left;
width: 120px;
}
– Jonah -
AuthorPosts
