Add parameter to URL
-
Hi there,
First, thanks for the great plugins, they’ve improved my site a lot!
I was wondering how to append a custom param to the end of the URL. Unfortunately, Relevanssi’s highlighting feature doesn’t work for me, so I’ve used a different plugin that appends ?hilite={query} to the end of the URLs.
I’ve edited search-results-query.php to be the following:
<p><a href="<?php the_permalink();?>?hilite=<?php $relevanssi_query ?>">
But no changes were reflected on the front end, so I’m not sure what I’m doing wrong. Plus, this change would have to be made every time I update, so I’m not sure if there is a better way to do this.
Thank you so much!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add parameter to URL’ is closed to new replies.