Custom Tables
[closed] [Plugin: custom tables] date filter (2 posts)

  1. govako
    Posted 4 years ago #


    i'm using the free version of custom tables 3.4.4 and i'm trying to filter a table for a date field.

    The thing is that i want to filter the date by year.

    i tried something like
    $datefrom = time(date('d/m/Y','01/01/2011'));
    $dateto = time(date('d/m/Y','01/01/2012'));
    echo '[wctable id="24" limit="5" filter="datefield>=\'$datefrom\' AND datefield<=\'$dateto\'"]';

    echo '[wctable id="24" limit="5" filter="datefield LIKE \'%2012\'"]';

    but the table output is always empty. there's some other way to filter the table??

    thanks for the usefull plugin


  2. Nicolas P.
    Posted 4 years ago #

    Hi. Could you please send me "custom tables 3.4.4" in my email.
    I can't find it in WordPress Plugins.

    My email is: [ email redacted ]
    Thanks for your time!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Tables
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic