Skip to content

Instantly share code, notes, and snippets.

@sarastanger
sarastanger / Gravity Forms Integration with Events Calendar
Last active July 6, 2016 04:58
Hooking up three different Gravity forms to feed The Events Calendar custom post type: add venue and organizer information, add featured image support. Adaptation of: https://gist.github.com/leepettijohn/0ab7e5a7474f9f77df20#file-functions-php-L170 by @leepettijohn
<?php
function my_theme_enqueue_styles() {
$parent_style = 'parent-style';
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array( $parent_style )
);