WordPress.org

Forums

Search Everything
How do I put seach results into a page (9 posts)

  1. damplified
    Member
    Posted 1 year ago #

    Hi Love the Plugin
    Works great
    Just dont know how to embed the result into a page?

    I have used the Test Search Form and run the test form search which works then paste URL in to a menu which works as a page

    but

    its not a tue page where I can add other description word
    please can you help?

    https://wordpress.org/plugins/search-everything/

  2. PetraP
    Member
    Plugin Author

    Posted 1 year ago #

    Hey,

    thanks for reaching out - I'll gladly help! You can try to embed the search result into a page with iframe. Go to "Pages"->"Add New"->switch to "Text" mode and insert:
    <iframe src="your url"></iframe>. That's it!

    Please let me know how it goes, take care and have a nice day,
    Petra

  3. damplified
    Member
    Posted 1 year ago #

    Big thank you, that works!!!!

    Awesome

    That also brings in the whole web site as well as the search results, can I adjust so it just the search result and not the whole site frame etc.. :) Please

  4. PetraP
    Member
    Plugin Author

    Posted 1 year ago #

    Hey,

    glad to hear it works! :)
    Now, adjusting this is a bit trickier:
    1. you could try changing the "search.php" file found in "Appearances"->"Editor"->your theme->search.php (removing the get_header();). Don't forget to update the file.
    2. you could try the Ajax Search Lite plugin

    Hope this helps, all the best,
    Petra

  5. zahidaoui
    Member
    Posted 1 year ago #

    Hi PetraP,

    I need to do the same thing as damplified, but I am not sure I understand what url I should put at src="your url".

    And I have another small issue, I have created my own search form, that is using Search Everything:

    <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
    			<div>
    				<input type="text" size="" name="s" id="s" value="Effectuer votre recherche..." onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;"/>
    				<input type="submit" id="searchsubmit" value class="btn" />
    			</div>
    		</form>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    What should I change in this form so that on submit, it leads to the page where my search result is embeded?

    Thank you !

  6. PetraP
    Member
    Plugin Author

    Posted 1 year ago #

    Hey zahidaoui,

    let's say you wish to embed the site http://www.mysite.com - then you put "http://www.mysite.com" URL in the iframe: <iframe src="http://www.mysite.com"></iframe>. To get that search result URL, do a search on your site and just copy/paste the URL in your address bar. As far as your custom code goes, please try to replace the <?php bloginfo('home'); ?> with your URL and see if it works.

    Please let me know how it goes, take care and have a nice day,
    Petra

  7. igorlaszlo
    Member
    Posted 1 year ago #

    Hello Petra,

    i still do not understand what you mean under "your URL". The search result's URL is http://www.my-site.com/?s=the-word+other-word+other-words... so, how can we define the URL when we do not know which words will be looking for by the visitors ?

  8. zahidaoui
    Member
    Posted 1 year ago #

    Thank you Petra, this helps :)

  9. PetraP
    Member
    Plugin Author

    Posted 1 year ago #

    @Igor,

    thanks for reaching out - would you mind trying out this plugin: Ajax Search Lite plugin? I believe this is what you are trying to achieve.
    And I hope you don't mind but I will continue the conversation in this topic.

    @zahidaoui: glad to hear it! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Search Everything
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic