HEX
Server: Apache
System: Linux vps.rockyroadprinting.net 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: rockyroadprintin (1011)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/rockyroadprintin/www/wp-content/themes/consulting/partials/custom_footer.php
<?php if(consulting_theme_option('footer_custom_settings', false)): ?>

    <?php
    $footer_custom_settings_color_text = consulting_theme_option( 'footer_custom_settings_color_text' );
    $footer_custom_settings_color_link = consulting_theme_option( 'footer_custom_settings_color_link' );
    $footer_custom_settings_color_link_hover = consulting_theme_option( 'footer_custom_settings_color_link_hover' );
    $footer_custom_settings_color_bg = consulting_theme_option( 'footer_custom_settings_color_bg' );
    $footer_custom_settings_bg_img = consulting_get_image_url( 'footer_custom_settings_bg_img' );
    $footer_custom_settings_bg_overlay = consulting_theme_option( 'footer_custom_settings_bg_overlay' );
    ?>
    <style type="text/css">
        #footer .footer_widgets .widget .widget_title {
            border-top: transparent !important;
        }
        <?php if(!empty($footer_custom_settings_color_text)): ?>
        body #footer,
        body #footer div, body #footer div:before, body #footer div:after,
        body #footer h1,body #footer h2,body #footer h3,body #footer h4,body #footer h5,body #footer h6,
        body #footer p, body #footer p:before, body #footer p:after,
        body #footer span, body #footer span:before, body #footer span:after {
            color: <?php echo esc_attr($footer_custom_settings_color_text) ?> !important;
        }
        <?php endif; ?>
        <?php if(!empty($footer_custom_settings_color_link)): ?>
        body #footer a:not([class^="social-"]) {
            color: <?php echo esc_attr($footer_custom_settings_color_link) ?> !important;
        }
        <?php endif; ?>
        <?php if(!empty($footer_custom_settings_color_link_hover)): ?>
        body #footer a:not([class^="social-"]):hover {
            color: <?php echo esc_attr($footer_custom_settings_color_link_hover) ?> !important;
        }
        <?php endif; ?>
        <?php if(!empty($footer_custom_settings_color_bg)): ?>
        body #footer {
            background-color: <?php echo esc_attr($footer_custom_settings_color_bg) ?> !important;
        }
        <?php endif; ?>
        <?php if(!empty($footer_custom_settings_bg_img)): ?>
        body #footer {
            background-image: url(<?php echo esc_url($footer_custom_settings_bg_img) ?>) !important;
            background-size: cover;
            background-position: 50% 0;
        }
        <?php if(!empty($footer_custom_settings_bg_overlay)): ?>
        body #footer::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: <?php echo esc_attr($footer_custom_settings_bg_overlay) ?> !important;
        }
        <?php endif; ?>
        <?php endif; ?>
    </style>

<?php endif; ?>