Skip to content

NoerNova/wp-shan-fonts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WP Shan Fonts

A wordpress plugins for easily used of shan-fonts.

Installation

  1. Download wp-shan-fonts.zip file.
  2. Go to wp-admin --> Plugins
  3. On the head click Add New
  4. On the head click Upload Plugin
  5. Choose File --> wp-shan-fonts.zip
  6. Click Install Now
  7. Wait for Installation Complete and then
  8. Click activate plugins

Basic Settings

  1. Goto Appearance --> Shan Fonts.
  2. Choose whether Heading or Body tab (Heading is for Title or similar, Body is for Others).
  3. Click Enable Heading/Body Fonts.
  4. Click Save Changes on the bottom.

Custom Selector Settings example

  1. Heading

    Selector: h1, h2, h3, h4, h5, h6, nav, .nav, .menu, button, .button, .btn, .price, ._heading, .wp-block-pullquote blockquote, blockquote, label, legend, .entry-title, h3>a

    Screen Shot 2565-10-17 at 14 41 28

  2. Body

    Selector: body, p, .td-bred-no-url-last, figcaption, .td-excerpt, .td-post-next-prev-content

    Screen Shot 2565-10-17 at 12 10 05


Available Fonts

  1. Shan's fonts
  • Panglong (Custom), 114KB
  • PanglongLatest, 295KB ~ 543KB
  • Shan, 70KB ~ 102KB
  • NamKhone, 103KB ~ 166KB
  • NamTeng, 424KB
  • GreatHorKham_Taunggyi, 267KB
  1. All Google Fonts
  • suggest
    • Noto Serif Myanmar
    • Noto Sans Myanmar

Other Options

  • Font Weight (Shan's Fonts mostly have only Regular 400)
  • Line Height (For Shan's fonts, Force Using This Fonts option required to be 'on' to add !important to stylesheet)
  • Selectors (for custom html/css selectors, some using themes have to overwrite the rules, .tdm-descr for Newspaper by Tagdiv for example)

Any issue or need more fonts ?

https://github.com/NoerNova/wp-shan-fonts/issues

Or feel free to open requests

https://github.com/NoerNova/wp-shan-fonts/pulls


License

GPL2