Forum Replies Created
-
AuthorPosts
-
Christian ThomsonParticipant
Hi there, thanks for the reply. I still need help though.
I am trying to create a function to hook into “woocommerce_email_after_order_table”, and wondering how I can retrieve the event id and ticket id of the ordered product within that function. Thanks!Christian ThomsonParticipantHi Josh, thanks for the reply.
Isn’t WooCommerce Tickets a plugin that requires WooCommerce to work? I looked for Email Notifications within the Events Calendar plugin Settings, but I couldn’t find anything. It looks like the only option is the WooCommerce emails. However, I did find the email.php file under The Events Calendar > Views > Tickets. Could you please show me how to use the Tickets email option? I’ve googled and couldn’t find instructions.
But if I were to still add the event description to the WooCommerce email, then how would I go about that? Would a custom query work in the email template? Would it pull the_content from the loop, do I need to write a special function?
query_posts('post_type' => 'tribe_events') ;
include('loop.php');
I appreciate your patience. Thanks for helping!
CintiaOctober 30, 2014 at 9:24 am in reply to: Creating a custom loop to display events by category in certain WP pages #849950Christian ThomsonParticipantHi Brian,
Thanks for the reply. I was able to figure out what to do.
I left out the tribe_events_has_tickets(), in exchange for the if (have_posts()) … else: … in the loop. This is how I have it:
if (is_page(413) ) {
query_posts(array( 'post_type' => 'tribe_events' , 'tribe_events_cat' => 'catname', 'posts_per_page' => -1 ) ) ;
include('courses-loop.php'); }
And the loop file has this content:
if (have_posts()) :
while (have_posts()) : the_post();
...
endwhile;
else:
No posts available
endif;
And it worked! I hope this helps others, and thanks for the help!October 15, 2014 at 3:37 pm in reply to: Blog and Archive Pages have class .current_page_parent when on Event pages #813078Christian ThomsonParticipantHi Geoff,
I did try deactivating the plugins, it appears to happen when I activate “The Events Calendar”.
I think it’s all good now, I have used CSS to target the body “event-archive” class and remove/add the highlight for the ID of the Blog menu item.
Thanks a lot for helping!October 15, 2014 at 2:20 pm in reply to: Blog and Archive Pages have class .current_page_parent when on Event pages #812987Christian ThomsonParticipantHi Geoff,
I found this thread about others having the same issue:
https://wordpress.org/support/topic/incorrect-navigation-menu-item-highlighted-when-viewing-event-detail
I tried deactivating the Event Calendar plugins, and then activating them one by one, and the issue happens when I activate “The Events Calendar”, not the PRO plugin.
I hope you can figure it out 🙂October 15, 2014 at 2:17 pm in reply to: How to only target categories or sub-category pages #812981Christian ThomsonParticipantThanks Brian! The !is_tax did it 🙂
October 14, 2014 at 11:32 am in reply to: Blog and Archive Pages have class .current_page_parent when on Event pages #810767Christian ThomsonParticipantHi Geoff, thank you so much for trying to replicate my issue and not giving up 🙂
The only thing I think you may have missed in the replication is to set the Community Corner page as the Blog page in the Reading settings. Did you do that too?
Thanks!October 7, 2014 at 2:26 pm in reply to: Blog and Archive Pages have class .current_page_parent when on Event pages #794861Christian ThomsonParticipantHi Geoff,
Thanks for the reply. The issue I’m having is not theme related, as it also happens when I switch to the Twenty Fourteen theme.
Do you have any other thoughts considering the problem isn’t in the theme?
I appreciate you sending the PHP/jQuery fix in case no other solutions exist.
Thanks!October 2, 2014 at 6:00 pm in reply to: Blog and Archive Pages have class .current_page_parent when on Event pages #783949Christian ThomsonParticipantHi Geoff, thanks again for the help.
So, I didn’t have a Courses page published, I only had a custom link “/courses” in the Menu, as this was the solution for the Courses menu to highlight when I’m on any of the events sub-pages.
However, now I created a Courses page and replaced it on the menu, but the issue persists. Now, only the Community Corner is highlighted, and the Courses aren’t!
Could this give you a hint at what could be causing the problem?
Also, where else other than the Page Parent attributes could I not set the Courses page as a child page of the Community Corner Blog? Which it isn’t.
I’ve checked the Events Calendar settings, but I can’t figure it out.
Thanks for the ongoing help!
CintiaOctober 2, 2014 at 11:31 am in reply to: Blog and Archive Pages have class .current_page_parent when on Event pages #783391Christian ThomsonParticipantHi there, have you received my last message? The suggestions you gave me aren’t what’s causing the issue.
I look forward to hearing from you soon.
Thanks!September 26, 2014 at 2:17 pm in reply to: Blog and Archive Pages have class .current_page_parent when on Event pages #769220Christian ThomsonParticipantHi Geoff,
I am already using the Default Events Template. I have switched to the TwentyFourteen theme, and I clicked on a single event page, and checked the class for my Blog page (Community Corner), and the blog page still has the class .current_page_parent assigned to it.
Would it help if I gave you my login credentials to WP?
Thanks!September 25, 2014 at 12:41 pm in reply to: Blog and Archive Pages have class .current_page_parent when on Event pages #766582Christian ThomsonParticipantThis reply is private.
Christian ThomsonParticipantThis reply is private.
Christian ThomsonParticipantHi Brian,
Thanks for the reply. Could you please provide me with the query, as I need a little bit more help to get this to work?
Thank you!Christian ThomsonParticipantThanks Brian,
Would you kindly provide this piece of code for me? I’m not sure how to do it.
Thank you! -
AuthorPosts