جمعہ، 9 دسمبر، 2016

ہفتہ، 13 فروری، 2016

How Make Urdu Nastaleeq Website in Wordpress

For Demo

Requirements.

Make Urdu Website in Wordpress
  1. Multipurpose Theme ( Avada Theme )
  2. Urdu Wordpress (For rtl Direction Purpose)
  3. rtl Tester (wordpress Plugin)
  4. Nafees Nastaleeq Font
   
 Now Upload the wordpress on ftp server.
Now upload Avada the in the theme directory. Note the Avada the is a Big file Remove the file which you do not use.
Avada\framework\plugins
 it has plugins remove Layer Slider and Revolution Slider. Fusion core is a Basic file. Do not Remove. Later upload Slider when you need.
It has one more directory importer which cause to make a big file. Remove all Demo directories, PHP files do not remove. By Removal of PHP file theme will not work.
Now Upload avada theme.
Before activating increase your RAM by adding the following code in .htaccess file

/** Memory Limit */
define('WP_MEMORY_LIMIT', '128M');
It require more RAM than other themes.
now activate the Avada Theme and in Avada Settings activate Fusion Core Plugin

After Activation of Avada theme. Now Activate Avada Child theme

Now make a Fonts folder in Child-Avada-Theme Directory and upload Nafees Nastaliq Fonts in this folder.
Now Edit the style.css in Child-Avada-Theme Directory and paste the following css
@font-face {
 font-family: 'Arial';
 src: url('fonts/NafeesWeb.eot');
 src: url('fonts/NafeesWeb.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
 url('fonts/NafeesWeb.woff') format('woff'), /*
Moderne Browser */
 url('fonts/NafeesWeb.ttf') format('truetype'),
/* Safari, Android, iOS */
 url('fonts/NafeesWeb.svg#svgFontName')
format('svg'); /* Ältere iOS-Geräte */
}

Update.

In latest avada version  upload custom font file option is added to change the font. no further editing required.

Now you can see WordPress Website in Urdu Nastaliq in Right to Left direction


Further

some strings you need to translate for front end. Use Poedit to translate "ur" file in wordpress \wp-content\languages.