Thread Starter
costib
(@costib)
Thank you for the update!
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. 🙂
yes, there was an error in the plugin. it will be fixed in the next release.