• Hello,
    how can i override …\modules\timeline\widgets\timeline.php in theme folder?
    i need to change the date format, and i have to do it after every update…
    Thanks in advance

Viewing 7 replies - 1 through 7 (of 7 total)
  • Dear @eurostratos,

    Thank you for reaching out with your request. At the moment, we need to consult with our team to provide the best solution for you. We’ll get back to you as soon as we have the necessary information.

    Thank you for your patience and understanding!

    Dear @eurostratos,

    We have collaborated with our development team and sincerely apologize for overriding the date format in the timeline widgets.

    If you have any further questions or concerns, please don’t hesitate to reach out to us.

    Thank you in advance.

    Thread Starter eurostratos

    (@eurostratos)

    Thank you for answering but I didn’t understand: can I override the timeline.php file in theme folder or not? (i know how to fix the date format in my needs, i need only to know if i can override the file)

    • This reply was modified 1 month, 3 weeks ago by eurostratos.

    Dear?@eurostratos,

    Actually the design is a little bit tricky & that’s why we don’t have the feature to change the format. Would you please explain, what’s kind of design do you want? And we can only provide a solution, the month and day would be first span & the year would be in second span tag.
    So if you want in this way, we will be add 2 filter for you, 1 for day & month & another for year, and you will able to modify from your themes.
    Please see the screenshot – https://prnt.sc/OMrUWAl7TEqA

    Thanks. We are waiting for your response.

    Best Regards,
    Hasib Ali

    Thread Starter eurostratos

    (@eurostratos)

    thank you for your answer,
    I’m changing the date format in line 1117 to:
    <span class=”upk-month”><?php echo get_the_date(‘d F’); ?></span>
    https://prnt.sc/nDoyN6_04EZc

    so the result is:
    https://prnt.sc/FNyzugVhuc6r
    that fits my needs.

    But everytime there is an update I have to change this line again, so I thought that maybe there is a way to override this function (or the whole php file)
    Is there any?

    Thanks in advance
    Tolis

    Dear?@eurostratos,

    Thanks for sharing your feature request with us. Don’t worry about it. We discussed it with our developer and they will add the feature for you as soon as possible. I hope in the next updated version, you will get the feature.

    Thanks for staying with us.
    Best Regards,
    Hasib Ali

    Dear?@eurostratos,

    We successfully added the feature in our Ultimate Post Kit Oras Timeline widget. We request you to wait for the next updated version. Don’t worry about it. We are readying the update and also will release the version as soon as possible. We request you to use the widget and enjoy the feature.

    Thanks.
    Best Regards,
    Hasib Ali

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