Error in code on website.

Home Forums Welcome! Pre-Sales Questions Error in code on website.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1441552
    Richard Krone
    Guest

    Hello:

    On https://theeventscalendar.com/knowledgebase/using-tribe_get_events/
    There appears to be no consistency on the page for the end for loop bracket. The first code example has the for-loop with a correct end bracket but the remaining code examples omits the }.

    I personally would add in the } to have a complete code snippet.

    Also I am unsure about the current use of the ‘global $post;’ variable. Is this considered a best or good practice to call a global variable?

    Thank you,

    Richard Krone
    Internet and Social Media Administrator
    Information Technology Department, County of Erie
    Phone (814) 451-7672

    #1442845
    Brendan
    Keymaster

    Hey there and thanks for getting in touch!

    We’d be happy to help — but I do want to note that our pre-sales forum is used to answer questions about purchasing our premium plugins.

    If you’re looking for technical support, it would be awesome if you could post your question to our WordPress.org support forum.

    Or, if you already have an active license for one of premium plugins, will you please log into your account and post your topic to our premium support forum instead?

    Thanks so much!

    Thanks,
    Brendan

    #1462856
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Error in code on website.’ is closed to new replies.