Embedding on a page?

Home Forums Calendar Products Events Calendar PRO Embedding on a page?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #65856
    Nick
    Participant

    Hey guys – is there a way to embed a list of events or a particular category on a page or a post? (as opposed to on a sidebar)

    #65858
    Barry
    Member

    With a little customization you could reuse the widgets within a page/post or else you could build a custom event query using tribe_get_events() … I’m afraid we have to leave customizations like this to you though. Have fun!

    #65860
    Nick
    Participant

    Interesting…. can you give me a clue how that’s done? Like the most generic possible example?
    ie [Display last 10 items with Date and Title from X category]
    I just don’t have a clue how to code that.

    #65911
    Barry
    Member

    Definitely – here’s some code to get you started, you’ll probably need to play with it and tweak it slightly to get exactly what you want, but it should provide a starting point 🙂

    #65924
    Nick
    Participant

    Marvelous, thanks a lot. Last question – very newbie here – wordpress is going to strip that if I paste it in a page or post, no? Is there some trick I don’t know of to run php code in a post? Or will this only work if I create a new page *template* then use that?

    #66049
    Barry
    Member

    That’s right – you’d need to do this at code-level – whether in a template or somewhere else, rather than pasting it into the post editor.

    #68094
    Kelly
    Participant

    Hi, Nick. Since it’s been a couple of weeks now, I’m going to close this thread. Please feel free to start a new topic if you’d like to revisit this.

    Thanks for being part of the TEC community!

    #981145
    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 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Embedding on a page?’ is closed to new replies.