Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Theme functions and definitions.
- * This child theme was generated by Merlin WP.
- *
- * @link https://developer.wordpress.org/themes/basics/theme-functions/
- */
- /*
- * If your child theme has more than one .css file (eg. ie.css, style.css, main.css) then
- * you will have to make sure to maintain all of the parent theme dependencies.
- *
- * Make sure you're using the correct handle for loading the parent theme's styles.
- * Failure to use the proper tag will result in a CSS file needlessly being loaded twice.
- * This will usually not affect the site appearance, but it's inefficient and extends your page's loading time.
- *
- * @link https://codex.wordpress.org/Child_Themes
- */
- add_action( 'wp_enqueue_scripts', 'asli_child_enqueue_styles', 99 );
- function asli_child_enqueue_styles() {
- wp_enqueue_style( 'asli-style' , get_template_directory_uri() . '/style.css' );
- wp_enqueue_style( 'asli-child-style',
- get_stylesheet_directory_uri() . '/style.css',
- array( 'asli-style' ),
- wp_get_theme()->get('Version')
- );
- wp_enqueue_style( 'elementor-icons-fa-brands' ); // FontAwesome 5 Brands from Elementor
- }
- add_filter( 'arts/elementor/widgets/allowed_html_tags', 'custom_allow_more_html_tags' );
- function custom_allow_more_html_tags( $_allowed_tags ) {
- $_allowed_tags = array_merge(
- $_allowed_tags,
- array(
- 'ul' => array(
- 'class' => array(),
- ),
- 'li' => array(
- 'class' => array(),
- ),
- 'i' => array(
- 'class' => array(),
- ),
- 'span' => array(
- 'class' => array(),
- ),
- )
- );
- return $_allowed_tags;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement