Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM Create a page with header slider and NO advanced Search on top of it

This topic contains 0 replies, has 1 voice, and was last updated by  Anna 2 years, 4 months ago.

  • Author
    Posts
  • #109192

    Anna
    Keymaster

    First – Modify a page that you do not use – like 

    single-idx.php

    In PHP use ECHO SHORTCODE function to add Rev Slider as a function above breadcrumbs

    Code should be like this

    <?php echo do_shortcode( '[vc_row full_width="stretch_row_content_no_spaces" video_opts="" multi_color_overlay=""][vc_column width="1/1"][rev_slider_vc alias="demo"][/vc_column][/vc_row]' );?>

    So you add AFTER

    <div class="row">

    and BEFORE

    <?php get_template_part('templates/breadcrumbs'); ?>

    In code replace the slider name in the code – from demo in the above example, to a slider name that exists in Revolution Slider lists.

    change slider name

    Then create / edit the page you wish to have this custom heasder.

    From right – custom page templates – Select IDX PAGE template.

    test custom header

    Select Header None for this page. Publish.

    And you’ll have the header with slider and no search on top of it.

    • This topic was modified 2 years, 4 months ago by  Anna.
    • This topic was modified 2 years, 4 months ago by  Anna.
    • This topic was modified 2 years, 4 months ago by  Anna.
    • This topic was modified 2 years, 4 months ago by  Anna.
    • This topic was modified 2 years, 4 months ago by  Anna.
    • This topic was modified 2 years, 4 months ago by  Anna.
    • This topic was modified 2 years, 4 months ago by  Anna.

You must be logged in to reply to this topic.