Sydney child theme

⚠️ Warning: To be able to follow the steps of this tutorial, you are required you to have coding knowledge. Regretfully we can't provide support for custom coding. If you can't achieve what you are looking for or if you're not sure how to follow the instructions, hire a developer. We are also unable to provide support for problems happening because of custom codes.

This documentation can help you replace the Sydney theme homepage slider with our slider.

1
Go to the FTP of your website and create a child folder

/wp-content/themes/sydney-child-theme

2
Create a style.css file in this folder

/wp-content/themes/sydney-child-theme/style.css

and write this code in it:

/*
Theme Name: Sydney child theme
Template: sydney
*/
@import url('../sydney/style.css');
3
Copy the header.php file from Sydney into your folder

From: /wp-content/themes/sydney/header.php

To: /wp-content/themes/sydney-child-theme/header.php

4
Modify the code

This is how the end of the code looks like:

<?php do_action('sydney_after_header'); ?>
	<div class="sydney-hero-area">
		<?php sydney_slider_template(); ?>
		<div class="header-image">
			<?php sydney_header_overlay(); ?>
			<img class="header-inner" src="<?php header_image(); ?>" width="<?php echo esc_attr( get_custom_header()->width ); ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>">
		</div>
		<?php sydney_header_video(); ?>
		<?php do_action('sydney_inside_hero'); ?>
	</div>
	<?php do_action('sydney_after_hero'); ?>
	<div id="content" class="page-wrap">
		<div class="container content-wrapper">
			<div class="row">

Remove the entire sydney-hero-area div and use our slider's shortcode instead:

<?php do_action('sydney_after_header'); ?>
	<?php
		echo do_shortcode('[smartslider3 slider=8]');
	?>
	<?php do_action('sydney_after_hero'); ?>
	<div id="content" class="page-wrap">
		<div class="container content-wrapper">
			<div class="row">
5
Activate your child theme

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.