• Hello,

    I installed the CKEditor plugin, in my theme there is a login area for users, in the users panel I used the wordpress editor when I activated the plugin it replaced the theme editor and now I have a description field without toolbar, it was great ! When I save a text in the field, these tags “<p>” and “</ p> are displayed. I believe that I only have the html editor active and I want only the visual editor to be displayed. Is in the theme:

    <h2 class=”pageHeader”><?php esc_html_e(‘Manage Agent Profile Information’, ‘mytheme’); ?></h2>
    <div class=”row”>
    <div class=”col-xs-12 col-sm-12 col-md-12 col-lg-12″>
    <div class=”form-group agentEditor” id=”isDesc”>
    <label for=”agent_about”><?php esc_html_e(‘About’, ‘mytheme’); ?></label>
    <?php
    $html_content = isset($agent_about) ? $agent_about : ”;
    $settings = array(
    ‘teeny’ => true
    );
    wp_editor($html_content, ‘agent_about’, $settings);
    ?>
    </div>
    </div>

    Thank you,

    Carlos

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Change HTML editor to Visual in Theme’ is closed to new replies.