• I want to use a custom css and php file with my site. I used the following code and it fails on the php file and doesn’t seem to be formatted by the css

     *ACM Plugin activation.
     */
    require_once dirname( __FILE__ ) . '/plugins/xxxxxxx.php';
     *ACM style sheet.
     */
    function custom_style_sheet() {
    wp_enqueue_style( 'custom-styling', get_stylesheet_directory_uri() . '/xxxxxxx.css' );
    }
    add_action('wp_enqueue_scripts', 'custom_style_sheet');

    Help

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘adding custom css & php to child theme’ is closed to new replies.