Tạo các nút chia sẻ bài viết với hiệu ứng popup giống template mặc định
Tạo các nút chia sẻ bài viết với hiệu ứng popup giống template mặc định
Các mẫu template mặc định mới v3 sử dụng các nút chia sẻ bài viết với hiệu ứng popup và ripple effect rất đẹp, ngoài ra còn có nút sao chép Url bài viết rất thuận tiện. Nếu bạn cũng muốn đưa các nút này vào mẫu template của bạn v2 bạn có thể làm theo hướng dẫn dưới đây + Bước 1: Đăng ký mới một thẻ tag b:includable trong widget Blog1 Copy <b:includable id='shareButtonsMenu'> <div class='byline post-share-buttons goog-inline-block'> <div class='sharing'> <button class='sharing-button touch-icon-button' expr:aria-controls='"sharing-popup-Blog1-byline-" + data:post.id' expr:aria-label='data:messages.share' expr:id='"sharing-button-Blog1-byline-" + data:post.id' expr:title='data:messages.share'> <div class='flat-icon-button ripple'> <svg class='svg-icon-24'> <use xlink:href='/responsive/sprite_v1_6.c…