Viewing 5 replies - 16 through 20 (of 20 total)
  • As it’s a custom theme, it’s difficult for us to know what effect any code changes are likely to have as we have no real idea who the theme was pout together. You could try removing:

    <?php wp_editor( '', 'comment', array(
            'media_buttons' => false,
            'textarea_rows' => '3',
            'tinymce' => array(
            'plugins' => 'inlinepopups, wordpress, wplink, wpdialogs',
            'theme_advanced_buttons1' => 'bold, italic, underline, strikethrough, forecolor, separator, bullist, numlist, separator, link, unlink, image','theme_advanced_buttons2' => ''),
    		'quicktags' => array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close')
            )); ?>

    from the above file but do make a backup copy first as I don’t know if the change will cause any problems.

    Thread Starter ctltvoz

    (@ctltvoz)

    I removed that code and added <?php comment_form(); ?> to it. I think it is Ok now.

    Thread Starter ctltvoz

    (@ctltvoz)

    Hi! I found a new way to make it work. I put // into the following:

    <?php wp_editor( '', 'comment', array(
            'media_buttons' => false,
            'textarea_rows' => '3',
            //'tinymce' => array(
            //'plugins' => 'inlinepopups, wordpress, wplink, wpdialogs',
            //'theme_advanced_buttons1' => 'bold, italic, underline, strikethrough, forecolor, separator, bullist, numlist, separator, link, unlink, image','theme_advanced_buttons2' => ''),
    		//'quicktags' => array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close')
            )); ?>

    I think these lines conflict with wordpress comment function.

    Hi

    my website is http://www.khaanabanana.com

    In the posts and pages area there is generally 2 options which is Visual Editor & Text editor.
    But on my website there is only one visual option available. can u plz tell me how to sort this thing.
    I deleted my earlier theme but i think there is a problem in the coding part as nothing changed when i deleted the option.
    It was still showing visual option only.

    [ redacted, support is only offered in the forums and not email, phone, Skype or IM ]

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @ipoojasharma If you need assistance then please start your own topic.

    https://wordpress.org/support/forum/how-to-and-troubleshooting#postform

    This topic is already marked resolved.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘[NSFW] Visual vs Text Editor does not work properly.’ is closed to new replies.