WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. renathy
    Member
    Posted 1 year 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?

    http://wordpress.org/extend/plugins/recent-searches-widget/

  2. Joelle
    Member
    Posted 1 year ago #

    Hi renathy,

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

  3. renathy
    Member
    Posted 1 year ago #

    No. Title doesn't appear.

  4. Caiapfas
    Member
    Posted 1 year ago #

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

    //wp-content/plugins/recent-searches-widget/recent-searches-widget.php
    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

About this Topic