Forum Replies Created
-
AuthorPosts
-
Barry
MemberHi Alex – thanks for connecting with us. I don’t really think we can offer any support for someone else’s custom script in this way, but we can certainly see if anyone else in the community is available to offer some guidance 🙂
Have you tried contacting the author of the code?
August 23, 2012 at 12:25 pm in reply to: customize output of recurring events: list title/desc once, all dates under that #24011Barry
MemberI can’t really offer any comment on whether or not it is a good idea to use a single slug. Just about anything is possible however if you have the time and skill to put into the customization – unfortunately we can’t offer that kind of support here on the forum.
That said, if you do come up with a solution that meets your requirements it would be great to hear what you have come up with – I’m sure it could be helpful for others here, too 🙂
Barry
MemberYeah it worked for me when I ran up a quick test but let me know how you get on anyway. Like so many of these things there are a load of different permutations and ways to approach it, so play around and do what’s comfortable for you 🙂
Barry
MemberI don’t think that will work since by itself is_category() doesn’t pick up on custom taxonomies, such as event categories. You would need to use is_tax() for that.
What I was thinking of was something along these lines – http://pastebin.com/QZwHKq3W – that being a modified version of ecp-page-template.php … of course you would need to modify the category names in the switch block and also create the new templates.
Barry
MemberHi David. This forum doesn’t handle code listings very well – the best way to share code is to use a service like Pastebin or Gist and post the link to your code back here.
Barry
MemberHi Joe, sorry it took so long to reply.
Normally the date you seem to be referring to is only listed beside the first event to take place on that date, which is a common pattern with WordPress posts too.
If you take a look at the list.php template that ships with The Events Calendar then you will see how the tribe_is_new_event_day() is used to control this – so you could definitely make a change here if you preferred the dates to show consistently.
You might find our technical documentation and in particular this list of loop functions to be useful here:
I hope that helps!
Barry
MemberI’m going to double check this, but I don’t think the regular pattern used in the WordPress template hierarchy applies here – which is why {taxonomy}-performances.php won’t work.
You are probably on track with adding an if statement at the top of the relevant template, you could for instance place this at the top of ecp-page-template.php and combine it with get_template_part() calls to effectively build your own hierarchy.
It sounds like you are on track however – let us know what you come up with!
Barry
MemberHi Doug, thanks for reaching out to us.
I don’t want to sound like I’m dodging the question, but it might make more sense to approach the plugin’s author about this – I don’t know which plugin you are using or how exactly it does things, so it’s kind of difficult to offer any advice here.
Perhaps that plugin includes some nice hooks that could be useful? If the plugin has documentation you could take a look there too.
Hope you get this sorted – and if you find a way of doing this why not post details here … could be other users would find this useful 🙂
Barry
Member… Assuming that is what you mean, I don’t think this is currently supported by the tribe_next_event_link() and tribe_previous_event_link() template tags – I have however logged this as an issue so the team can consider adding this in a future version 🙂
Barry
MemberHi Dave, do you mean that you want to add title attributes to those links?
Barry
MemberHi Ken, thanks for getting in touch.
Daniel put together some pretty nice code (which, for easiness, you could place in your theme’s functions.php file) that might be of interest here:
https://gist.github.com/3415684
The way that piece of code works is to hide any events assigned to the special “hidden” category. I would imagine you could extend this and add as many different categories as you wish (the line you would need to edit being line 15).
I appreciate this is effectively the inverse of what you are after, but it might let you achieve the same effect. Alternatively, if you are confident working with code, you could probably take Daniel’s code and bend it to your requirements.
Hopefully that gets you on the right track – and let us know how you get on!
Barry
MemberHi Alex, thanks for reaching out to us.
A huge amount is possible and I have no doubt that you could do something very similar to your competitor over at atnight.com. While we can’t guide you through such a massive customization program via the forum I can point you in the direction of our technical documentation:
https://theeventscalendar.com/support/documentation/
And I would highlight the Themer’s Guide in particular as being an excellent starting point:
https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/
There are many small and easy to make changes that can be made which collectively can transform your website into something markedly different; of course there are also going to be things that require more advanced programming expertise – especially for really bespoke stuff – however you are more than welcome to refer any designers or developers you might hire to our documentation.
Sorry I can’t do more, but I hope you find the above references helpful.
Barry
MemberThanks for the tip Mohammed 🙂
Barry
MemberOK, great to hear that you got it working. We have an issue open for this on our end which I will update, too.
Barry
MemberHey Francisco, let me know if the CSS I provided in this thread is going to work for you.
-
AuthorPosts
