Integration with WP templates

Home Forums Calendar Products Events Calendar PRO Integration with WP templates

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #9816
    Mike
    Participant

    Can you explain exactly how TEC chooses it’s location on the page? Is it based on presence of the_content() ? I’ve got a template where I want to run a separate wp_query loop before the calendar, so I’d like a little detail. Thank!

    #9832
    Rob
    Member

    Hi Mike. Thanks for the note. I spoke with our developer on this today, and it looks like yes, it is indeed based on presence of the_content(). It also overrides the_title().

    That help? Let me know if not.

    #9834
    Rob
    Member

    Oh, and if that doesn’t work, you can make a custom template and change the display to ECP Default Template
    which will take over the whole page instead of the the_content().

    #10115
    Mike
    Participant

    That helped a great deal. What I learned, after some tinkering, is that I can’t use query_posts() if I want to run a loop on the same page as TEC. So, my work around was to use get_posts (). Worked like charm. Here’s the reference if anyone wants it.

    http://codex.wordpress.org/Function_Reference/get_posts

    #10146
    Rob
    Member

    Excellent to hear! Thanks for confirming, Mike. That will definitely come in handy for other users who have related questions down the road.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Integration with WP templates’ is closed to new replies.