Forum Replies Created
-
AuthorPosts
-
Joe
ParticipantThis reply is private.
Joe
ParticipantThanks, Hunter. As I described above, I had done exactly as you instructed here already.
I was able to sort this out by creating some custom functionality. So I’m good to go.
– Joe
Joe
ParticipantThank you for your quick reply! That definitely helped to know I was mixing the two functionalities. I am trying to implement the filter bar.
I’m still at a bit of a loss as how to pull it off. Is it possible to pull in the filter bar functionality on a non standard Event Calendar page?
Thanks!
Joe
ParticipantHello again,
After attempting to incorporate all of your helpful thoughts, to no avail, I tried the following. I removed this bit from the query:
‘post_type’ => ‘tribe_events’
And, what do you know, it did the trick. Everything is working like a charm now.
For anyone interested in setting this up, make sure that you set up a category from within this plugin. Then, call that category from within your query.
For example, like so:
<?php $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1; $query_args = array( 'tribe_events_cat' => 'Featured Header', 'posts_per_page' => 16, 'order' => 'ASC', 'paged' => $paged ); $the_query = new WP_Query( $query_args ); ?>In this case, the category is called “Featured Header”. Hopefully that saves someone some trouble sorting this out.
Nico and Brook, thank you so much for your help here. I much appreciate it.
– Joe
-
This reply was modified 10 years ago by
Joe.
Joe
ParticipantThis reply is private.
Joe
ParticipantThis reply is private.
Joe
ParticipantThis reply is private.
Joe
ParticipantHello Nico,
My apologies, I should have clarified this much more. As that site is very much so a work-in-progress, I completely spaced out the fact that the featured/header event isn’t currently on every page template.
That being said, here is how you replicate it:
– Use the filters on the home page.
– Switch to another view (any view at all).
– Then, switch back to the photo view (which is what I am using on the home page).
– You will see, the header event is now missing.You might notice that the URL is no longer the home page. Regardless, the home page and that photo template are 100% the exact same template files.
I cannot tell you enough how much I love this plugin. As you can see, this will be quite a custom design once I’m finished. It’s been fun to see just how much I can modify this to my needs, without breaking away from the plugin’s core functionality. Very great work that you’ve done here.
Thanks so much, Nico. You are saving me a major headache here.
– Joe
Joe
ParticipantThis reply is private.
Joe
ParticipantHello Nico,
Thank you so much for reaching out to me. It would be amazing if you could help me sort this out.
I will gladly send you a URL to the staging site. However, in the meantime, I thought that perhaps this would be easier for you:
Basically, that bit of code is included in the site header. It’s just a simple WordPress query. It works like a charm. Except, when using the Filter Bar, it’s being filtered. However, there is one more detail that might be good for you to know:
If you’re on the page and run the filter, it doesn’t filter the header event. It’s only if you switch calendar views. For example, say you filter the events in calendar view, and then change to the list view.
Thank you so much for taking the time to investigate this. It’s much appreciated.
– Joe
Joe
ParticipantHello Cliff,
Thank you so much for providing me with this information.
While I wanted to thank you here, I also want to confirm to anyone potentially looking for this information: The latest updates fully rectified this. It is working perfectly now.
– Joe
-
This reply was modified 10 years ago by
-
AuthorPosts
