Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #498538

    Hi,
    is it possible to change in a child-theme / function.php :
    the next and previous event?
    The plugin we are using is event manager.
    For the moment is the result the next or previous date of publication. The goal is to have the next or previous event date.

    Many thanks,
    leRenaar

    #499056

    Hey leRenaar!

    Thank you for using Enfold.

    If you can alter the query parameter of the events, the post nav settings will automatically follow. The post nav script is base on the get_previous_post and get_next_post functions which can only retrieve the adjacent post. Please contact the plugin author regarding the events query.

    Regards,
    Ismael

    #499709

    Hey Ismael,

    i wrote your question to EventsManager and recieved this:
    ++++
    angelo wrote:
    sorry I believed those are wordpress functions and you might need additional coding and hook into wp_query to make this work.
    ++++
    I am running in cirkels. What is a good solution to solve that problem, can you point that out for me?

    best regards
    leRenaar

    #499890

    Ismael,

    update from EventsManager:

    +++
    this links can help you out
    https://codex.wordpress.org/Function_Reference/get_next_post
    https://codex.wordpress.org/Function_Reference/get_previous_post
    +++

    I don’t see what this will change to the item that next_post in eventsmanager is the next publicationdate of that event.

    best regards

    #500228

    Hi!

    I’m very sorry if you have to ask back and forth, unfortunately, I don’t see any way we can alter this on our end. Please show the following link to the plugin support staff then ask them how you can change the order of the events according to “event schedule”. http://reintest.be/4AD/wall-of-fame/

    If it’s possible to sort the events by schedule then the theme’s post navigation will automatically fetch the correct posts. Maybe, this plugin will help: https://wordpress.org/plugins/post-types-order/

    Best regards,
    Ismael

    #501146

    hey Ismael,
    i installed the plugin and the ordening in the admin is correct. In the pro version you have a option to sort by custom_field (_event_start_date) with option Field_type: Date.
    The result is that in the adminpanel / events all events are sorted by event_date.
    What is the next stap to make this happen in the frontend so there is on a singlepage a next and previous button?
    Best regards,
    leRenaar

    #501316

    Hey,
    is this usefull to make the make a previous and next button in the theme? In the backEnd are the events sorted on the EventDate :-) The frontEnd: do you have any idea?
    best regards,
    le Renaar

    #501332

    Hey!

    Everything is possible, but that would need a lot of work to be done.

    You can contact one of our Customization Contractors, who will help you out with the process.
    http://kriesi.at/contact/customization

    Let us know if we could do anything else, regarding our theme

    Regards,
    Basilis

    #501469

    Hey Basils,

    thank you to point me out what the next step is in this process. I filled in a form on that website.

    best regards,
    leRenaar

    • This reply was modified 9 years, 1 month ago by leRenaar.
    #501520

    Hey,

    a programmer is hired for that job (thx for the link). I have send them a video whit the expectation so there is no mistake about the job. Do they need something from you? do i send the programmer this link? If not, you can close this topic as solved. I hope that eventsmanager find in the future a solution for this problem.

    Thank you for all the patience and advice.
    leRenaar

    #501798

    Hi!

    glad you will get help soon. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you. Of course you can forwards this link to the programer.

    Regards,
    Andy

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.