Forum Replies Created
-
AuthorPosts
-
Andras
KeymasterHi Alexis,
Thanks for getting back to me on this. I’m more than happy to help you out.
You don’t need to copy the functions.php file to your child theme’s folder. The advantage of a child theme is, that is uses everything from the parent theme (including the parent’s functions.php file, plus is uses whatever else you add to it.
So basically you need to create an empty functions.php file in your child theme’s folder and just paste this below code into it:
<?php
// Hide recurring event recurrences in back-end, show only first occasion
class Events_Admin_List__Remove_Child_Events {
public function __construct() {
// Don't kick in unless we're on the edit.php screen
add_action( 'load-edit.php', array( $this, 'setup' ) );
}public function setup() {
// Listen out for the main events query
if ( 'tribe_events' === $GLOBALS[ 'typenow' ] )
add_action( 'parse_query', array( $this, 'modify' ) );
}function modify( WP_Query $query ) {
// Run once, only for the main query
if ( ! $query->is_main_query() ) return;
remove_action( 'parse_query', array( $this, 'modify') );// Only return top level posts as a means of ignoring child posts
$query->set( 'post_parent', 0 );
}
}new Events_Admin_List__Remove_Child_Events;
Try it and let me know if it works out.
Note, you need to have an opening <?php tag at the beginning of the file, but you don’t need a closing ?> tag. Just as in the code above.Cheers,
AndrasAndras
KeymasterHi Lucy,
Thanks for sharing your system information.
I went through your functions.php file again and I don’t really see anything that it would clash with. That of course doesn’t mean it does not, unfortunately.
Did you by chance manage to do a test for conflicting plugins / theme ? https://theeventscalendar.com/knowledgebase/testing-for-conflicts/
If the test doesn’t bring any result, then the next thing to check is your functions.php file. Basically removing or commenting out everything and start adding them back one by one (or 2 by 2) to see if any of them cause a conflict.
I’ll be waiting for the results and we can take it forward from there.
Cheers,
AndrasAndras
KeymasterHi John,
I am glad to see you were able to figure it out. I also learned something new. 🙂
Since this seems solved, I am going to go ahead and close this ticket. If you have a similar issue or another in the future, please do not hesitate to create a new one. We’ll be here to help you out.
Cheers,
AndrasPS: If you like our plugin, we would be happy to receive a review in the wordpress.org repository. Thanks!
Andras
KeymasterHi Rhonda,
Thanks for reaching out! I’m happy to help you with this issue.
You say it still appears when you disabled all Events Calendar plugins? If this is the case, then it is not related to any of our plugins. Normally our plugins wouldn’t do that.
It seems like you went through our conflict testing guide:
Could you also test with a default theme like twentysixteen, please?
Also I recommend you reading through this thread, where others are having the same issue.
https://wordpress.org/support/topic/plugin-wp-super-cache-admin-bar-displays-for-non-logged-in-usersLet me know if that helps.
Thanks and cheers,
AndrasAndras
KeymasterHi Sarah,
Thanks for going Pro and welcome to the forums!
I’m sorry you are experiencing this problem. I’ll try to help you with this.
As a first could you please share with me your system information based on this guide:
https://theeventscalendar.com/knowledgebase/sharing-sys-info/What is the main language of your site? The setting under Settings > General > Site Language
In what language was your WordPress site originally set up? In French or in English?
Waiting for your reply.
Cheers,
AndrasAndras
KeymasterHi Kieran,
Yes, that’s more like a feature request. 🙂 Customization like this can be easily done with the help of our themer’s guide:
https://theeventscalendar.com/knowledgebase/themers-guide/For this specific one, this is what you need to do:
1. Copy the file wp-content\plugins\the-events-calendar\src\views\list\single-event.php to this folder:
wp-content\themes\{your-theme-name}\tribe-events\list\single-event.php2. Open the new file for editing and change line 29
<span><?php echo tribe_get_cost( null, true ); ?></span>to this:
" title="" rel="bookmark">
3. Save and you are done.
Let me know if this does the trick.
Cheers,
AndrasAndras
KeymasterHello again Victoria,
Yes, it is possible to get a refund. You can find more information about are refund policy here:
Before rushing there though, one of my colleagues (I think he is a magician) whipped up a short snippet, which just might be useful for you. Simply put it hides all recurring events, except for the first occasion / starting date.
Just paste this snippet in your theme’s functions.php file and see the magic:
class Events_Admin_List__Remove_Child_Events {
public function __construct() {
// Don't kick in unless we're on the edit.php screen
add_action( 'load-edit.php', array( $this, 'setup' ) );
}public function setup() {
// Listen out for the main events query
if ( 'tribe_events' === $GLOBALS[ 'typenow' ] )
add_action( 'parse_query', array( $this, 'modify' ) );
}function modify( WP_Query $query ) {
// Run once, only for the main query
if ( ! $query->is_main_query() ) return;
remove_action( 'parse_query', array( $this, 'modify') );// Only return top level posts as a means of ignoring child posts
$query->set( 'post_parent', 0 );
}
}new Events_Admin_List__Remove_Child_Events;
Please let me know if this helps you or if you have any followup questions.
Cheers,
AndrasAndras
KeymasterHello again Matthew,
Thanks for reaching out again with this issue.
What you are experiencing comes from how the layout in handled in the photo view. This is not really an Events Calendar thing, it is more an HTML and CSS thing. Let me try to explain how it works, based on the past events page of your staging site:
The different events are in separate boxes which have different heights. These blocks come in from the right in the right order, just as if you were playing tetris with a screen that’s rotated 90 degrees clockwise. And there is gravity on the top left corner pulling everything there.
You have 3 columns. So the 1st block (John Jay) comes, good. 2nd (Yoga Zone), good. 3rd (Athleta), good. You see that the 2nd column is taller, sticking out at the bottom.
So the 4th block (Yoga Zone #2) comes, doesn’t fit any more on top of the 3rd block, so slides down, until it can move. It reaches the bottom of the 3rd, gravity on the left pulls, but gest stuck on the bottom of the 2nd block. And stays there.
So comes the 5th block (Veteran’s Week), slides down on the 3rd and then the 4th block, then gravity pulls it to the top-left, so ends up below the 1st.
Then comes the 6th block (The Art of…), slides down on the 3rd and then the 4th block, then gravity pulls it to the top-left, so ends up below the 2nd.
And so on.
So this is why it ends up like a mixed salad.
One workaround would be to fix the height of all the boxes to the same height. However, that can cause large empty spaces between the rows, depending on the original height of the blocks. If you want to try this, then paste this snippet in your theme’s style.css file:
.tribe-events-photo-event {
height: 200px !important;
}
You can customize the height to your needs.Let me know if you have any followup questions.
Cheers,
AndrasAndras
KeymasterHey John,
So far I haven’t been able to reproduce your issue. Here is what I did:
- Only plugins: TEC, EC Pro, Event Tickets, ET+, WooCommerce, all up to date
- Create and event with a WooCommerce ticket and RSVP
- Go to the front end, order a ticket / RSVP, checkout, place order
- In backend go to WooCommerce > Orders and mark order to completed on the order list page via clicking on the Complete button in the Actions column
- Check email subject. I received “Your tickets from TEC”
Are you doing anything different? Can you send me the steps you are doing to recreate the issue?
In your original post you said the subject is “Your course tickets from {sitename}”. Is there some customization, because normally it only says “Your tickets from …” without course.
Thanks and cheers,
Andras
PS: {sitename} should be absolutely fine.
Andras
KeymasterNo problem Kieran.
I am going to close this ticket to new replies, but the issue is still open and we will update this ticket once we release a fix.
If you have any new questions or issues please create a new ticket and reference this one.
Thanks and cheers,
Andras
July 4, 2016 at 1:37 pm in reply to: Layout crossing, events not showing and link, footer and translation issues #1135225Andras
KeymasterHi Christine,
I’m super stoked to hear it works out!
Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.
Cheers,
AndrasPS: If you like our plugin, we would be happy to receive a review in the wordpress.org repository. Thanks!
Andras
KeymasterHey Thomas,
I am glad to see you were able to find a solution! Super cool! I’ll spread the word on the feedburner workaround, it might help others with a similar problem.
Since it’s marked resolved I am going to go ahead and close this ticket. If you have a similar issue or another in the future, please do not hesitate to create a new ticket. We’ll be here to help.
Cheers,
AndrasAndras
KeymasterLucy, potentially you can try deleting the closing ‘?>’ tag from the functions.php file. It is not obligatory any more. In some cases it helps.
Cheers,
AndrasAndras
KeymasterHello Alexis,
Thanks for going Pro and welcome to the forums!
I understand your concern. At this moment there is no way to avoid this. Every recurrence is shown as a separate event, though if you want to edit the whole series, it is possible to do that in one place.
If you think that is something you would like as a feature I encourage you to visit our User Voice Page and either upvote an existing request or make a new request there.
Let me know if you have any follow up questions.
Cheers,
AndrasAndras
KeymasterHello Megan,
Thanks for reaching out! I’m sorry you are experiencing this problem. Let me try to help you.
First try this setting please:
Events > Settings > Display tab > Events template dropdown > Default Events Template
Then save the settings and check the footer.
If this doesn’t solve it then please be so kind to share with me your system information as described in this guide. I will be waiting for your feedback.
Cheers,
Andras -
AuthorPosts
