Support » Plugin: The Events Calendar » The event title

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey ouze,

    Thanks for reaching out to us!

    I’m not sure I follow exactly what you’re looking for here. But, if you’re within the loop, you should be able to access the title for the current object using the “the_title();” function.

    If you’re outside, you can try using global $post; and echoing get_the_title( $post->ID );

    Thanks!

    Hi,
    I think I’m having the same problem as ouze. The solutions you mention, BeardedGinger, don’t work. When I put in some code to just echo the $post->ID it returns 0. For all other posts, I get the post ID. It’s almost like TEC is clearing the $post object. I’ve been pulling my hair out trying to figure this out. Did you find a solution ouze?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The event title’ is closed to new replies.