Server IP : 89.26.249.46  /  Your IP : 216.73.216.42
Web Server : Apache
System : Linux a.cp.cloudlink.pt 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User : eticalga ( 1129)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/eticalga/www/files/themes/kobuxeticalgarve/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/eticalga/www/files/themes/kobuxeticalgarve/functions.php
<?php

/**
 * functions.php for loading all theme-specific functionality
 *
 * @package kobuxeticalgarve
 */

define('KOBUXETICALGARVE_THEME_VERSION', '1.0.0');
define('KOBUXETICALGARVE_THEME_PATH', get_template_directory());
define('KOBUXETICALGARVE_THEME_URL', get_template_directory_uri());

function kobuxeticalgarve_is_element_empty($element)
{
	$element = trim($element);
	return empty($element) ? false : true;
}

// load basic theme files
require_once KOBUXETICALGARVE_THEME_PATH . '/inc/theme-setup.php';
require_once KOBUXETICALGARVE_THEME_PATH . '/inc/backend.php';
require_once KOBUXETICALGARVE_THEME_PATH . '/inc/frontend.php';

// load all component files
foreach (glob(KOBUXETICALGARVE_THEME_PATH . '/inc/components/*.php') as $file) {
	require_once $file;
}

// load all user roles files
/* foreach (glob(KOBUXETICALGARVE_THEME_PATH . '/inc/components/user-roles/*.php') as $file) {
	require_once $file;
} */

// add Excerpt to pages
add_post_type_support('page', 'excerpt');