Reply To: Top searches

#4133

Ernest Marcinko
Keymaster

Hi!

It didn't work, because that function echos the content, and the part where you added was already echoed, so it run twice.

I've added the following lines to fix that:

	
        ob_start();
	dynamic_sidebar( 'asp_top_searches_widget' );
	$asp_plus_sidebar = ob_get_clean();

I see you also wanted to make those keywords white, so I added a CSS rule, because putting them into a paragraph will not help. The following rule is added to the search custom CSS section:

.asp_top_keywords {
  margin: 0 12px;
}

.asp_top_keywords a {
  color: #ffffff;
}
Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)