Forum Replies Created
-
AuthorPosts
-
November 29, 2012 at 8:46 am in reply to: Event category archives are only displaying 3 posts #28692
Barry
MemberDid you arrive at a solution here Andrew?
Barry
MemberHi Christina – I’m going to assume you’re all sorted here and will close this thread, but feel free to create a new one if you need any further assistance.
Barry
MemberHi Tiana – how are you getting on here?
November 29, 2012 at 8:43 am in reply to: Mini Calendar link to single event rather than all repeating events #28689Barry
MemberHi Reuben – how are you getting on here/do you need any further assistance?
Barry
MemberI’ll close this thread now – feel free to open a new one if you require further support.
Barry
MemberHi Bonnie, I’ll mark this thread as closed (I don’t think it’s directly connected to our plugin anyway) but let me know today or tomorrow if you disagree and need further support here.
Barry
MemberHi Mike, that sounds rather strange. When using 2.0.10 did you try disabling other plugins and switching to a default theme – if so, did this make any difference.
Barry
MemberOK. I installed it and set up the [potd] shortcode on the front page, however I can’t see any problems. It could be that it only happens under very specific circumstances (how are you actually using it – in a static front page, embedded in a template with do_shortcode(), some other method?) or it could be more complicated then a conflict between just our two plugins – it might only exist with your particular theme or when some other plugin is active.
Right now I’m afraid I can’t see the problem so there isn’t a huge amount I can do here.
Barry
MemberHi Duncan – what’s the error? I did visit the URL you provided when you opened this thread but I was unable to see the problem.
Barry
MemberWas either the tutorial link or the thread Andy linked to of use here Rachelle?
November 29, 2012 at 7:40 am in reply to: Calendar Widget with different categories for different pages #28679Barry
MemberOK, let’s try again!
To make the custom categories persist between ajax requests (that’s to say, when a visitor navigates back/forwards using the mini calendar widget) we need to add some additional code, nothing too major though.
Instead of my initial instructions, please replace this line:
$eventPosts = tribe_get_events(array( 'eventDisplay'=>'month' ) );With this slightly modified snippet. We also need to replace the JS code that facilitates ajax navigation.
In your theme’s functions.php file, add this snippet. Now we need to put our modified version of that JS code in place.
What I’d suggest is creating a js directory inside your theme (unless one exists already). In that file, place this code. And with that done, you should be good to go 🙂
November 29, 2012 at 7:11 am in reply to: Calendar Widget with different categories for different pages #28678Barry
MemberActually, might have been a bit premature there James: that code will only work on the first page load – once visitors navigate forward or backward in time the effect is lost.
So … it could be this is a bit more involved.
November 29, 2012 at 7:06 am in reply to: Calendar Widget with different categories for different pages #28676Barry
MemberHi James – please familiarize yourself with template overrides first of all – what we would need to do here is create a custom table-mini.php template.
Within the default template you will find a line that looks like this:
$eventPosts = tribe_get_events(array( 'eventDisplay'=>'month' ) );Delete (or comment out) that line only and replace it with this code … you will of course have to change the page slugs detailed in the switch block and also the category slugs to suit your own requirements.
Hopefully that gives you a good starting point, though.
Barry
MemberI don’t believe so, as for most people that wouldn’t really make sense. I’ll check in with the rest of the team though and see if they can think of anything here.
Barry
MemberCheers Darius! We’ll close this thread in this case and look forward to working with you in some other threads 🙂
-
AuthorPosts
