Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Australia MyPost shipping For Magento 2 1.0.0
Australia Post eParcel For Magento 1.1.1
Source Control for SQL Server 2.0
Answers phpSoftPro 3.12
Exlcart 2.0
School College ERP 1.3.2
White-label Grocery Delivery App Solution 2.0
Top Code
IcrediBB Bulletin Board System 1.0
Azizi search engine script PHP 4.1.10
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Answers phpSoftPro 3.12
Binary MLM Plan 1.0.2
jDUL/DUDE 1.0
Java-2-Pseudo 1.0
Vue Injector 3.3
Capturing the output and error streams from a unix shell command
ActivePerl 5.8.4.810/5.6.1.638
Ping Pong Game Code Script 1.1
Low Pass Butterworth Filter 1.0
Faculty Evaluation System 1.1
MLM Binary Plan Script – i-Netsolution 1.0.2
Cuckoo Optimization Algorithm 1.0
Top Rated
Uber Clone with Safety Measure Addons 2.0
Answers phpSoftPro 3.12
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
Highlight Search Terms 0.6
File ID: 94547






Highlight Search Terms 0.6
Download Highlight Search Terms 0.6http://wordpress.orgReport Error Link
License: Freeware
File Size: 20.5 KB
Downloads: 4
Submit Rating:
Highlight Search Terms 0.6 Description
Description: Highlights search terms using jQuery when referer is a Google, Yahoo or Lycos search engine or within WordPress generated search results. This plugin is a light weight, low resource demanding and very simple fusion between How to Highlight Search Terms with jQuery - theme hack by Thaya Kareeson and Search Hilite by Ryan Boren.

What does it do?

This low impact plugin uses only two action hooks, init to insert the jQuery library (already included in your WordPress package) and wp_head to add a custom jQuery extension to your page source code. The jQuery extension that runs after the page has loaded, finds all search terms on that page inside each div with class hentry and wraps them in <span class="hilite term-N"> ... </span> tags. Note that N is a number starting with 0 for the first term used in the search phrase increasing 1 for each additional term used. A (part of a) search phrase wrapped in quotes is considered as a single term.

What do I need to do?

There are no configuration options and there is no predefined highlight styling. You are completely free to define any CSS styling rules in your themes Stylesheet, style.css, to get a result that fits your theme best. You can find basic instructions and CSS examples under the Other Notes tab.

In most up to date themes (including WP's own Default theme) post and page content is shown inside a div with class hentry. This means only search terms found in post and page content are highlighted. Not search terms that accidentaly show in the page header, sidebar or footer. If your current theme does not do this (yet) this plugin will not work for you out of the box. See the last of the FAQ's for ways to make it work.

Installation :

To make it work, you will need to take two steps. (I) A normal installation and activation procedure and (II) editing your Theme Stylesheet to contain your personal highlight styling rules.

I. Use the slick search and install feature (Plugins -> Add New) in your WP2.7+ admin section or follow these basic steps.

* Download archive and unpack.
* Upload (and overwrite) the /highlight-search-terms/ folder and its content to the /plugins/ folder.
* Activate plugin on the Plug-ins page

II. Add at least one new rule to your themes styleheet (style.css) to style highlightable text.

For example use .hilite { background:#D3E18A; } to get a moss green background on search terms found in the content section (not header, sidebar or footer; assuming your Theme uses a div with class "hentry").

Please find more examples under the Other Notes tab.

License: Freeware

Related: Search, jquery, terms, Content, Theme, Plugin, Themes, styling, Class, Basic, stylesheet, stylecss, phrase, inside, hentry, Folder, Examples, Sidebar, Footer

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 20.5 KB

Downloads: 4



More Similar Code

The purpose of this plugin is to strengthened our on page SEO by adding new internal linking to the blog post using the most popular keywords used by search engine visitors to find the blog post from search engine ( incoming search terms ).

We can also display the most popular & recent search terms in the sidebar to get a sidewide internal linking to the corresponding blog post.

New since version 1.25: Automatically...



Mide3de2 is a windows IDE for the FST modula-2 compiler with this main features: Multi Document Support, Syntax highlight, Search &amp; Replace, Library &amp; Imported Functions Browsing, Multi Undo / Redo...



Fast and highly configurable search engine and web site indexer. Features include: boolean search, file and directory exclusion, customizable templates, sort results by matches, score, date or file size, highlight query terms in results and much...



Boost your traffic and improve your adsense income and the search engine ranking without doing anything with MySearchTermPresenter.

This plugin will collect and present search terms and phrases that people have used to find your blog...



Displays the latest results based on a twitter search. Options include setting multiple search terms, excluding terms and limiting tweets shown. Use the sidebar widget, <?php wp_twittersearch_feed(); ?> in your template or shortcode in your...



This module provides drupal sites with a fuzzy search engine to allow for broader keyword matches.

Fuzzy matching is implemented by using ngrams. Each word in a node is split into 3 (default) letter lengths, so 'apple' gets indexed with...



The core Search module provides a simple list of top search phrases from the watchdog log using the function watchdog_top. However, most sites clear watchdog frequently. Search Log stores search terms indefinitely and provides more robust...



This module reads the Twitter feeds based on the search term provided by the site administrator and stores all these tweets as nodes. Users of the application can comment it, rate it, can do anything with these nodes.

This module...



Done Right's MP3 Search is a search engine that searches MP3 files on search engines like MP3.com, seekmp3, music archive, audiophilez and eMP3Finder. This program displays the top 5 search terms. It has advanced options to choose timeouts, result...



Simple Site Search features include multiple search terms may be used,- files and folder to be search can be defined independently,- search only for files, only within folder, or both (files and folders) and other features.

User Review for Highlight Search Terms
- required fields
     

Please enter text on the image