bartmarkten

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • in reply to: Slow Performance on event detail page #1615081
    bartmarkten
    Participant

    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

    in reply to: Slow Performance on event detail page #1611925
    bartmarkten
    Participant

    Hi Jeremy

    Performance issue on single event page , not in event listing page .

    in reply to: Slow Performance on event detail page #1607440
    bartmarkten
    Participant

    This reply is private.

    in reply to: Slow Performance on event detail page #1606371
    bartmarkten
    Participant

    We have follow your above given step but still load slow single event page and also check with default theme.

    in reply to: Slow Performance on event detail page #1604729
    bartmarkten
    Participant

    1. 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 .

    in reply to: Slow Performance on event detail page #1604728
    bartmarkten
    Participant

    This reply is private.

    in reply to: pass start date in pre get posts #1494977
    bartmarkten
    Participant

    Hello ,

    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 ?

    in reply to: pass start date in pre get posts #1494043
    bartmarkten
    Participant

    Hello ,

    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.

    bartmarkten
    Participant

    Hey ,

    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.

    in reply to: calendar does not show up #1469731
    bartmarkten
    Participant

    Hey It works Thanks

    bartmarkten
    Participant

    Hello ,

    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.
    bartmarkten
    Participant

    How we can add 24 hours time format in drop down list?

    in reply to: Sort Events Grouped by month #1410635
    bartmarkten
    Participant

    Hello ,

    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 date

    And I open page on 21/12/2017 date — then it should display in following order :
    Event1
    Event3
    Event2

    For now it is displaying in following order :
    Event1
    Event2
    Event3

    by 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.

    in reply to: List Today’s Events #1409458
    bartmarkten
    Participant

    Hello ,

    Is anyone there to reply please ?

    in reply to: List Today’s Events #1407543
    bartmarkten
    Participant

    okay 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.

Viewing 15 posts - 1 through 15 (of 20 total)