Display calender on childtheme innertemplate

HomeForumsVolunteer Sign Up Sheets Calendar DisplayDisplay calender on childtheme innertemplate

Viewing 1 reply thread
  • Author
    • #30403

      Hi Stehen,
      Thanks for this wonderful plugin you made! Exactly what i was looking for!
      I’m experimenting how i can add the calendar to my theme. And i was wondering if it’s possible to add the calendar to my childtheme inner page template? To call it with php or javascript.
      I searched the forum and docs for info, but without luck. Hope you can tell me how.

    • #30405
      Stephen Sherrard

      I’m not sure why you would want to actually embed it in the template, as opposed to just using the shortcode for it. You can always use the shortcode to embed a calendar anywhere that you can put a shortcode (usually in the content section of a page or post).

      The shortcode is shown near the bottom of the documentation page:

      If you did want to call it from within a template, you could just use the WordPress PHP do_shortcode function:
      Not that I haven’t tested it by calling it from within a template, but it should work as long as the current user has been established before the template is loaded.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.