Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter costib

    (@costib)

    C’mon..nothing? 🙂

    Thread Starter costib

    (@costib)

    Really?

    Thread Starter costib

    (@costib)

    Thank you for the update!

    Plugin Contributor Niall Kennedy

    (@niallkennedy)

    The Recommendations Bar social plugin supports overriding the default number of recommendations of 2 to 1, 3, 4, or 5. You may now set this value in the Recommendations Bar settings area of your WordPress administrative interface.

    Thread Starter costib

    (@costib)

    Hello Niall!

    Yes I saw that but unfortunately there is something wrong with the plugin. I tried 1, 3, 4, and 5 but after the save action it’s returning to the default value, 2. I think there is something wrong in the code or maybe it’s something wrong with my wordpress, which I don’t believe but…Do you have any ideea why the plugin it’s returning the default value?

    // enforce minimum. reset to default
    		if ( ! isset( $existing_value ) || $existing_value < 1 || $existing_value > 5 )
    			$existing_value = 2;
    
    		echo '<input type="number" name="' . self::OPTION_NAME . '[' . $key . ']" id="facebook-recommendations-bar-num-recommendations" size="1" maxlength="1" min="1" max="5" step="1" value="' . $existing_value . '" /> ' . _n( 'maximum recommendation', 'maximum recommendations', $existing_value, 'facebook' );
    	}

    same as costib. the number 2 resist change. 🙂

    Plugin Contributor Niall Kennedy

    (@niallkennedy)

    yes, there was an error in the plugin. it will be fixed in the next release.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Facebook] How to change the number of recommendations’ is closed to new replies.