Support » Plugin: Search in Place » Search Data from 1 Page on whole website

  • Resolved suhail411

    (@suhail411)


    Hello, I need some information, I have one website where I am using your website and it works perfect on single page, but my client says he need this Search form on all other pages too but Search Result should fetch only 1 Page Data, not that other pages content, please let me know is it possible? If so pls provide me Shortcode to do so. Thank you so much in Advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @suhail411

    If you want to insert the search box in all website’s pages, but you want it searches only in the content of the current page, you should insert the shortcode directly into the code of the template file of the theme active on your WordPress, with a piece of code similar to:

    
    <?php print do_shortcode('[search-in-place-form in_current_page="1"]'); ?>
    

    Best regards.

    Thank you for this solution, but I done with different way, and that is working fine for now, BTW Thank you for your response as well. and THank you for your plugin, its awesome!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.