Forum Replies Created
-
AuthorPosts
-
Barry
MemberOK, in that case I can only imagine your theme is registering its post thumbnail support at some atypical point or else something went wrong when you added that snippet.
Can you confirm where you placed it exactly? Can you also try amending it to something like this:
add_action( 'init', 'univeral_featured_img_support', 1000 ); function univeral_featured_img_support() { add_theme_support( 'post-thumbnails' ); }(This will simply increase the chances of it successfully overridding the theme.)
Barry
MemberHi isagenix,
I’m sorry for the difficulties.
We do try to keep that URL – and the event description in particular – within a reasonable size but sometimes, as here, a theme or plugin can inadvartently inflate the size of the description after we’ve already truncated it.
Can you try adding this short snippet to your theme’s functions.php file and see if that helps with this issue?
Thanks!
Barry
MemberHmm, well one other possibility is that the featured image metabox is present but hidden. With that same snippet suggested in the other topic you linked to, can you visit the event editor and access the Screen Options pulldown: ensure the featured images option is checked.
Does that help at all?
Barry
MemberDefinitely, we’ll keep this open for the time being.
February 9, 2015 at 6:50 am in reply to: End Sale to Display Out of Stock Instead of disappearing #940910Barry
MemberHi!
For customization work like this it’s largely something you need to drive forward under your own steam.
We’re always happy to try and point you in the right direction of course, but please do bear in mind we cannot offer further support for any changes you make or any problems that might result – so it is fairly important you have enough of an understanding to maintain your work by yourself in the future 🙂
In this case, if you open up your custom version of wootickets/tickets.php you should see a line of code like this (approx line 39 in the default template that ships with our current release):
if ( ( empty( $start_date ) || time() > $start_date ) && ( empty( $end_date ) || time() < $end_date ) ) {This is what ignores events that are not yet on sale/have passed the end sale date. It’s actually the first line of an if block, which runs for many lines (ends on line 73):
if ( ( empty( $start_date ) || time() > $start_date ) && ( empty( $end_date ) || time() < $end_date ) ) { // ... // ...lots of lines... // ... }We want to keep the code in the middle (lines 40-72) but dispose of the first line and the final line (which contains just a curly brace) – the tickets should then always be visible.
In your case you want to show a Sold Out message if they aren’t currently on sale/sale of the tickets has ended, so you’re going to need to amend this line:
if ( $product->is_in_stock() ) {Add the necessary checks in here to also test if the product is currently on sale – and those checks would basically be the same as the ones containined in the opening if statement that we just removed 🙂
I hope that gives you a few more ideas and good luck with the customization – as we can’t really do much more to help with this one I’m going to go ahead and close out the topic, but please do feel free to open new ones as required if any other issues crop up.
Thanks!
Barry
MemberOur pleasure 🙂
I’ll go ahead and close out this topic but if we can help with anything else please just create a new topic and one of the team will be only too happy to assist.
February 9, 2015 at 6:31 am in reply to: Purchase name and email not visible in attendee view #940901Barry
MemberOK, glad you found the problem. So, out of interest – in case we hit up against this again in the future – when you note that you ‘disabled’ those fields do you mean that this was the result of some customization work?
Barry
MemberHi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!
Barry
MemberHi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!
February 9, 2015 at 6:26 am in reply to: how do I have 2 prices on the event (normal and concession)? #940897Barry
MemberHi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!
Barry
MemberHi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!
Barry
MemberHi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!
Barry
MemberHi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!
Barry
MemberHi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!
February 9, 2015 at 6:24 am in reply to: Conflict With Pootlepress PageBuilder for Woo Canvas #940892Barry
MemberHi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!
-
AuthorPosts
