balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

custom-fonts.php (1087B)


      1 <?php
      2 /**
      3  * Redux Pro Custom Fonts Sample config.
      4  *
      5  * For full documentation, please visit: http:https://devs.redux.io/
      6  *
      7  * @package Redux Pro
      8  */
      9 
     10 defined( 'ABSPATH' ) || exit;
     11 
     12 Redux::set_section(
     13 	$opt_name,
     14 	array(
     15 		'title'      => esc_html__( 'Custom Fonts', 'your-textdomain-here' ),
     16 		'desc'       => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/premium/custom-fonts.html" target="_blank">https://devs.redux.io/premium/custom-fonts.html</a>',
     17 		'subsection' => true,
     18 		'fields'     => array(
     19 			array(
     20 				'id'   => 'custom_fonts',
     21 				'type' => 'custom_fonts',
     22 			),
     23 			array(
     24 				'id'          => 'custom_fonts_typography',
     25 				'type'        => 'typography',
     26 				'title'       => esc_html__( 'Custom Fonts Typography', 'your-textdomain-here' ),
     27 				'subtitle'    => 'This will modify the font family of the .entry-title classes.',
     28 				'output'      => '.site-title, .widget-title, .entry-title',
     29 				'font-size'   => false,
     30 				'line-height' => false,
     31 				'text-align'  => false,
     32 			),
     33 		),
     34 	)
     35 );