Forum Replies Created
-
AuthorPosts
-
March 16, 2012 at 10:25 am in reply to: Question on attaching Venue meta data to standard posts. #16850
Jonah
ParticipantHey Gaelan, have you looked at something like http://wordpress.org/extend/plugins/advanced-custom-fields/ or http://wordpress.org/extend/plugins/posts-to-posts/ where you can setup relationships between content like that?
Jonah
ParticipantHi Ricky, are you using the latest version of our plugins both PRO and TEC base (2.0.4)? Try deactivating all other plugins to see if it’s a plugin conflict. Let’s start there…
Jonah
ParticipantHi Ricky, try this… make a copy of /wp-content/plugins/the-events-calendar/resources/events.css and place in an ‘events’ folder in your theme. Then on line 416 remove the !important rules like so:
.eventsListWidget li, .singular.page li.hentry, .eventsAdvancedListWidget li, .singular.page li.hentry {
margin: 6px 0;
padding: 0 0 10px 0;
}
March 16, 2012 at 10:14 am in reply to: Problem with integrating Post Categories and Tags from Tutuorial #16847Jonah
ParticipantHey Jason, you probably need to modify these other loops to include your events since they aren’t included by default. Something like this should work:
add_filter('pre_get_posts', 'query_post_type');
function query_post_type($query) {
if(is_category() || is_tag() || is_archive() || is_search() || is_home() && empty( $query->query_vars['suppress_filters'] ) ) {
$post_type = get_query_var('post_type');
if($post_type)
$post_type = $post_type;
else
$post_type = array('post','tribe_events');
$query->set('post_type',$post_type);
return $query;
}
}
Try placing that in your functions.php file.
Jonah
ParticipantHey Duncan, that error looks related to the theme you’re using (yoo_revista_wp) – I would suggest contacting them to try and sort this out. Have you tried switching to the Twenty Eleven theme? Also, are you running version 2.0.4 of our plugin? If not, make sure you update first.
Jonah
ParticipantSounds good Dave, keep me posted.
Jonah
ParticipantHi Mike, the above code works for me once I take out the tax_query – are you sure you have an event within that range in that category?
March 16, 2012 at 9:05 am in reply to: on list view, can I add code to make a "read more" link below each excerpt? #16841Jonah
ParticipantHi Lynn, sure you can add a read more link to the list view. Just open up /wp-content/plugins/the-events-calendar/views/list.php, copy the contents and create a duplicate file in an ‘events’ folder in your theme. And then add you read more link below the excerpt. Does that help?
Jonah
ParticipantHi Jeremy,
Strange issue, I’d be happy to try and track down the problem for you. Can you please email WordPress admin credentials to jonah [at] tri [dot] be and I’ll take a look?
Thanks,
JonahJonah
ParticipantI also found this in a google search that might help: http://melandri.net/2011/12/31/multiple-categories-filter-in-wordpress-search/
Jonah
ParticipantHi Hunter, our code posting sucks right now but we’ll be improving it soon. For now use pastie.org or gist for pasting code snippets…
This is a bit above my head and more that we can really help with in the forums but I think what you’ll want to do here is modify the query string that’s passed in the URL. So in your form action you’ll want to dynamically pass in whatever was selected in the category drop down. Right now you’ve just got /events/upcoming and you’ll want to change that to events/category/your_selected_cat_name/upcoming/
Another option would be hooking into pre_get_posts (http://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts) and adjusting the query based up on your search parameters there. I hope that helps and please do share whatever solution you come up with.
FYI, we are looking to add functionality like this in a future version too 🙂
March 15, 2012 at 10:14 am in reply to: Question on attaching Venue meta data to standard posts. #16807Jonah
ParticipantHi Gaelan, this would be fairly complex and we cannot provide a solution for this. Can I ask why you want to be able to save venue data for standard posts when you could just use the events post type?
Jonah
ParticipantHi Robert, nice styling job! To modify the markup in the widget simply override the /wp-content/plugins/events-calendar-pro/views/events-advanced-list-load-widget-display.php file placing a copy in an ‘events’ folder in your theme and making any changes you want. That should do it but let me know if you have any questions.
Jonah
ParticipantHi Patti, interesting issue… There have been other reports of issues with the page title and part of the problem has to do with the way we have the templates setup which is going to be changing soon in an upcoming version. For now, you’ll need to hard code in the titles but actually this is nice because it will give you more control. So, depending on what you have set for your template option in Settings > The Events Calendar (Default Events Template or Default Page Template), you’ll want to modify one of two files.
If you’re using the Default Events Template you’ll want to modify: /wp-content/plugins/the-events-calendar/views/ecp-page-template.php – make a copy of that file and place in an ‘events’ folder in your theme. Then open it up in your editor of choice and replace the block on line 19 with: https://gist.github.com/2045249
If you’re using the Default Page Template you’ll want to modify the page.php template file in your theme with the same code wherever the_title() is called.
Does that help?
Jonah
ParticipantSounds good Yazmin, keep me posted!
-
AuthorPosts
