Skip to content

Instantly share code, notes, and snippets.

@ryanlabelle
Created March 3, 2015 18:27
Show Gist options
  • Save ryanlabelle/31141c908ff7d645b917 to your computer and use it in GitHub Desktop.
Save ryanlabelle/31141c908ff7d645b917 to your computer and use it in GitHub Desktop.
Temp fix for booked plugin (line 47)
$atts = shortcode_atts(
array(
'size' => 'large',
'calendar' => false,
'year' => false,
'month' => false,
'switcher' => false,
'post_id' => false
), $atts );
ob_start();
echo '<div id="data-ajax-url">'.get_the_permalink($atts['post_id']).'</div>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment