Forum Replies Created
-
AuthorPosts
-
vicdiluParticipant
Hi Nico,
Thanks for your prompt reply.
I fell more comfy in Spanish, so from now on I will continue in Spanish…
Si que suelo trabajar con PHP y ya he hecho unas cuantos customizaciones para el cliente, como por ejemplo mostrar eventos destacados en la home.
Tengo que valorar el tiempo que me puede llevar y hablarlo con el dueño de la web. Si finalmente tratamos de personalizar la vista de las etiquetas, me pondré de nuevo en contacto con el soporte.
Gracias,
VíctorvicdiluParticipantHi Brian,
Thanks for yor support.
Now I have my sidebar working ok.
First, I have tried:
is_tax( ‘tribe_events_cat’, ‘turismo’ )
Your solution is working ok for the category ‘turismo’ (archive page), but not for the events under ‘turismo’ (single pages).
Instead of that, I am using this code:
has_term( ‘turismo’, ‘tribe_events_cat’ )
(works for category and single pages)
Thanks for pointing me into the right direction.
Regards,
Victorwo
vicdiluParticipantThanks Brian,
With your code, it work’s perfectly again.
I also added a conditional to check if there are terms before the loop.
Regards,
VictorvicdiluParticipantHi Brian,
I haven’t found a solution for this yet.
If I can’t fix this, I would have to downgrade to older versions of tribe events plugins, but that isn’t a good solutution.
Looking foward for your support.
Thanks,
VictorvicdiluParticipantHi Brian,
My client has reviewed the events and in some of them the price was introduced with currency or in range format. We fix this and the fprice filter range is working better, but it isn’t getting the correct range yet.
I have noticed that in some events my client is introducing the price with decimal (for example, 4,5)
Is this correct? In case the plugin allows the use of decimals, it should be 4.5 or 4,5?
Thanks agian for your support,
VictorvicdiluParticipantHi Brian,
In the filter bar settings I am using the Range option.
I have to check if the client has intruduced the price correctly… I think in some events has put the currency symbol with the price.( I suposed that is an error, as you can choose the currency before introducing the price).
It is possible to put a range of price in the event? For example 12-15
I will post again after checking the price in all the events.
Thanks,
VictorvicdiluParticipantHi Brian,
Once again your suggestion has been very helpfull.
I merged the two queries as in the topic you linked, and it wordked well.
Here is the code, in case it can help someone in the future:
Thanks,
VictorvicdiluParticipantHi Brian,
Thanks for your prompt reply. The meta_query from the link has been very helpful.
I made some attempts:
On my first attempt ( http://pastebin.com/FRAwuPDX ), just removing ‘posts’ from the post_type in the wp_query worked, and only upcoming events were displayed, however, with this change, the event date -in line 21- was not working (I don´t know why?)
On my second attempt ( http://pastebin.com/Yc7k5iVg ), I tried the meta_query and I mantained ‘posts’ in the wp_query, and now only upcoming events are being displayed and the event date is also working fine.
In this query for my homepage, I am not getting posts, only events, so this second snippet is working well for me. For my home slider, I am making another similar query with posts and events, but in this case I can not filter by _EvenStartDate, as the post don’t have this custom field. In this case, the client would have to uncheck the ‘home_slider’once the event has finished. I will search a solution for this (maybe using conditionals) and I will post again with the solution, if I find any.
Thanks for your support,
Victor -
AuthorPosts