Файловый менеджер - Редактировать - /home2/cocinasdalloway/public_html/tienda/wp-content/themes/negan/framework/configs/options/additional_code.php
Назад
<?php // Do not allow directly accessing this file. if ( ! defined( 'ABSPATH' ) ) { exit( 'Direct script access denied.' ); } /** * Additional code settings * * @param array $sections An array of our sections. * @return array */ function negan_options_section_additional_code( $sections ) { $sections['additional_code'] = array( 'name' => 'additional_code_panel', 'title' => esc_html__('Additional Code', 'negan'), 'icon' => 'fa fa-code', 'fields' => array( array( 'id' => 'google_key', 'type' => 'text', 'title' => esc_html__('Google API Key', 'negan'), 'desc' => esc_html__('Type your Google API Key here.', 'negan') ), array( 'id' => 'instagram_token', 'type' => 'text', 'title' => esc_html_x('Instagram Access Token', 'admin-view', 'negan'), 'desc' => esc_html_x('In order to display your photos you need an Access Token from Instagram.', 'admin-view', 'negan'), 'info' => sprintf( __('<a target="_blank" href="%s">Click here</a> to get your API', 'negan'), 'https://la-studioweb.com/tip-trick/how-to-get-instagram-access-token/' ) ), array( 'id' => 'la_custom_css', 'type' => 'ace_editor', 'mode' => 'css', 'class' => 'la-customizer-section-large', 'title' => esc_html__('Custom CSS', 'negan'), 'desc' => esc_html__('Paste your custom CSS code here.', 'negan'), ), array( 'id' => 'header_js', 'type' => 'ace_editor', 'mode' => 'javascript', 'title' => esc_html__('Header Javascript Code', 'negan'), 'desc' => esc_html__('Paste your custom JS code here. The code will be added to the header of your site.', 'negan') ), array( 'id' => 'footer_js', 'type' => 'ace_editor', 'mode' => 'javascript', 'title' => esc_html__('Footer Javascript Code', 'negan'), 'desc' => esc_html__('Paste your custom JS code here. The code will be added to the footer of your site.', 'negan') ) ) ); return $sections; }
| ver. 1.4 |
Github
|
.
| PHP 8.2.22 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка