Forum Replies Created
-
AuthorPosts
-
August 8, 2013 at 10:05 am in reply to: Mini Calendar – default display month as that of next upcoming event #59503
Barry
MemberThanks both, glad it’s working for you.
Graeme’s notes on child themeing are definitely solid points – don’t be misled by the fact that we so often tell people to drop code into functions.php – there are often better ways to do it, we’re basically just offering the most commonly-understood path.
In any event since it looks like we’re all good here I will close this thread.
Thanks!
Barry
MemberJust to be clear – sporadic even in relation to the same event?
Barry
MemberHi John,
Just a note that the forum will strip out some forms of code – so if you need to share anything relating to HTML or PHP in particular it’s worth doing so by dropping a link in here to a snippet hosted on Pastebin, Gist or a similar service.
(Your last message looks like it may have originally contained some code which was then stripped out.)
Sorry for the inconvenience.
Barry
MemberI’m not sure in what way it might be woggy, but I’m sorry in any case to hear it didn’t work for you (it has done the trick for others I believe, based on other feedback).
In that case though it may be best to way for the next maintenance release in your case.
August 7, 2013 at 4:15 pm in reply to: Warning: in_array() [function.in-array]: Wrong datatype for second argument #59420Barry
MemberHi Glen,
I hate to be a pain and we’d be more than happy to look into this – but can you post this as a new thread (since your problem may by the sounds of it be specific to Genesis 2.0 and so potentially different to what visule is experiencing).
Thanks!
August 7, 2013 at 4:13 pm in reply to: Smarter event query detection and UpcomingEvents query #59419Barry
MemberGreat – sorry we couldn’t do too much else on this occasion – we do appreciate your willingness to help and wish you luck with the rest of the project.
Thanks!
August 7, 2013 at 4:11 pm in reply to: Mini Calendar – default display month as that of next upcoming event #59418Barry
MemberOK, still doesn’t have all the characteristics you might be after but this version could get you closer: http://pastebin.com/h0Fw6YXi
August 7, 2013 at 3:19 pm in reply to: Mini Calendar – default display month as that of next upcoming event #59409Barry
MemberGreat – thanks for the feedback Graeme.
I also got it working to a target month via passing $target_date through to the Tribe_Advance_Minical() function ā it worked perfectly.
Yep that was the idea – you can set a specific month or else let it find the date of the next upcoming event date, if there is one (or it will default to the current month and year).
I should mention that Iām using a child theme, and so have placed this in the child themes functions.php
That shouldn’t cause any problems and is a good way to do things. Often you’ll find us saying people should add a piece of code to functions.php simply because so many users are comfortable doing this and have done it before, but doing it within a child theme (or in some cases a new plugin) is often the best path.
However, the list of events that appears below the calendar is not updating ā it appears blank until I click the day of the month that contains an event, then it appears.
Good catch, let me check on that one.
Barry
MemberExcellent, thanks for checking in with the solution š
Barry
MemberNot at all – happy to help š
Jonathan does this approach work for you?
Barry
MemberNo problem – re sorting orders by ticket ID, nothing comes to mind – I don’t think there is any built-in way to do this through the WooCommerce orders screen since it isn’t built with any ‘knowledge’ of tickets.
Barry
MemberRight, but is it consistent? Do you find this happens for instance at 10pm every night, or does it depend on what events you have and what times they are scheduled for (or anything like that that you have noticed)?
Barry
MemberSure thing.
Barry
MemberGreat, yes the priority of 100 was just a precaution in case your theme or other plugins might have been operating on the same filter, but certainly won’t have to be that high in all cases.
August 7, 2013 at 12:14 pm in reply to: Mini Calendar – default display month as that of next upcoming event #59356Barry
MemberOK, well let’s wait and see what Graeme says (just so we can figure out if it’s specifically a problem in your installation or some more general issue) and take things from there.
-
AuthorPosts
