• Resolved MSABlog_admin

    (@msablog_admin)


    Hi,
    I have some code appearing after my comment box but before the ‘post comment’ button (polaroid theme). Not sure how it got there but want to get rid of it. Any suggestions?

    NB. I don’t really want to set the theme back to its original state if it is avoidable.

    site is : https://melodysmithanimation.co.uk/wp/

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Just fixed this for someone earlier.

    Please add this to your style.css or custom css area of your theme:

    #respond .form-allowed-tags { display: none; }

    Make sure you are either using a Custom CSS plugin or a child theme and add the code given above.

    Thread Starter MSABlog_admin

    (@msablog_admin)

    It worked a treat with the plug in – Thank you both for your prompt help! ??

    I really dislike display: none;. It’s like getting someone to hang a picture on your wall, then you decide you don’t like it, so instead of taking it down, you pin a bedsheet over it. You can no longer see the picture but it’s still there.

    Take down the picture by adding this to your theme’s functions.php file:

    add_filter( 'comment_form_defaults', 'remove_comment_form_allowed_tags' );
    function remove_comment_form_allowed_tags( $defaults ) {
    
    	$defaults['comment_notes_after'] = '';
    	return $defaults;
    
    }
    Thread Starter MSABlog_admin

    (@msablog_admin)

    For a minute there I thought your first phrase was a sartorial comment on my choice of blog theme ??
    Thanks for your input!
    If any of you want to tell me about your favourite childhood animation then feel free to add it to the vote section of my blog.
    Many thanks again for all of your help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Some html code on page’ is closed to new replies.