How to make slider appear on every page using Child Theme Configurator plugin

Hi,
I’ve really enjoyed this theme, but I’m wondering how to make the slider appear on every page, not just the home page. I’ve read all the topics related to this and still don’t understand.

I know I have to edit the Dazzling child theme functions, but I don’t know what to add or where to add it.

This is what it looks like now.

<?php
// Exit if accessed directly
if ( !defined( ‘ABSPATH’ ) ) exit;

// BEGIN ENQUEUE PARENT ACTION
// AUTO GENERATED - Do not modify or remove comment markers above or below:

if ( !function_exists( ‘chld_thm_cfg_parent_css’ ) ):
function chld_thm_cfg_parent_css() {
wp_enqueue_style( ‘chld_thm_cfg_parent’, trailingslashit( get_template_directory_uri() ) . ‘style.css’ );
}
endif;
add_action( ‘wp_enqueue_scripts’, ‘chld_thm_cfg_parent_css’ );

// END ENQUEUE PARENT ACTION

Thanks!

Hi, Maybe I should have been clearer with my question.
I found this post on the topic: https://colorlibsupport.com/t/slider-in-all-post/

I think I understand it all and can follow it but my child theme doesn’t have the block of code that I’m supposed to be working with in the functions.php file. I can find it in the Dazzling theme, but not the child theme. If I understand working with child themes correctly I’m supposed to cut and paste the function I want to work into the child theme functions.php file.

What I don’t understand is where to start and stop the section I’m cutting and pasting and do I need to put something before and after it. So any help would be appreciated.

Thanks!

Or is this something I should just do directly in the parent theme? I’m really afraid of messing up my site.

Hi @Suzka,

I hope you are well today and thank you for your question.

If you make changes in the parent theme file then you have to make these changes again after theme updation as changes made in the theme files get lost on theme updation so it’s not recommended to make changes the parent theme.

You can display the slider on all pages of your site by using the attached child theme of Dazzling theme that contains some custom code.

Best Regards,
Movin

Thank you so much for your answer. I’m not sure what to do with the child theme zip folder above. I’ve downloaded it, but now what.

Sorry for my ignorance. I’ve tried a google search, but it’s still unclear.

Never mind. I found where to upload a new theme under appearance/themes/add new/ upload.

Thanks so much for helping me out with this!

You are most welcome here :slight_smile:

Just want to update users not to use child theme shared in this topic but the updated child theme shared here https://colorlibsupport.com/t/please-help-update-messed-up-child-theme/#post-39233