| Server IP : 77.39.210.126 / Your IP : 216.73.216.203 Web Server : Apache System : Linux v00l0v-vmpcnews.sphostserver.com 4.18.0-553.124.4.el8_10.x86_64 #1 SMP Fri May 15 04:14:14 EDT 2026 x86_64 User : artecasarepresti ( 1022) PHP Version : 7.4.33 Disable Function : dl,passthru,proc_open,proc_close,proc_terminate,shell_exec,system MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/artecasarepresti/public_html/wp-content/themes/Avada/includes/metaboxes/tabs/ |
Upload File : |
<?php
/**
* Footer Metabox options.
*
* @author ThemeFusion
* @copyright (c) Copyright by ThemeFusion
* @link https://theme-fusion.com
* @package Avada
* @subpackage Core
*/
// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
exit( 'Direct script access denied.' );
}
/**
* Footer page settings.
*
* @param array $sections An array of our sections.
* @return array
*/
function avada_page_options_tab_footer( $sections ) {
$sections['footer'] = [
'label' => esc_attr__( 'Footer', 'Avada' ),
'id' => 'footer',
'alt_icon' => 'fusiona-footer',
'fields' => [
'display_footer' => [
'id' => 'display_footer',
'label' => esc_attr__( 'Layout', 'Avada' ),
'choices' => [
'default' => esc_attr__( 'Default', 'Avada' ),
'yes' => esc_attr__( 'Yes', 'Avada' ),
'no' => esc_attr__( 'No', 'Avada' ),
],
/* translators: Additional description (defaults). */
'description' => sprintf( esc_html__( 'Choose to show or hide the footer. %s', 'Avada' ), Avada()->settings->get_default_description( 'footer_widgets', '', 'yesno' ) ),
'to_default' => [
'id' => 'footer_widgets',
],
'type' => 'radio-buttonset',
'map' => 'yesno',
'default' => 'default',
'transport' => 'postMessage',
'partial_refresh' => [
'footer_content_footer_widgets' => [
'selector' => '.fusion-footer',
'container_inclusive' => false,
'render_callback' => [ 'Avada_Partial_Refresh_Callbacks', 'footer' ],
],
],
],
'display_copyright' => [
'id' => 'display_copyright',
'label' => esc_attr__( 'Display Copyright Area', 'Avada' ),
'choices' => [
'default' => esc_attr__( 'Default', 'Avada' ),
'yes' => esc_attr__( 'Yes', 'Avada' ),
'no' => esc_attr__( 'No', 'Avada' ),
],
/* translators: Additional description (defaults). */
'description' => sprintf( esc_html__( 'Choose to show or hide the copyright area. %s', 'Avada' ), Avada()->settings->get_default_description( 'footer_copyright', '', 'yesno' ) ),
'to_default' => [
'id' => 'footer_copyright',
],
'type' => 'radio-buttonset',
'map' => 'yesno',
'default' => 'default',
'transport' => 'postMessage',
'partial_refresh' => [
'footer_content_footer_widgets' => [
'selector' => '.fusion-footer',
'container_inclusive' => false,
'render_callback' => [ 'Avada_Partial_Refresh_Callbacks', 'footer' ],
],
],
],
'footer_100_width' => [
'id' => 'footer_100_width',
'label' => esc_html__( '100% Footer Width', 'Avada' ),
'choices' => [
'default' => esc_attr__( 'Default', 'Avada' ),
'yes' => esc_attr__( 'Yes', 'Avada' ),
'no' => esc_attr__( 'No', 'Avada' ),
],
/* translators: Additional description (defaults). */
'description' => sprintf( esc_html__( 'Choose to set footer width to 100% of the browser width. Select "No" for site width. %s', 'Avada' ), Avada()->settings->get_default_description( 'footer_100_width', '', 'yesno' ) ),
'to_default' => [
'id' => 'footer_100_width',
],
'type' => 'radio-buttonset',
'map' => 'yesno',
'default' => 'default',
],
],
];
return $sections;
}
/* Omit closing PHP tag to avoid "Headers already sent" issues. */