voodoodan245
Forum Replies Created
-
Same issue what is going on? anyone have any clue?
Forum: Plugins
In reply to: [Highlight Search Terms] The Highlight remains when I go to other pages.I fixed this temporarily by only styling the hilite class in the seach results page.
But this definitely needs to be fixed as it’s generating useless html code.
Here’s my CSS
.hilite {
background-color:transparent;
color:inherit;
font-weight: inherit;
}
.search .hilite {
background-color:transparent;
color:inherit;
font-weight: bold;
}
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Making all my search results boldOk, So I found a post where someone had the same issue. Seems like relevanssi and Modernize don’t play well together.
Ended up using Highlight Search Terms plugin which required me to add their class to the search.php template of Modernize but after that was done all I needed to do was style it.
https://wordpress.org/plugins/highlight-search-terms/Too bad relevanssi didnt work out 🙁
Thanks!
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Making all my search results boldThank you for you response!
Yes I’m using the latest version.
These are the functions I’m using to limit and change my excerpts. I’m also using a child theme of Modernize.
Please help!
function custom_excerpt_length( $length ) {
return 50;
}
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );function word_count($string, $limit) {
$words = explode(' ', $string);
return implode(' ', array_slice($words, 0, $limit));
}
function new_excerpt_more( $more ) {
return '';
}
add_filter('excerpt_more', 'new_excerpt_more');