• There is an error message showing on top of the website
    <class=”home blog logged-in admin-bar no-customize-support wp-custom-logo hfeed”>

    I am using a wordpress theme called Envy Blog Pro and contacted the theme provider (Precise Themes) but haven’t heard their feedback for a while.

    Is there any way to fix this?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • It seems some code or plugin is adding this in the body tag. See the screenshot.

    FYI, wp_body_open action is used for such customization.
    If you are not sure which plugin it is, you can deactivate all the plugins and then activate these one-by-one to detect the one causing the trouble.
    If deactivating all the plugins doesn’t make any difference, try switching to one of the default themes of WordPress. If it helps, it means the code is in the functions.php file of your current theme. You can check this file for the same.

    Thread Starter winniewong1234

    (@winniewong1234)

    I tried and found out that it is due to the theme.

    Can you advise how can I edit the function.php to remove the error message? Here is the code of the function.php

    https://docs.google.com/document/d/1ka-5Y6_TAtJsEls1ag0j5xZzqjwdaGGLvRFyRXLG7I0/edit?usp=sharing

    Many thanks!

    I cannot find any such code in this file. Open header.php file in the folder of your theme, search <body and see if there is any such code.

    Thread Starter winniewong1234

    (@winniewong1234)

    There is <?php wp_body_open(); ?> on the header.php but can’t find “class=”home blog wp-custom-logo hfeed”

    Do i need to find the code of “class=”home blog wp-custom-logo hfeed” and delete it?

    >>>Do i need to find the code of “class=”home blog wp-custom-logo hfeed” and delete it?
    Take a back up of the header.php first. Then, find and delete the unwanted code if it is there.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error message showing on top of the website’ is closed to new replies.