ecp-single-template.php – get category name of current event?

Home Forums Calendar Products Events Calendar PRO ecp-single-template.php – get category name of current event?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #23807
    Sandro
    Participant

    Hi,

    I’m trying to use get category name of the current event outside the loop. Had no success with standard wordpress way of doing it, so I was wondering if there was something built in your plugin to handle this…

    I tried this from documantation but it doesn’t work: it outputs nothing.

    this one works but it echoes link directly, and I need just a value to use it inside php not output it to browser: tribe_meta_event_cats1();

    Any thoughts?

    #23843
    Barry
    Member

    Hi Sandro. Would this work for you? http://pastebin.com/sv7FRN5P

    #23935
    Sandro
    Participant

    perfect! ty

    #23939
    Barry
    Member

    No problemo.

    #977581
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘ecp-single-template.php – get category name of current event?’ is closed to new replies.