• Resolved Merkucio

    (@merkucio)


    Hello,

    1, I use this code
    [tdih_tab show_link=0 show_type=0 show_age=1 show_date=1]
    and I can’t see the event age anywhere.

    2. I want to show the events for today, tomorrow and yesterday, but doen’t understand how exactly use the period (t, m, y) in my shortcode
    [tdih_tab show_link=0 show_type=0 show_age=1 show_date=1]

    I tried added show_period=t,m,y but it doesn’t work for me.

    Any solutions?

    Thanks.

    • This topic was modified 5 years, 2 months ago by Merkucio.
    • This topic was modified 5 years, 2 months ago by Merkucio.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Anonymous User 393930

    (@anonymized-393930)

    show_age isn’t a valid parameter for the tdih_tab shortcode but can be used only with the tdih shortcode.

    You can only use one period for each shortcode request, so you can’t show yesterday, today and tomorrow in the same table, but you can do three requests in a row like

    [tdih_tab period='y']
    [tdih_tab period='t']
    [tdih_tab period='m']

    but this will be three separate tables.

    Thread Starter Merkucio

    (@merkucio)

    show_age isn’t a valid parameter for the tdih_tab shortcode but can be used only with the tdih shortcode.

    Oh, it’s very bad. ??

    • This reply was modified 5 years, 2 months ago by Merkucio.
    • This reply was modified 5 years, 2 months ago by Merkucio.
    • This reply was modified 5 years, 2 months ago by Merkucio.
    • This reply was modified 5 years, 2 months ago by Merkucio.
    Anonymous User 393930

    (@anonymized-393930)

    That means what it says. Day, month and year can be combined but it does not say that you can use more that one period e.g.

    [tdih_tab day=1 month=10 year=1200]

    is valid (only showing entries for 1200-10-01) but

    [tdih_tab period='ytm']

    is not valid and will show never show events because ytm is not a valid period.

    Thread Starter Merkucio

    (@merkucio)

    I deleted this question already)

    Could you please to tell me in which file and line can I find the show_age code?
    I want insert it in the beginning of even content.

    Not sure, my poor php skills will enough for this, but I want to try.

    • This reply was modified 5 years, 2 months ago by Merkucio.
    • This reply was modified 5 years, 2 months ago by Merkucio.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘show_age=1 and period (t, m, y) code’ is closed to new replies.