widget-areas.php (1185B)
1 <?php 2 /** 3 * Redux Pro Widget Areas 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 // --> Below this line not needed. This is just for demonstration purposes. 13 Redux::set_section( 14 $opt_name, 15 array( 16 'title' => esc_html__( 'Widget Areas', 'your-textdomain-here' ), 17 // phpcs:ignore 18 // 'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/extensions/widget-areas.html" target="_blank">https://devs.redux.io/extensions/widget-areas.html</a>', 19 'subsection' => true, 20 'fields' => array( 21 array( 22 'id' => 'widget_areas', 23 'type' => 'info', 24 'style' => 'info', 25 'notice' => true, 26 'title' => esc_html__( 'Widget Areas is Already Running!', 'your-textdomain-here' ), 27 28 // translators: %1$s: Widget Admin URL. 29 'subtitle' => sprintf( esc_html__( 'To see it in action, head over to your %1$s', 'your-textdomain-here' ), '<a href="' . admin_url( 'widgets.php' ) . '">' . esc_html__( 'Widgets page', 'your-textdomain-here' ) . '</a>.' ), 30 ), 31 ), 32 ) 33 );