• Hello and thanks for this nice plugin.

    I would like to have a widget that shows the next 1,2,3… participants who will have their birthdays. Not necessarily the birthday but a similar date that I like to store in a custom field. Do I make myself clear?

    Is there already a way to do so? Any suggestions how I can realize this? Maybe working together with another plugin? Or might that be a useful feature that you like to integrate in the future?

    Bye
    Jan

    https://www.ads-software.com/plugins/participants-database/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Yes, of course these things are possible with some custom code. You can approximate it with a shortcode:

    [pdb_list filter="birthday>may 10,2014&birthday<may 30,2014"]

    You can set that up dynamically by using PHP to set the dates in the range:

    <?php
    echo do_shortcode('[pdb_list filter="birthday>' . date('F j, Y', strtotime('now')) . '&birthday<' . date('F j, Y', strtotime('+1 week')) . '" ]');
    ?>

    You will need to modify that to fit your situation, of course.

    Thread Starter JanDieckmann

    (@jandieckmann)

    Wow, great, thanks for this fast and detailes response. I have to try if I can use it with my little knowledge ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Request – Countdown/Birthday widget’ is closed to new replies.