Coder Social home page Coder Social logo

dmsherazi / arabic-font Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wp-plugins/arabic-font

0.0 1.0 0.0 2.89 MB

WordPress.org Plugin Mirror

Home Page: http://www.pluginmirror.com/plugins/arabic-font/

PHP 62.95% CSS 34.08% JavaScript 2.97%

arabic-font's Introduction

Arabic Font

Contributors: darto Tags: arabic, font, arabic text, shortcode Tested up to: 4.0 Stable tag: 1.2 Requires at least: 3.0

An easy way to stylish your Arabic font

Description

I'm just newbie for programming but I love a lot of WordPress.

My friend is lot write with Arabic language and I tried to find plugins that will easily to help him to write in his website which support for display with specific Arabic fonts, but I find none. So here I am. I tried to googling and combine all the code to make this plugin. And also the font that I included in this plugin is open source or legally to download from their website.

Here font that I use in this plugin:

The plugin is just simple which we can transform the Arabic text to specific font that we want by click the icon in text editor of posts or pages. And also I create option pages in case that no need all customize configuration in shortcode.

If you want to add Islamic date (Hijr) in your blog, you can try Penanggalan Hijriyah & Masehi.

Installation

Arabic Font plugin support to place your Arabic text in <code><span></code> or <code><div></code> and here complete configuration:

[arabic-font font_family="JF Flat Jozoor" font_size="36" line_height="65" text_align="center" span="no"]???? ????? ?????[/arabic-font]

If attributes span yes then it will put the Arabic text with span but if the span attributes no then Arabic text will put in div.

Frequently Asked Questions

How I use the plugin?

All you have to do is highlight the Arabic text that you want to change the font and then you click button Arabic Font Style that show in Posts or Pages editor.

Screenshots

...

usage

  1. Button Shortcode - You simply select the Arabic text in WordPress posts or pages and then click the button
  2. Default Shortcode - Simple how to apply the shortcode that will occur based on the option
  3. More Setting for Shortcode - Choose your Arabic text to <code><span></code> that will not change the Arabic text position in the paragraph and
    if you want make Arabic text as new paragraph, and of cpurse you can choose font for Arabic text.
  4. Display Result - This is how the different between <code><span></code> and <code><div></code> and different font in same posts or pages
  5. Panel - Panel for more easy to apply for simple shortcode

Changelog

1.2

Release date: January 5, 2015

  • Add option for default class and custom css

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.