WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
Formatting proofreading text on user profile page (1 post)

  1. doctorproctor
    Member
    Posted 2 years ago #

    Greetings -- We're running JetPack v1.5 with Spelling and Grammar (proofreading via After the Deadline) enabled, but the settings on the user profile page require formatting, as there's for some reason a line break btw each checkbox and its related item. I think the problem lies with the following code in after-the-deadline > config-options.php (line 13):

    <input type="checkbox" id="atd_<?php echo ($attr_name) ?>" name="<?php echo $options['name'] ?>[<?php echo $name; ?>]" value="1" <?php checked( '1', isset( $options[$name] ) ? $options[$name] : false ); ?>> <label for="atd_<?php echo $attr_name ?>"><?php echo $value; ?></label>

    This is not the sort of input code that's used elsewhere on the user profile page. It results in page source HTML such as:

    <input type="checkbox" id="atd_bias-language" name="AtD_options[Bias Language]" value="1" </input><label for="atd_bias-language">Bias Language</label>

    which is displayed on two lines, one for the checkbox and the other for the label. Ideas on how to edit the above to clean it up and reduce waste of vertical space on profile page?

    Many thanks,

    Jim P.

    http://wordpress.org/extend/plugins/jetpack/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic