I develop different plugins for my personal use and always get the same problem with plugins having a Setting Page:
WP add one
<br> for each parm which is set in settings fields, so the Settings Page is not nice, there is a lot of space between the page title and the first parm.
Here is an exemple:
echo '<div class="wrap">'; _e( '<h2>Knowledge Place CMS Page Protection</h2>', 'kpcms-page-protection' ); echo '<form method="post" action="options.php">'; settings_fields( 'kpcms_page_protection-settings-group' ); echo '<table class="form-table">';
Here, if I set 5 fields, I get five br tags between the /h2 tag and table tag in HTML generated by WP.
Weird. How can I fix that?