Forum Replies Created
-
AuthorPosts
-
Jonah
ParticipantHi alonso, I can’t event access your feed at http://quadtreffen.info/termine/monat/feed – can you? Where is the feed you are working with? Have you tried deactivating all other plugins to see if there is anything conflicting here?
– Jonah
Jonah
ParticipantHey agape,
I’m glad you got this figured out and thanks for sharing your code! I’m sure it will help somebody else.
Cheers,
JonahJonah
ParticipantHi alonso, make sure when adding to your functions.php you are adding it properly with opening/closing PHP tags. That’s probably why you’re getting a blank page.
March 29, 2013 at 9:19 am in reply to: Recommended Newsletter Plug-in that can use Event Calendar PRO Events #44349Jonah
ParticipantNo problem bodin, I hope that works out for you!
Jonah
ParticipantHi alonso, I’m not understanding your replies. Also, the feed would be located at http://www.yourdomain.com/events/feed – http://quadtreffen.info/feed/ will not contain your events by default without some modification.
– Jonah
Jonah
ParticipantHi alonso, please see our FAQ on this: https://theeventscalendar.com/faqs/how-can-i-customize-the-events-rss-feed/
– Jonah
March 29, 2013 at 8:05 am in reply to: Recommended Newsletter Plug-in that can use Event Calendar PRO Events #44339Jonah
ParticipantHi bodin,
This looks like it might be your best bet: http://wordpress.org/extend/plugins/wysija-newsletters/
– Jonah
March 29, 2013 at 8:02 am in reply to: Monthly navigation ugly even after attempting FAQ fix. #44337Jonah
ParticipantHi gracebiblechurch,
There’s a few simply CSS fixes you can make to fix this. Add the following to your theme’s style.css:
#tribe-events-content .tribe-events-month-nav {
width: 50%;
}#tribe-events-calendar-header {
position: relative;
}#tribe-events-calendar-header .tribe-events-prev-month {
float: left;
}#tribe-events-events-month, #tribe-events-events-year {
display: inline;
}
Let me know whether or not that helps.– Jonah
Jonah
ParticipantHi agape,
First, yes, pre_get_posts can be used to affect the query anywhere. I suggest reading more on it here: http://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts – I probably made it more confusing by adding the is_home() check, but that’s how I was testing it locally. To have it affect a category page, you should be able to use is_category() (again, try looking at the codex to verify everything is correct: http://codex.wordpress.org/Function_Reference/is_category). I’m not sure why your navigation is getting messed up. There’s not much more I can do here to help you. You’re just going to need to do some trial and error to get things working.
To add category or tag support or support for custom taxonomies, use this snippet in functions.php: https://gist.github.com/jo-snips/5271256
I hope that helps!
– Jonah
Jonah
ParticipantHi Jo,
Unfortunately there’s not much more we can do here if the theme creator is not willing to meet us half way. If you can convince them to work with you or us a little more we can revisit this, but we’ve exhausted all our resources on this up to this point. I’m sorry there’s nothing else we can do for you. If you have any questions or need any other assistance, please let us know.
Regards,
JonahJonah
ParticipantYou’re welcome alonso, let us know if you need anything else.
Thanks,
JonahMarch 28, 2013 at 2:15 pm in reply to: Display only events by a specific author, on the author template page. #44298Jonah
ParticipantYep, WP_Query can be used to query any post type (which includes posts and pages) 🙂 Yes, getting events by a certain category is easy. You use tax_query for this: https://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters – the taxonomy is ‘tribe_events_cat’ and then you can use ID or slug as documented in the codex.
I hope that helps, but let me know if you have any other questions.
– Jonah
March 28, 2013 at 1:43 pm in reply to: Event Listing excluding a category and listing showing only that category #44294Jonah
ParticipantAhh yes, thanks for pointing that out Jeff. So are you all set here?
– Jonah
March 28, 2013 at 1:30 pm in reply to: Display only events by a specific author, on the author template page. #44291Jonah
ParticipantHi Glen,
There’s a few ways you could do this but generally you’ll want to setup a custom query using WP_Query – here is an example to get you started: https://gist.github.com/jo-snips/4447338 – with WP_Query you can pass in any other args you want to use, like author for example. If you put the query into your author template, you’ll already have the author ID that you can pass to the query as an arg.
Does that help?
March 28, 2013 at 1:26 pm in reply to: Event Listing excluding a category and listing showing only that category #44290Jonah
ParticipantHi Jeff,
What about adding another condition to say “if we’re on this category page” don’t exclude the category, otherwise exclude it. Something like this:
if ( !is_tax( 'your_category_slug' ) && $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'] ) ) {
That will detect to make sure you’re not on that specific event category page and modify the query as desired.Does that work?
-
AuthorPosts
