[Support request] Child theme requirement

Home Forums Support Child theme requirement

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #433211
    Chad Biggs

    My child theme seems to work okay without this function. Is it really necessary?

    function generatepress_child_enqueue_scripts() {
    if ( is_rtl() ) {
    wp_enqueue_style( ‘generatepress-rtl’, trailingslashit( get_template_directory_uri() ) . ‘rtl.css’ );
    }
    }
    add_action( ‘wp_enqueue_scripts’, ‘generatepress_child_enqueue_scripts’, 100 );

    GeneratePress 1.4
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.