Confirm your child theme work? Message will not go away

Questions and AnswersCategory: Child Theme QuestionsConfirm your child theme work? Message will not go away
Steven asked 2 weeks ago

Hi!This site is as been super helpful.We have a site where the message \"Message from ChildThemeWP.com: Confirm your child theme work? Yes my child theme works or No my child theme does not work\" will not go away in the WP Admin section.What is the best way to remove this message?Thanks! — Steven

1 Answers
Ben Staff answered 2 weeks ago

Hey Steven,

You can turn it off like this:

1) Login to WordPress

2) Apperances >> Theme Editor

3) Choose the functions.php file. But make sure this is for your Child theme. There’s a dropdown top right to toggle between your child and parent theme.

4) Then add two forward slashes before add_action( ‘admin_notices’, ‘display_admin_notice’ ); like the attachment. So it will read.

//add_action( ‘admin_notices’, ‘display_admin_notice’ );

Screenshot

Just so you know. I think it’s your web browser caching the message. So if you hit CTRL + F5 it should go away without you doing this (hard refresh the page).

Reach out to me again if this doesn’t fix it.

Glad you like our site.

Thanks,

Ben

Comments