Support » Plugin: ACF Recent Posts Widget » Sate start from now() to future

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Rafał Gicgier

    (@gicolek)

    Hey Mike,

    No. It’s not supported.

    However you can use this filter: “acf_rwp_query” to hook into the query and create the parameter yourself. Obviously this requires some programming knowledge.

    If you know how to do it then go ahead. If not I’ll prepare a hook for you and post it by Thursday.

    Cheers,
    Rafal

    Hey Rafal,

    I’m certainly able to use acf_rwp_query, juste never used it.
    Do I need to use it in ACF or in your plugin ?
    I found : https://gist.github.com/gicolek/f317d1457978bb0e20e9

    Otherwise, can I upgrade your widget to add this value and a checkbox on start / end date, or maybe using the strtotime() php function it can be fun you ar using this as date input no ?

    I’m thinking strtotime is more fun and permit more things to play with booth date fields of the widget. Tell me if you like I create a patch for your plugin.

    Cheers,
    Mike

    Plugin Author Rafał Gicgier

    (@gicolek)

    Hey Mate,

    You can place the code in your theme functions.php file. Don’t place it inside the plugin files as it may conflict with the update.

    If you can go ahead and make a patch, please note that this strtotime will conflict with a date picker so it might not be as easy as you think 🙂

    Regards,
    Rafal

    I Found where you are using ds / de using gti fuction. what do you think about this 2 cases ? Update gti ? Or create a deviated class to add something like checkbox who activate strtotime use ?

    Ok I see. maybe the check box can allow use strtotime, and disable the date picker in this case if checked, or re enable if unchecked ?

    Plugin Author Rafał Gicgier

    (@gicolek)

    This could work 🙂 I’m working right now and I won’t be able to help you out at the moment.

    Gather everything you need and post it here please. Instead of posting multiple messages right away 🙂

    I see an error in your plugin, the latest version missing follwing files. The images directory, from CSS directory is missing in the zip.

    acf-recent-posts-widget/css/images/ui-bg_glass_75_e6e6e6_1x400.png 404 (Not Found)
    acf-recent-posts-widget/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png 404 (Not Found)
    acf-recent-posts-widget/css/images/ui-bg_glass_55_fbf9ee_1x400.png 404 (Not Found)
    acf-recent-posts-widget/css/images/ui-icons_222222_256x240.png 404 (Not Found)
    acf-recent-posts-widget/css/images/ui-bg_flat_75_ffffff_40x100.png 404 (Not Found)
    acf-recent-posts-widget/css/images/ui-bg_glass_75_dadada_1x400.png 404 (Not Found)
    acf-recent-posts-widget/css/images/ui-icons_454545_256x240.png 404 (Not Found)

    Mike

    no problem, of couse, I’ll keep you in touch. Thanks for your help.

    Plugin Author Rafał Gicgier

    (@gicolek)

    Mike,

    I should be more free by the end of the week!

    Can you please collect everything you find and create a easy to read and clean message? This will help us both in finding and fixing all of the erros.

    Can you post a screen on when did the bug occur?

    I appreciate the whole conversation. Thank you a lot!

    Regards,
    Rafal

    Plugin Author Rafał Gicgier

    (@gicolek)

    Hey Mike,

    Have you been working on the proposed? Is there anything I could help you out?

    Regards,
    Rafal

    Plugin Author Rafał Gicgier

    (@gicolek)

    Hey Mike,

    I’d like to mark this topic as resolve if no progress will be made? Can you post a follow up on the progress here?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Sate start from now() to future’ is closed to new replies.