Forum Replies Created
-
AuthorPosts
-
Barry
MemberHey there!
You can certainly change the date order from ascending to descending by clicking on the “Start Date” column … you might also be interested in Jonah’s suggestion over here:
Regarding a quick hack to bulk edit the authors, if you are comfortable with MySQL then you could do something like this: http://pastebin.com/PJJavvR5 (but always back up first before playing with the database!). If in doubt or if you are not comfortable with that sort of thing then it may be better to play it safe and do it manually.
Barry
MemberHi Mike, can you provide some URLs so we can take a look?
Barry
MemberYou could try adding this snippet in your theme’s functions.php file: http://pastebin.com/Z60AYYkM … I did a quick test and it seems to do the job, it does assume that the URLs all begin http:// or https:// though.
Barry
MemberHi Jason, thanks for getting in touch! I’m guessing that you’ve created a new Additional Field there for the website URL (set up via Events > Settings > Additional Fields)?
Events Calendar PRO doesn’t actually know that this is a URL – it only knows that this is some additional text you have provided, so I wouldn’t really agree that this is a bug.
Give me a moment and I’ll see if I can think up a snippet of code to help you out here.
Barry
MemberHey Andy: plugins_loaded is a bit early. Although plugins have loaded by this points other key parts of WordPress have not. Can you push this forward to the init action?
August 30, 2012 at 2:31 pm in reply to: tribe_event_link([ $post = null], int $postId) I need this for use inside php #24370Barry
MemberGreat!
Barry
MemberCool, might be useful for anyone else in need of a hot fix for this, too.
Barry
MemberHi Nick, yep unfortunately that’s a known bug – the good news is it has been fixed.
The devs tell me the fix will be available in the next release which is expected imminently.
Barry
MemberGreat! 🙂
Barry
Member…So the code I posted above didn’t display too nicely. Here’s a paste showing the lines I was talking about: http://pastebin.com/a1up2LET
Barry
MemberHi Noel.
You’re quite correct – the setting you are referring to doesn’t impact on the venue template. So, for the time being at least, you would need to modify your theme’s copy of the single-venue.php (within your theme’s events folder … if this folder hasn’t been set up already please take a look at our themer’s guide and follow the steps described there).
Within your theme;s copy of single-venue.php you would be looking for the following lines of code:
Removing these lines should stop the map from displaying.
Hopefully that does the trick – but if you need any further help please just shout back 🙂
August 30, 2012 at 7:34 am in reply to: tribe_event_link([ $post = null], int $postId) I need this for use inside php #24348Barry
MemberHow about tribe_get_event_link()? It defaults to the current event in the loop – otherwise you can pass in the relevant $post object.
$eventLink = tribe_get_event_link();
Barry
MemberUnfortunately nothing like this is currently baked into The Events Calendar or Events Calendar PRO. It’s possible someone else has made a plugin that facilitates this, though I don’t actually know of any such plugin.
August 30, 2012 at 7:23 am in reply to: After migrating site with Backup Buddy plugin – 404 error #24346Barry
MemberJust checking in to see how you are getting on with this, any luck?
Barry
MemberIn terms of adding an additional field programmatically (if it doesn’t already exist), does this work for you? http://pastebin.com/s2k0zZHi
-
AuthorPosts
