Файловый менеджер - Редактировать - /home/avadvi5/public_html/wp-content/themes/code4rest/inc/dashboard/react/src/customizer.js
Ðазад
/** * WordPress dependencies */ import { __ } from '@wordpress/i18n'; const { Fragment } = wp.element; import map from 'lodash/map'; const { withFilters, TabPanel, Panel, PanelBody, PanelRow, Button } = wp.components; export const CustomizerLinks = () => { const headerLinks = [ { title: __( 'Global Colors', 'code4rest' ), description: __( 'Setup the base color scheme for your site.', 'code4rest' ), focus: 'code4rest_customizer_general_colors', type: 'section', setting: false }, { title: __( 'Branding', 'code4rest' ), description: __( 'Upload your logo and favicon.', 'code4rest' ), focus: 'title_tagline', type: 'section', setting: false }, { title: __( 'Typography', 'code4rest' ), description: __( 'Choose the perfect font family, style and sizes.', 'code4rest' ), focus: 'code4rest_customizer_general_typography', type: 'section', setting: false }, { title: __( 'Header Layout', 'code4rest' ), description: __( 'Add elements and arrange them how you want.', 'code4rest' ), focus: 'code4rest_customizer_header', type: 'panel', setting: false }, { title: __( 'Page Layout', 'code4rest' ), description: __( 'Define your sites general page look and feel for page title, and content style.', 'code4rest' ), focus: 'code4rest_customizer_page_layout', type: 'section', setting: false }, { title: __( 'Footer Layout', 'code4rest' ), description: __( 'Customize the columns and place widget areas in unlimited configurations', 'code4rest' ), focus: 'code4rest_customizer_footer_layout', type: 'section', setting: false }, ]; return ( <Fragment> <h2 className="section-header">{ __( 'Customize Your Site', 'code4rest' ) }</h2> <div className="two-col-grid"> { map( headerLinks, ( link ) => { return ( <div className="link-item"> <h4>{ link.title }</h4> <p>{ link.description }</p> <div className="link-item-foot"> <a href={ `${code4restDashboardParams.adminURL}customize.php?autofocus%5B${ link.type }%5D=${ link.focus }` }> { __( 'Customize', 'code4rest') } </a> </div> </div> ); } ) } </div> </Fragment> ); }; export default withFilters( 'code4rest_theme_customizer' )( CustomizerLinks );
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка