Forum Replies Created
-
AuthorPosts
-
bartmarktenParticipant
Hi Jeremy
Thanks for suggestion solutions, Elastic Events, is it free plugin services ? or Do we need to buy any external services for Elastic events ?
Thanks
bartmarktenParticipantHi Jeremy
Performance issue on single event page , not in event listing page .
bartmarktenParticipantThis reply is private.
bartmarktenParticipantWe have follow your above given step but still load slow single event page and also check with default theme.
bartmarktenParticipant1. Are your other plugins up-to-date? >>> Yes, All plugin are updated .
2. No we have not any staging server and I have switch and then check event sign page speed but still query taking much time to load page .
http://markten.be/markt/biomarkt-gent-maria-hendrikaplein/2018-08-26/Currently our website is in the under construction so you would like to test page load speed so please let me know so i will share admin credential .
bartmarktenParticipantThis reply is private.
bartmarktenParticipantHello ,
I tried following different codes for using WP query instead of tribe_get_events , but nothing worked:
I want to pass parameters into pre_get_posts hook for this , so tried following :
1) $query->set( ‘start_date’, date( ‘Y-m-d H:i:s’ ) );
2) $start_date_query =
array(
‘key’ => ‘_EventStartDate’,
‘value’ => date(‘yyyy-mm-dd hh:mm’),
‘compare’ => ‘>=’,
);
$query->set( ‘meta_query’, $start_date_query );3) $start_date_query = array(
array(
‘key’ => ‘_EventStartDate’,
‘value’ => date(‘yyyy-mm-dd hh:mm’),
‘compare’ => ‘>=’,
)
);$query->set( ‘meta_query’, $start_date_query );
Can you help me for this please ?
bartmarktenParticipantHello ,
Sorry for i can not explain myself clearly.
Like is it simply possible to use WP-Query to get future events instead of “tribe_get_events” function ?
I need it because i want customize the functionality.
Thanks.
March 5, 2018 at 4:00 am in reply to: Show all event occurrences with different dates in Recurring Event #1469852bartmarktenParticipantHey ,
Yes I want the solution for second case you wrote :
I have that option “Events > Settings >General tab > Recurring Event Instances setting” enabled.
I need that enabled and only want to disable it for certain cases (only one case ).
Please let me know who can i implement the same.
I can write filters/hooks also , please guide me for whatever is needed.
Thanks a lot.
bartmarktenParticipantHey It works Thanks
March 4, 2018 at 10:58 pm in reply to: Show all event occurrences with different dates in Recurring Event #1469730bartmarktenParticipantHello ,
Thanks for the answer.
But I actually want a function which can list events like repeatedly as because they are recurring events.
This function (tribe_get_recurrence_start_dates ) will be giving all start dates of given event , but I want a function which can list all events like “tribe_get_events” and when it comes to recurring events it shows a rec curing event like 10 times if it has 10 occurrences with required start dates.There can also another option like if “tribe_get_events” function has some parameter like list all events with recursive start dates etc.?
Thanks.
- This reply was modified 6 years, 2 months ago by bartmarkten.
February 1, 2018 at 1:51 am in reply to: How we can change time interval duration from time picker ? #1441413bartmarktenParticipantHow we can add 24 hours time format in drop down list?
bartmarktenParticipantHello ,
By using following code :
$todays_events = tribe_get_events( array(
‘posts_per_page’ => -1,
‘start_date’ => date( ‘Y-m-d H:i:s’ )
) );We are getting all upcoming events but we want this in Ascending order of start date like as an example i am having 3 events :
Event1 – 21/12/2017 is start and end date
Event2 – 23/12/2017 is start date and 25/12/2017 is end date
Event3 – 21/12/2017 is start date and 23/12/2017 is end dateAnd I open page on 21/12/2017 date — then it should display in following order :
Event1
Event3
Event2For now it is displaying in following order :
Event1
Event2
Event3by taking post_date as an orderby parameter.
Please let me know how can I achieve results as shown above using “tribe_get_events” or nay other function provided by your plugin.
bartmarktenParticipantHello ,
Is anyone there to reply please ?
bartmarktenParticipantokay I now used following function as you say :
$todays_events = tribe_get_events( array(
‘posts_per_page’ => -1,
‘start_date’ => date( ‘Y-m-d H:i:s’ ),
‘end_date’ => date( ‘Y-m-d H:i:s’ )
) );It does not includes recurring events now , like if i have set any event like 15th Dec and which will be everyday until 27th Dec , then it is not getting listed using above function.
Let me know , what should use now?
Thanks.
-
AuthorPosts