admin管理员组

文章数量:1400974

Something is inserting four non-breaking spaces into my single.php code, but I can't find the cause at all.

I have already tried to disable all plugins and restore the theme's initial settings.

Link: /

It is not a problem of the theme because it does not occur in the demo:

Link: /?p=182&single_cover=img

Any idea how to fix this?

Something is inserting four non-breaking spaces into my single.php code, but I can't find the cause at all.

I have already tried to disable all plugins and restore the theme's initial settings.

Link: https://fredericobt/wp-fastest-cache-melhor-configuracao/

It is not a problem of the theme because it does not occur in the demo:

Link: https://demo.mekshq/typology/?p=182&single_cover=img

Any idea how to fix this?

Share Improve this question asked Feb 7, 2020 at 16:39 Frederico Branquinho TeixeiraFrederico Branquinho Teixeira 1
Add a comment  | 

1 Answer 1

Reset to default 0

Sometimes there can be space characters before the <?php at the top of the file. Or space characters after a closing ?> at the end of the file.

The closing ?> is not needed in PHP files. But anything before the opening <?php, or after the not-needed ?> closing will get rendered on the page.

本文标签: postsampnbsp ampnbsp ampnbsp ampnbsp out of nowhere