Bài viết liên quan theo label cho blogspot (khắc phục lỗi vỡ phông tiếng Việt)
Bài viết liên quan theo label cho blogspot (khắc phục lỗi vỡ phông tiếng Việt). Code này là của hoctro và đã được khắc phục để hiển thị được label tiếng Việt như trên mathvn.com. Vào Design > Edit HTML > Expand Widget Templates, tìm đến dòng <div class='post-footer-line post-footer-line-3'/> </div> Copy code sau đây và dán vào trước thẻ </div> <b:if cond='data:blog.pageType == "item"'> <div class='widget-content'> <h2>Các bài liên quan</h2> <div id='data2007'/><br/><br/> <script type="text/javascript"> homeUrl3 = "www.mathvn.com"; maxNumberOfPostsPerLabel = 10; maxNumberOfLabels = 6; function listEntries10(json) { var ul = document.createElement('ul'); var maxPosts = (json.feed.entry.length <= maxNumberOfPostsPerLabel) ? json.feed.entry.length : maxNumberOfPostsPerLabel; for (var i = 0; i < maxPosts; ...