Add a background image to my footer Omega child theme.
-
Hi everyone, I am using Omega theme and I have my own omega child theme “Active”.
Inside my Omega-child theme I have 2 files:style.css
functions.phpinside my functions.php I have this code:
<?php function theme_enqueue_styles() { $parent_style = 'parent-style'; wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/rtl.css' ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ) ); } add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); remove_filter( 'omega_footer_insert', 'omega_default_footer_insert' ); function omegaChild_footer_insert( $settings ) { return '<p class="copyright">' . __( 'Copyright 8 ? ', 'omega' ) . '.</p>' . "\n\n" ; } add_filter( 'omega_footer_insert', 'omegaChild_footer_insert' ); ?>
But the system is not working with the ‘omegaChild_footer_insert’ it is working with the hooks.php file that is inside this path: wp-content\themes\omega\lib\functions
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add a background image to my footer Omega child theme.’ is closed to new replies.