• Resolved bobsgt

    (@bobsgt)


    Can Someone confirm if this adaption of a CC 1 Childtheme will work with CC 2?

    ==============================================

    /*
    Theme Name: Custom Community Child Theme
    Theme URI: https://themekraft.com/
    Description: Child Theme for Custom Community 2
    Author: Themekraft
    Author URI: https://themkraft.com/
    Template: custom-community
    License: Your world platin license :)
    Tags: buddypress
    Version: 0.1
    */
    
    /* Inherit the default theme styles */
    @import url("../custom-community/style.css");
    
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', apply_filters('cc2_style_css', get_template_directory_uri() . '/style.css') );
        wp_enqueue_style( 'child-style', get_stylesheet_uri(), array( 'parent-style' ) );
    }
    
    /* comment your style sections and add your styles here then!  ----------------------- */
    
    /*
     * use firebug to detect the styles on your site you want to change!
     *
     * Then you can change them live in firebug and copy them here!
     * That's the easy and fun way... :)
     *
     * Have a look for firebug (for Firefox) here: https://getfirebug.com/
     * Firebug for other browsers: https://getfirebug.com/firebuglite
     *
     * ----------------------- */

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Confirm CC2 Child Theme’ is closed to new replies.