Reply To: Top searches

Ernest Marcinko
Ernest Marcinko


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:

	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;
Ernest Marcinko

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