Created
December 17, 2017 20:33
-
-
Save Scordavis/7fd08da7471245f5459c9f7d41d42241 to your computer and use it in GitHub Desktop.
Wordpress убираем WPAUTOP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Находим в проекте wordpress файл, который называется formatting.php (должен лежать в папке wp-includes) | |
2) В этом файле находим функцию, которая называется wpautop | |
3) Там находим переменную $allblocks (188 строка должна быть) | |
4) Туда дописываем img | |
5) PROFIT! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment