Giter VIP home page Giter VIP logo

arabic-font-plugin's Introduction

Arabic Font Lite

Github Downloads (total)

This plugin allows you to change the font of a single line in a post or page using a shortcode.

Description

The Arabic Font Lite plugin provides a simple way to apply a custom font to a single line of text in a post or page using a shortcode. By default, the plugin uses the "noorehira" font, with a font size of 26px and a line height of 44px. However, you can easily change the font by editing the css file.

Installation

Upload the plugin files to the /wp-content/plugins/arabic-font-lite directory, or install the plugin through the WordPress plugins screen directly. Activate the plugin through the 'Plugins' screen in WordPress.

Usage

To use the Arabic Font Lite plugin, simply add the following shortcode to the post or page where you want to apply the custom font:

[arabic]هذا هو نص عربي[/arabic]

This will apply the "noorehira" font to the text within the shortcode, with a font size of 26px and line gap of 44px.

If you want to use the same font again on the same page, you can use this code again, or you can add the custom-arabic-font class to any HTML element to apply the custom font style. For example:

<span class="custom-arabic-font">بِسْمِ اللّٰہِ  الرَّحۡمٰنِ الرَّحِیۡمِ </span>

Currently, the plugin uses the default font "noorehira" with a font size of 26px and a line gap of 44px. If you want to change the font, size or line gap, you will need to edit the plugin code directly. The CSS and font files are located in the font folder.

Changelog

1.0 Initial release

Upgrade Notice

There are no upgrade notices for this version of the plugin.

arabic-font-plugin's People

Contributors

almahmudbd avatar

Stargazers

Intiajul Alam Shah avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.