• Resolved susanp7777

    (@susanp7777)


    I just can’t get it. Removing the html from below my comment box on the wimple theme. I’ve tried .form-allowed-tags { display:none; } at the bottom of my style.css sheet and I also tried in the comment template (then you could see the words on the bottom under the comment box.) What am I doing wrong, this was simple with other themes. Help please.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Can you post a link to your site?

    Thread Starter susanp7777

    (@susanp7777)

    well that didn’t work ?? https://earntolearnonline.com

    .form-allowed-tags { display:none; } should have worked. Were there any errors when you added that code? Also, I’d recommend using your theme’s built-in custom CSS option or a custom CSS plugin to add that code. If you edit the theme’s files directly, you’ll lose those changes if the theme is ever updated later, to fix bugs or security issues or to add new features.

    Theme Author Sophy

    (@sophy)

    @susanp7777 you can use bellow code to add functions.php. But I don’t recommend to do like this follow up @stephencottontail reason.

    function wimple_remove_allowed_tags_text() {
            add_filter('comment_form_defaults','wimple_comments_form_defaults');
    }
    add_action('after_setup_theme','wimple_remove_allowed_tags_text');
    
    function wimple_comments_form_defaults($default) {
            unset($default['comment_notes_after']);
            return $default;
    }

    It looks like you tried to add the CSS rule incorrectly, because I see it at the bottom of each page, below the Post Comment button. As @stephencottontail said, use a custom CSS plugin to add the CSS, don’t just plop it into one of the PHP files. You shouldn’t be editing the theme’s files directly, anyway. If the theme gets updated because of feature enhancements, bug fixes, or security patches, or if the theme has to be updated because of a change to the WordPress core, then your changes will be lost.

    Thread Starter susanp7777

    (@susanp7777)

    Thank you for the replys. I’ll just leave it on my pages. I have no idea what a custom CSS or an add functions.php., or a PHP file is for that matter. I’m just trying to do my first blog page and didn’t/don’t understand the function of that text.

    Thread Starter susanp7777

    (@susanp7777)

    I got it, added the plug-in called – remove comment notes and it worked. Thank you for the taking the time to try and help me.

    Theme Author Sophy

    (@sophy)

    Welcome @susanp7777 my team already added this (Disable HTML text info on comment form) feature next version that release soon. ??

    So to set this wimple theme.Can anyone suggest me.I recently opened myblog on free wordpress But i want to have adsense enable.Can some one please guide me on this .Thanks a ton.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Wimple theme only please html codes – below comment box’ is closed to new replies.