Skip to content

Instantly share code, notes, and snippets.

View cpt-events-ical.php
<?php
// see: http://www.noeltock.com/web-design/wordpress/how-to-ical-with-custom-post-types/ for more info
//add to functions.php: load_template( dirname( __FILE__ ) . '/lib/cpt-events-ical.php' );
function tf_events_ical() {
// - start collecting output -
ob_start();
// - file header -
You can’t perform that action at this time.