Recent Searches Widget
Title doesn't appear (4 posts)

  1. renathy
    Posted 2 years ago #

    When I add this widget to sidebar, it doesn't show title.
    I have added title in administration panel for this widget, however, it doesn't appear.

    I tried to debug some code and I found out thet dynamic_sidebar doesn't get widgets title.

    Why it is so? Any suggestions how to find out this?


  2. Joelle
    Posted 2 years ago #

    Hi renathy,

    Did you ever get an answer to this? I'd love to resolve the same issue. Thanks!

  3. renathy
    Posted 2 years ago #

    No. Title doesn't appear.

  4. Caiapfas
    Posted 2 years ago #

    here is the fix. I'm positive it could be better, but it works

    find line 104 and oyu should see

    extract( $args );

    paste this code after it

    // Caiapfas quick and dirty patch 3/13/2013
    			$options = get_option( 'recent_searches_widget' );
    			if ( !is_array( $options ) ) {
    				$options = $this->get_default_options();
    			$title = $options['title'];
    			$max = $options['max'];
    			// end code

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Recent Searches Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic