Support » Plugin: The Events Calendar » tribe_get_current_month_text() Not working on customized gridview.php

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Rob La Gatta

    (@roblagatta)

    Modern Tribe Support

    Hi there mc_marie. Thanks for the note, and for reaching out here. Glad to hear you’re finding some value in the documentation/new user primer.

    Not sure about this one myself, but let me see if Jonah from our dev team has any ideas. Stay tuned – should have you a response no later than tomorrow. Cheers!

    Thanks for the response to let me know someone’s watching this forum… looking forward to possible solution(s)

    Plugin Author Rob La Gatta

    (@roblagatta)

    Modern Tribe Support

    We are indeed 🙂 We generally only hit this forum 1x a week due to our limited support bandwidth, but I’ll have someone take a look at your issue in the timeframe mentioned in my last note. Thanks!

    Hi mc_marie,

    That function does not return anything by default so you need to put an echo in front of it like so:

    <h2><?php echo tribe_get_current_month_text(); ?></h2>

    This is typically the case with any function that include “get” like get_the_title() or get_the_content(), etc.

    Does that help?

    – Jonah

    Yes, that helps! I’ll try that and report back.
    Thank you!

    Barry

    (@barryhughes)

    How did you get on with this mc_marie – did Jonah’s code work for you?

    Plugin Author Rob La Gatta

    (@roblagatta)

    Modern Tribe Support

    Going to mark this one resolved, mc_marie, as it’s been a month and we haven’t heard back. Please let me know if I’ve done so in error.

    Thanks for the reminder about this – honestly, the client had decided to move forward without the revision so I hadn’t tried it.
    The code you provided with the echo command worked.
    Thank you.

    Plugin Author Rob La Gatta

    (@roblagatta)

    Modern Tribe Support

    Fantastic! Thanks for confirming as much – glad to hear we’re all set here. If you need anything else in the future, don’t hesitate to ask.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘tribe_get_current_month_text() Not working on customized gridview.php’ is closed to new replies.