M
M
Michael2018-04-27 10:25:52
WordPress
Michael, 2018-04-27 10:25:52

Why is a wordpress site not responding to changes in functions.php?

I tried to remove links from the code via functions.php with:

<?php
remove_action('wp_head','rsd_link');
remove_action('wp_head','wlwmanifest_link');
remove_action('wp_head','wp_generator');

5ae2cf910193e036569229.jpeg
The lines EditURI,
wlwmanifest_link
and generator should not be.
There are no errors in the code. Mb file not connected. Tell me what to do in such a situation?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2018-04-27
@azerphoenix

Good afternoon!
If you want to remove everything at once, then the Clearfy plugin will help you - https://ru.wordpress.org/plugins/clearfy/
Check the correct connection and location of wp_head in the code. It must be before the closing tag
Useful link - https://www.isitwp.com/remove-code-wordpress-header/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question