Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts

Tuesday, September 26, 2017

Remove ZERO WIDTH NON-JOINER character ( in html)

  1. Run the below given search in Terminal (Linux) or Cygwin or BASH

    grep -rl $'\xEF\xBB\xBF' directory_path

    It will list out all the files that contains our HERO CHARACTER
    Open the file in VI

  2. vi file_path

  3. Set the no BOB

    :set nobomb

  4. Save and quit the file
    :wq

  5. Continue the steps 2 – 5 and change all the files character encoding

Sunday, May 22, 2016

tạo nút like share mạng xã hội cho sản phẩm bài viết




Thêm đoạn HTML sau vào trang của bạn:
 
<div class="post-block post-share">
                            <h3 class="heading-primary"><i class="fa fa-share"></i>Share this post</h3>

                            <!-- AddThis Button BEGIN -->
                            <div class="addthis_toolbox addthis_default_style ">
                                <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
                                <a class="addthis_button_tweet"></a>
                                <a class="addthis_button_pinterest_pinit"></a>
                                <a class="addthis_counter addthis_pill_style"></a>
                            </div>
                            <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=xa-50faf75173aadc53"></script>
                            <!-- AddThis Button END -->

                        </div>


 =======================kết quả=============================