Nelson Ferryman

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Nelson Ferryman
    Participant

    functions.php did not attach, will paste below:

    <?php
    function my_theme_enqueue_styles() {
    
        $parent_style = 'sketch-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 ),
            wp_get_theme()->get('Version')
        );
    }
    add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
    
    if ( ! function_exists( 'tribe_support_use_co_uk_eb' ) { 
        /**
         * Using eventbrite.co.uk for Eventbrite Tickets
         */
        function tribe_support_use_co_uk_eb( $url ) {
            return str_replace( '.com', '.co.uk', $url );
        }
    }
    
    add_filter( 'tribe-eventbrite-base_api_url', 'tribe_support_use_co_uk_eb' );
    ?>
    
    
Viewing 1 post (of 1 total)