• Resolved Lenny

    (@smallbirdmedia)


    If you notice table, says last verified, would like to have todays date and have it auto update so i dont have to change it daily

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Tim Crull

    (@galanos)

    Hi @smallbirdmedia,

    Thank you for posting; I’ll be happy to help!
    Displaying the current date in a table cell can be done by simply putting the formula =TEXT(TODAY(), "MMMM D, YYYY") in the table editor.

    I recommend putting the parameter cache_table_output=false into the Shortcode or in the “Configuration Parameters” field in the “Advanced” Section in the block editor’s sidebar when selecting your TablePress table block, respectively. This prevents long delays due to the internal caching of TablePress—but you might check other page and proxy caching, too.

    Allow me to present an alternative approach to automating date display. If you’d like to show the date on which the table was last modified adjacent to the table, insert a Paragraph block next to your table, paste the following line, and replace “4” with your table’s ID if necessary:

    Last updated on [table-info id=4 field=last_modified format=date /].

    Here’s the documentation for the [table-info /] Shortcode: https://tablepress.org/faq/documentation-shortcode-table-info/

    By the way, that Shortcode [table-info id=4 field=last_modified format=date /] can also be placed in the table editor if you want to display the table’s “last modified” date inside one or multiple cells.

    Let me know if this works for you 🙂

    Best,
    Tim

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.