• How would one go about adding a fixed block of text below the slider and above the three featured items? I’ve done this with other (older) themes by adding the text directly to the body in the index file, but I’m having issues figuring out how to do this in Customizr. All ideas are appreciated.

Viewing 1 replies (of 1 total)
  • Put your content inside $after_slider variable (line 3) and add this function in your child themes’ functions.php:

    add_filter('tc_slider_display', 'content_after_slider');
    function content_after_slider($html) {
    $after_slider = ''; //Put your HTML inside this var
    return $html.$after_slider;
    }

    Please note that the content above will always be placed after any slider in your website. You could use a conditional that decides how to populate $after_slider depending on what page you are or…

    …alternatively, if you want to hook your content to the display of featured pages, use this function:

    add_filter('tc_fp_block_display', 'content_before_fp');
    function content_before_fp($html) {
    $before_fp = ''; //Put your HTML inside this var
    return $before_fp.$html;
    }

Viewing 1 replies (of 1 total)

The topic ‘Adding text area below slider/above featured’ is closed to new replies.