[Support request] Childtheme function.php

Home Forums Support [Support request] Childtheme function.php

Home Forums Support Childtheme function.php

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1059870
    Sebastián Bórquez

    There is a line on childtheme functions.php… Can I remove this? To star add mi codes.. or need to be below this line:

    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 );

    #1059895
    Leo
    Staff
    Customer Support

    Hi there,

    That is for loading the RTL style sheet.

    You will need that if your site is RTL.

    You can just add your own functions below that.

    Let me know if this helps 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.