Adding Horizontal Search Bar

Viewing 2 posts - 1 through 2 (of 2 total)

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

  • Author
    Posts
  • #7853
    jlang
    Spectator

    Is it possible to add a horizontal search bar to both loop-listing-blog-default.php and content-listing-single.php?

    Can the shortcode below somehow be used in the php files?
    [listing_search title=”” post_type=”rental,commercial” property_status=”current” search_house_category=”on” search_price=”on” search_bed=”on” search_bath=”on” search_car=”on” search_other=”off”]

    End result is a search bar at the top of the screen before the listings.

    Thank You.

    #7873
    Merv Barrett
    Keymaster

    yes you can do that with do_shortcode() function or if your theme supports wide widgets you can use that.

    <?php echo do_shortcode('[listing_search title="" post_type="rental,commercial" 
    property_status=”current" search_house_category="on" search_price="on" search_bed="on" 
    search_bath="on" search_car="on" search_other="off"]'); ?>

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Basic Support’ is closed to new topics and replies.