Category: Web Dev

  • URL Copy Button for non-English Unicode

    URL Copy Button for non-English Unicode

    in

    — 6 reads

    If you run a website in non-English language, URLs can be encoded in non-English Unicode character. For example, check the following URL in Bengali: bigganblog.org/2023/12/কীভাবে-গ্রহাণু-শনাক্ত-কর/ This is good for intended audience, since they can just look at the URL and know what is it about in their native language. However, manually copying the URL from…

  • Showing Post View Count in WordPress Block Theme

    Showing Post View Count in WordPress Block Theme

    in

    — 7 reads

    In 2023, WordPress released block themes where the single.php code is gone, which is generally used to render single post pages. I have recently experimented with these block themes. You just use the block theme editor within the site, add different blocks by drag-and-drop, and use different patterns, etc. This totally changes the game. I…