| Server IP : 208.109.34.209 / Your IP : 216.73.217.134 Web Server : Apache System : Linux 209.34.109.208.host.secureserver.net 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64 User : oceanproject ( 1012) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/oceanproject/public_html/wp-content/themes/reda/ |
Upload File : |
<?php
/**
* Reda functions and definitions
*/
require_once( get_template_directory(). '/inc/global-functions.php' );
/** Enqueue scripts */
require_once( get_template_directory(). '/inc/enqueue-scripts.php' );
require_once( get_template_directory(). '/inc/shortcode-formats.php' );
require_once( get_template_directory(). '/inc/template-tags.php' );
require_once( get_template_directory(). '/inc/custom-header.php' );
require_once( get_template_directory(). '/inc/comments-functions.php' );
require_once( get_template_directory(). '/inc/class-tgm-plugin-activation.php' );
/**
* SVG icons functions.
*/
require_once( get_template_directory(). '/inc/icon-functions.php' );
if( function_exists('acf_add_options_page') ) {
$parent = acf_add_options_page(array(
'page_title' => esc_html__('Theme Settings', 'reda'),
'menu_title' => esc_html__('Theme Settings', 'reda'),
'menu_slug' => 'acf-options',
'redirect' => false,
'autoload' => true,
));
acf_add_options_sub_page(array(
'page_title' => esc_html__('Typography', 'reda'),
'menu_title' => esc_html__('Typography', 'reda'),
'parent_slug' => $parent['menu_slug'],
));
if( !defined('REDA_SHOW_ACF') ) {
add_filter('acf/settings/show_admin', '__return_false');
}
}
;