How to Install Ajax Search Feature on Blog | Droidnur123

woocommerce ajax search without plugin ajax search filter ajax search lite ajax search in wordpress without plugin wordpress ajax search custom post t
Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated

Assalamualaikum, this time Droidnur123 will share tips on how to install an Ajax search feature to a blog that I found on Arlina Code blog.

How to Install Ajax Search Feature on Blog | Droidnur123



Best Feature of Ajax Search?


This Ajax feature has many advantages when compared to ordinary search options, one of which is being able to load a list of articles automatically without the need to press the search or enter button according to the keywords we are looking for. Pretty interesting isn't it?

 For those who are interested, let's look at the following tips below.


How to Add Ajax Search Feature on Blog?


As I explained earlier, the way the Ajax Search feature works is that it automatically generates a number of articles according to the keywords we write in the search field. For example like the image below:


For Example when you write a health keyword in the search field, what comes out is a list of articles related to that keyword. So, do you understand? Okay.


( 1 ) First open Blogger > Click the Theme menu and click Edit HTML . Next, you just need to add the link below before </body>or &lt;!--</body>--&gt;&lt;/body&gt; and it will perfectly work on the search field on your blog


And I've also modified it a bit by adding CSS to make it look more attractive as posiable. download and Add the code below before </head>or&lt;/head&gt;&lt;!--<head/>--&gt; 


Now Click the Save theme and You are done.


Note: "Here are some parameter options from the Ajax Search Feature that you can use according to your Blog."



Type Information
live If this option is false, then the article will not appear automatically until you press the search icon or enter button.
URL Replace the value with the address of your blog or the address of another blog that you want to display to ajax search.
image Change the value to true to display the article image.
target If the value is "_blank" , all links will open in a new tab.

For more options, my friend can visit the Arlina blog :] in this article

An example of the parameter options I added such as: live=trueandimage=true

<script src='https://cdn.jsdelivr.net/gh/Arlina-Design/quasar@master/ajaxsearch.js?live=true&amp;image=true'/>

If you want to add other parameters such as URL, you only need to add &amp;as a delimiter between parameters. Examples like this below:

<script src='https://cdn.jsdelivr.net/gh/Arlina-Design/quasar@master/ajaxsearch.js?live=true&amp;image=true&amp;url=https://www.nama_blog.com'/>

We recommend that you re-host the code at this link https://cdn.jsdelivr.net/gh/Arlina-Design/quasar@master/ajaxsearch.js and look for this blog ID 5382492177374539930 then replace it with your blog ID.

Okay, that's all from me about "How to install Ajax Search Features on Blogs". Hopefully useful visit Again
Go to Link

About the Author

Droidnur is the Founder & CEO of droidnur.eu.org & Publisher with an Entrepreneur. He is Also a Collage Student & Full Time Passionate Blogger.

إرسال تعليق

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.