• Resolved Anita Stefanovsky

    (@anita-stefanovsky)


    I would like to add a ‘today’s date’ an effective date to each table. That is to say, when a user looks at a table on the website, it shows the current date. Is this possible?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    TablePress itself does not have such a feature, but you can easily achieve this by e.g. using the plugin https://www.ads-software.com/plugins/shortcode-for-current-date/
    This will make the [current_date] Shortcode available, which you can then use anywhere inside your tables.

    Regards,
    Tobias

    Thread Starter Anita Stefanovsky

    (@anita-stefanovsky)

    Thank you Tobias.

    Is there a way to change the color of the footer?
    I currently have the header and footer set as this

    .tablepress thead th,
    .tablepress tfoot th {
    background-color: #9ac3d7;
    }

    But would like my footer to be white?
    Possible to have a different color in the header and footer?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    sure, that’s no problem! You can then simply use the CSS

    .tablepress thead th {
      background-color: #9ac3d7;
    }
    .tablepress tfoot th {
      background-color: #ffffff;
    }

    Regards,
    Tobias

    Thread Starter Anita Stefanovsky

    (@anita-stefanovsky)

    Thank you Tobias!
    You are amazing.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘adding ‘today’s date’ to each table’ is closed to new replies.