Skip to content

Instantly share code, notes, and snippets.

@paullacey78
Last active September 18, 2018 13:07
Show Gist options
  • Save paullacey78/37f4307677567e3c9a3739af732dbb74 to your computer and use it in GitHub Desktop.
Save paullacey78/37f4307677567e3c9a3739af732dbb74 to your computer and use it in GitHub Desktop.
.fl-builder-module-template {
padding: 0;
}
// Add booking button shortcode
function booking_button() {
$output = do_shortcode( '[fl_builder_insert_layout slug="book-now-button"]' );
return $output;
}
add_shortcode( 'book', 'booking_button' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment