• Hello, you beautiful people, that developed this exceptional plugin.

    I’d like to know if there is any way to insert a list of dates to not to publish my shortcoded content, as in: 2024-10-12, 2024-10-13, 2024-10-19, 2024-10-20, 2024-10-26… etc, that being Saturdays, Sundays and local holidays.

    It would be a pain to insert them one by one, selecting on the calendar. I have the AI list generated list from today, until 01-01-2030.

    I’ve entered via FTP, but couldn’t identify my generated codes… If that makes any sense.

    Thank you in advance,
    Mauricio.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    I am sorry, but having multiple dates in one shortcode or server side rule is not possible yet. I may add this for a future update.

    Thread Starter albamauro

    (@albamauro)

    Hi Arno, thank you again for your excellent work.

    I’m sure I’ve not explained myself correctly: I’m using a shortcode to publish and unpublish a small text (“We’re open” / “We’re closed”).

    This shortcode was generated via the “Add new” menu. There, I could manage “Exceptions”, via choosing single days in the calendar.

    The question is if there’s any way to insert a long list of dates (all Saturdays, all Sundays and national holidays), from today, until 01-01-2030, that I’ve already generated via AI.

    Sorry for not being all clear in my first message.

    My best for you,
    Mauricio

    Plugin Author Arno Welzel

    (@awelzel)

    Well – shortcodes are in fact just text. So you can just create shortcodes as text and insert them this way. There is no need to use any menu at all.

    For example:

    [timed-content-server show="2024-12-20 00:00" hide="2024-12-20 23:59"]

    Your content here to be visible from 2024-12-20 00:00 to 2024-12-20 23:59 (using the timezone of your WordPress installation).

    [/timed-content-server]

    However – in one single shortcode you can only add one single “show” and “hide” option. It is not possible to have multiple times in one shortcode. But of course you can use multiple shortcodes one after another, like this – for example with two days, but the idea should be clear:

    [timed-content-server show="2024-12-20 00:00" hide="2024-12-20 23:59"]

    Your content here to be visible from 2024-12-20 00:00 to 2024-12-20 23:59 (using the timezone of your WordPress installation).

    [/timed-content-server][timed-content-server show="2024-12-24 00:00" hide="2024-12-24 23:59"]

    Your content here to be visible from 2024-12-24 00:00 to 2024-12-24 23:59 (using the timezone of your WordPress installation).

    [/timed-content-server]
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.