Forum Replies Created
-
AuthorPosts
-
Jonah
ParticipantHi Louise,
So with your above code, you would place that in your theme’s functions.php file and add the following to affect the events related pages: https://gist.github.com/4154410
Does that help?
– Jonah
Jonah
ParticipantGot it Emu, glad you were able to figure it out.
– Jonah
Jonah
ParticipantHi James,
Please post your code to http://snippi.com/ – it’s much cleaner than posting code here.
Thanks,
JonahJonah
ParticipantHi Nico,
It looks like there something wrong with the custom counter code you are using in the query. When I remove this part of the code, the query returns results for me. What are you using this for? You’ll need to remove this code or work on debugging it. Good luck!
– Jonah
Jonah
ParticipantHi Bikoa,
That is a little more advanced and not something I will be able to help you with but basically you would need to do a double query, first querying events by past and by category and then from those results get the categories for those events. To query events you can either use our built in tribe_get_events() function (https://theeventscalendar.com/support/documentation/the-events-calendar-template-tags-general-functions/#functiontribe_get_events) or WP_Query querying for the ‘tribe_events’ post type.
I hope that helps but let me know if you have any other questions.
Thanks,
JonahJonah
ParticipantHi Nico,
Can you paste a sample of the code you are working with to: http://snippi.com/ – so I can try it out?
Thanks,
JonahJonah
ParticipantYou should be able to use tribe_get_venue() which will return the name. Here it is in our documentation along with a bunch of other venue related tags you can use: https://theeventscalendar.com/support/documentation/the-events-calendar-template-tags-venue-functions/#functiontribe_get_venue
Does that help?
Jonah
ParticipantHow is the small calendar setup? I.e. how are you including it on that page? How are the two websites on the same WP installation and database? Is this a MU setup?
– Jonah
Jonah
ParticipantYou’re welcome James. Are you asking how to filter your query buy venue/custom field or how to display the venue/custom field for each event in the results?
– Jonah
Jonah
ParticipantHi Emu,
Yes, the plugin will work fine without access to the internet. I do almost all my work locally and the plugin works great. I’m not sure why you are seeing this problem. Have you tried deactivating all other plugins and/or switching to the Twenty Eleven theme? Please verify this as there could be a conflict with one of those things. I would also suggest trying to reinstall both the core and PRO plugins as there may be files that were not copied correctly.
Thanks,
JonahJonah
ParticipantYou’re welcome, let me know if there’s anything else I can do!
– Jonah
Jonah
ParticipantHi beeldenstorm,
It may be possible to display two grids on the same page and have the navigation control them both but I think this would be fairly difficult to achieve and not something we would be able to help you with.
What other calendar would you want to show under the main calendar? Another category?
– Jonah
Jonah
ParticipantHi James,
In the tax_query argument, you need to swap out the term ‘conferences’ with the slug of whatever your category is:
'taxonomy' => 'tribe_events_cat',
'field' => 'slug',
'terms' => 'conferences'
Does that help?– Jonah
November 25, 2012 at 1:27 pm in reply to: Community Events submission form replicates itself in secondary sidebar #28427Jonah
ParticipantHi Todd,
Thanks for your input. Our developers are still taking a look at this and I’ve updated the ticket to have them take a look at this thread and the data you’ve shared. Stay tuned.
Thanks,
JonahJonah
ParticipantHi Louise,
Yes, if you have a function in your theme that is controlling page titles, you’ll need to incorporate the specific conditional code for events related pages in your theme’s code and modify as necessary. I hope that helps!
– Jonah
-
AuthorPosts
