Site logo

Archived topic

Childtheme function.php

1 reply · Started by Sebastián Bórquez on November 11, 2019

Viewing posts 1–2 of 2

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

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

This archived topic is closed to new replies.