Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author TT Themes

    (@tomastoman)

    Hi,

    the slideshow feature is available in the Premium version of this theme by default. If you would like to implement a header slideshow into the Free version, you will need to create a child theme.

    For creating a slideshow, I can recommend you to use the Cyclone Slider 2 plugin. Once you create a slideshow, please copy the original “header.php” template from the “brickyard” directory to your child theme’s directory, search here for the following code:

    <?php if ( get_header_image() != '' ) { ?>
        <div class="header-image"><img src="<?php header_image(); ?>" alt="<?php bloginfo( 'name' ); ?>" /></div>
    <?php } ?>

    and modify it in this way (just replace the “slideshow-id” with the real slideshow ID):

    <div class="header-image"><?php if( function_exists('cyclone_slider') ) cyclone_slider('slideshow-id'); ?></div>

    I hope that my answer will be helpful for you.

    Best regards,
    Tomas Toman

    Thread Starter sabrinao

    (@sabrinao)

    Thanks Tomas! You are the second person saying I have to make a child theme… so I will give it a go. Thanks so much for your help on this topic! I will try it out. Also do you have an answer for this? https://www.ads-software.com/support/topic/replacing-searchbox-in-header

    Thread Starter sabrinao

    (@sabrinao)

    This is what I have. It doesn’t seem to be showing?

    <?php } ?>
    <?php if ( is_home() || is_front_page() ) { ?>
    <?php if ( get_header_image() != '' ) { ?>
        <div class="header-image"><?php do_action('slideshow_deploy', '17'); ?></div>
    <?php } ?>
    <?php } else { ?>
    <?php if ( get_header_image() != '' && $brickyard_options_db['brickyard_display_header_image'] != 'Only on Homepage' ) { ?>
        <div class="header-image"><?php do_action('slideshow_deploy', '17'); ?></div>
    <?php } ?>
    <?php } ?>
    Theme Author TT Themes

    (@tomastoman)

    Please delete the conditions for displaying the header image in your code to make it work:

    <?php } ?>
    <?php if ( is_home() || is_front_page() ) { ?>
        <div class="header-image"><?php do_action('slideshow_deploy', '17'); ?></div>
    <?php } else { ?>
        <div class="header-image"><?php do_action('slideshow_deploy', '17'); ?></div>
    <?php } ?>

    If you would like to replace the header search form with a phone number, please follow this guide.

    Best regards,
    Tomas Toman

    Thread Starter sabrinao

    (@sabrinao)

    Tomas, I wish I could kiss you!! Thanks so much for your great support and your amazing theme!

    Theme Author TT Themes

    (@tomastoman)

    No problem, I am glad that I could help you! ??

    Best regards,
    Tomas Toman

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Create a widget area below header navigation menu’ is closed to new replies.