Black Friday Sale! Get up to $30 off GP Premium! Learn more ➝

[Support request] Child theme requirement

Home Forums Support [Support request] Child theme requirement

Home Forums Support Child theme requirement

  • This topic has 0 replies, 1 voice, and was last updated 4 years ago by Chad Biggs.
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.