Почему заменяются ковычки ” на » в WordPress

Кавычки в WordPress автоматически заменяются на (фигурные кавычки) по умолчанию.

С помощью лишь одной строки в файле functions.php реально отключить все преобразования:

add_filter( 'run_wptexturize', '__return_false' );

Также допускается отключение замены Вордпресс кавычек для отдельных ситуаций, например:

remove_filter('the_title', 'wptexturize');
remove_filter('the_content', 'wptexturize');
remove_filter('comment_text', 'wptexturize');
remove_filter('the_excerpt', 'wptexturize');
guest
Другие сообщения форума
Закрыть меню
ZAPLATA.RU | Магазин готовых блогов Wordpress с автонаполнением
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.