وبیــا، دست نوشته های شخصی یک وبگـــرد

آموزش طراحی وب / آموزش های عمومی / PHP / برنامه نویسی

وبیــا، دست نوشته های شخصی یک وبگـــرد

آموزش طراحی وب / آموزش های عمومی / PHP / برنامه نویسی

۲ مطلب در آبان ۱۳۹۸ ثبت شده است

۱۴آبان
برای نمایش مطلب باید رمز عبور را وارد کنید
مستر وب کار
۰۹آبان

Hello,

It’s possible only by some changes in Redux plugin files, so keep file in safe during plugin update
1) Create fonts folder in child theme and place your font files.
2) After that in child theme style.css add the following
@font-face {
font-family: ‘MyWebFont’;
src: url(‘fonts/font-file-name.eot’);
src: url(‘fonts/font-file-name.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/font-file-name.woff2’) format(‘woff2’),
url(‘fonts/font-file-name.woff’) format(‘woff’),
url(‘fonts/font-file-name.ttf’) format(‘truetype’),
}

Where ‘MyWebFont’ is the font name. Again you can name it as you wish.
‘WebFont.eot’, ‘WebFont.ttf’, etc are the font file names (the fonts you added at the custom-fonts folder).

3) plugins/redux-framework/ReduxCore/inc/fields/typography/field_typography.php
find line and add https://gyazo.com/ecacca7972d8f8fee98ef4b0327f04b5

Regards

 

در ریداکس نسخه های جدید فایل به نشانی /plugins/redux-framework/redux-core/inc/fields/typography/class-redux-typography.php نیز مورد ملاک هست

کد نمونه

'iransans' => 'iransans',
'hilda' => 'hilda',
'dinar' => 'dinar',
'aviny' => 'aviny',
'lalezar' => 'lalezar',
'yekan' => 'yekan',
'sarbaz' => 'sarbaz',
'iransans-dastnevis' => 'iransans-dastnevis',
'maneli' => 'maneli',
'titrzebr' => 'titrzebr',
'titr' => 'titr',
'homa' => 'homa',
'morvarid' => 'morvarid',
'negar' => 'negar',
'iranyekan' => 'iranyekan',

 

مستر وب کار