How to exclude a block of code from search results
-
I use JW Player to embed video and audio files into my site. If I apply any treatment to search results, i.e. bold, it breaks my file path.
An excerpt from the object follows:
<script type=”text/javascript”>
jwplayer(“audio-20110911”).setup({
‘file’: ‘/audio/jrs-america-1990.mp3’,
provider: ‘sound’,If I search for america, relevanssi edits my file path to: /audio/jrs-america-1990.mp3.
Is there a way to wrap a block of code or text in tags that will exclude the block from search?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to exclude a block of code from search results’ is closed to new replies.