Problem in auto-generating HTML anchor heading block

[ad_1]

Dear WPSoul,

It seems that the plugin automatically generates the HTML anchor of the heading block (that’s really the necessary functionality). However, It really has a problem when I use Vietnamese (accented), the links in the TOC block don’t work (see the link I sent). I noticed that the plugin automatically generates HTML anchors of headings that are not correct for Vietnamese (Some characters will be missing accents).

This same problem happened when I used rehub theme in the past, You explained that: “there is no way to transliterate all symbols.” The workaround is to add vietnamese transliteration to the default theme

‘à’=>’a’, ‘á’=>’a’, ‘ạ’=>’a’, ‘ã’=>’a’, ‘ả’=>’a’, ‘ă’=>’a’, ‘ằ’=>’a’, ‘ắ’=>’a’, ‘ặ’=>’a’, ‘ẵ’=>’a’, ‘ẳ’=>’a’, ‘â’=>’a’, ‘ầ’=>’a’, ‘ấ’=>’a’, ‘ậ’=>’a’, ‘ẫ’=>’a’, ‘ẩ’=>’a’, ‘đ’=>’d’, ‘è’=>’e’, ‘é’=>’e’, ‘ẹ’=>’e’, ‘ẽ’=>’e’, ‘ẻ’=>’e’, ‘ê’=>’e’, ‘ề’=>’e’, ‘ế’=>’e’, ‘ệ’=>’e’, ‘ễ’=>’e’, ‘ể’=>’e’, ‘ì’=>’i’, ‘í’=>’i’, ‘ị’=>’i’, ‘ĩ’=>’i’, ‘ỉ’=>’i’, ‘ò’=>’o’, ‘ò’=>’o’, ‘ọ’=>’o’, ‘õ’=>’o’, ‘ỏ’=>’o’, ‘ô’=>’o’, ‘ồ’=>’o’, ‘ố’=>’o’, ‘ộ’=>’o’, ‘ỗ’=>’o’, ‘ổ’=>’o’, ‘ơ’=>’o’, ‘ờ’=>’o’, ‘ớ’=>’o’, ‘ợ’=>’o’, ‘ỡ’=>’o’, ‘ở’=>’o’, ‘ù’=>’u’, ‘ú’=>’u’, ‘ụ’=>’u’, ‘ũ’=>’u’, ‘ủ’=>’u’, ‘ư’=>’u’, ‘ừ’=>’u’, ‘ứ’=>’u’, ‘ự’=>’u’, ‘ữ’=>’u’, ‘ử’=>’u’, ‘ỳ’=>’y’, ‘ý’=>’y’, ‘ỵ’=>’y’, ‘ỹ’=>’y’, ‘ỷ’=>’y’, ‘À’=>’A’, ‘Á’=>’A’, ‘Ạ’=>’A’, ‘Ã’=>’A’, ‘Ả’=>’A’, ‘Ă’=>’A’, ‘Ằ’=>’A’, ‘Ắ’=>’A’, ‘Ặ’=>’A’, ‘Ẵ’=>’A’, ‘Ẳ’=>’A’, ‘Â’=>’A’, ‘Ầ’=>’A’, ‘Ấ’=>’A’, ‘Ậ’=>’A’, ‘Ẫ’=>’A’, ‘Ẩ’=>’A’, ‘Đ’=>’D’, ‘È’=>’E’, ‘É’=>’E’, ‘Ẹ’=>’E’, ‘Ẽ’=>’E’, ‘Ẻ’=>’E’, ‘Ê’=>’E’, ‘Ề’=>’E’, ‘Ế’=>’E’, ‘Ệ’=>’E’, ‘Ễ’=>’E’, ‘Ể’=>’E’, ‘Ì’=>’I’, ‘Í’=>’I’, ‘Ị’=>’I’, ‘Ĩ’=>’I’, ‘Ỉ’=>’I’, ‘Ò’=>’O’, ‘Ò’=>’O’, ‘Ọ’=>’O’, ‘Õ’=>’O’, ‘Ỏ’=>’O’, ‘Ô’=>’O’, ‘Ồ’=>’O’, ‘Ố’=>’O’, ‘Ộ’=>’O’, ‘Ỗ’=>’O’, ‘Ổ’=>’O’, ‘Ơ’=>’O’, ‘Ờ’=>’O’, ‘Ớ’=>’O’, ‘Ợ’=>’O’, ‘Ỡ’=>’O’, ‘Ở’=>’O’, ‘Ù’=>’U’, ‘Ú’=>’U’, ‘Ụ’=>’U’, ‘Ũ’=>’U’, ‘Ủ’=>’U’, ‘Ư’=>’U’, ‘Ừ’=>’U’, ‘Ứ’=>’U’, ‘Ự’=>’U’, ‘Ữ’=>’U’, ‘Ử’=>’U’, ‘Ỳ’=>’Y’, ‘Ý’=>’Y’, ‘Ỵ’=>’Y’, ‘Ỹ’=>’Y’, ‘Ỷ’=>’Y’

I don’t know if this solution works for plugins? If yes, can you help me add it to the default

Best regards,

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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer