Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.32.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : features.php
<?php
/**
 * Register theme Features
 *
 * @package     Zoo Theme
 * @version     3.0.0
 * @author      Zootemplate
 * @link        https://www.zootemplate.com/
 * @copyright   Copyright (c) 2020 ZooTemplate
 
 * @des         All features of theme will register here. Dev can add or remove features.
 */
if (!function_exists('zoo_theme_setup')) :
    function zoo_theme_setup()
    {
        load_theme_textdomain('doma', get_template_directory() . '/languages');

        add_theme_support('title-tag');

        add_theme_support('cs-font');

        add_theme_support('post-thumbnails');

        add_theme_support('automatic-feed-links');

        add_theme_support('customize-selective-refresh-widgets');

        add_theme_support('post-formats', array('aside', 'gallery', 'image', 'quote', 'video', 'audio'));

        add_theme_support('html5', array('search-form', 'comment-form', 'comment-list', 'gallery', 'caption'));

        add_theme_support('advanced-image-compression');

        //Add site support for customize
        add_theme_support('custom-logo', array(
            'height' => 100,
            'width' => 400,
            'flex-height' => true,
            'flex-width' => true,
            'header-text' => array('site-title', 'site-description'),
        ));
        add_theme_support("custom-header");
        add_theme_support("custom-background");
        add_editor_style();
        if (!isset($GLOBALS['content_width'])) $GLOBALS['content_width'] = 992;
        if (class_exists('WooCommerce', false)) {
            add_theme_support( 'woocommerce', array(
                'gallery_thumbnail_image_width' => get_theme_mod('zoo_gallery_thumbnail_width','120'),
                'product_grid'          => array(
                    'default_rows'    => 3,
                    'min_rows'        => 1,
                    'max_rows'        => 8,
                    'default_columns' => 3,
                    'min_columns'     => 1,
                    'max_columns'     => 6,
                ),
            ) );
        }
    }
endif;
add_action('after_setup_theme', 'zoo_theme_setup');
© 2025 XylotrechusZ