HEX
Server: Apache
System: Linux server11 5.10.0-33-amd64 #1 SMP Debian 5.10.226-1 (2024-10-03) x86_64
User: web78 (5081)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/clients/client1/web78/web/wp-content/themes/bfastmag/inc/hooks/inline-style.php
<?php

if( ! function_exists( 'bfastmag_inline_style' ) ) :

    /**
     * bfastmag wp_head hook
     *
     * @since  bfastmag 1.0.0
     */
    function bfastmag_inline_style(){
 
        echo '<style type="text/css">';

    $bfastmag_title_color = esc_attr( get_theme_mod( 'bfastmag_title_color',apply_filters( 'bfastmag_title_color_default_filter','#333' ) ) );
    if ( ! empty( $bfastmag_title_color ) ) {
        echo '.title-border span { color: ' . $bfastmag_title_color . ' }';
         echo '.page-header h1 { color: ' . $bfastmag_title_color . ' }';
    }

    $bfastmag_sidebar_textcolor = esc_attr( get_theme_mod( 'header_textcolor',apply_filters( 'bfastmag_header_textcolor_default_filter','#181818' ) ) );
    if ( ! empty( $bfastmag_sidebar_textcolor ) ) {
        echo '.sidebar .widget li a, .bfastmag-content-right, .bfastmag-content-right a, .post .entry-content, .post .entry-content p,
         .post .entry-cats, .post .entry-cats a, .post .entry-comments', '.post .entry-separator, .post .entry-footer a,
         .post .entry-footer span, .post .entry-footer .entry-cats, .post .entry-footer .entry-cats a, .author-content { color: ' . $bfastmag_sidebar_textcolor . '}';
    }

    $bfastmag_top_slider_post_title_color = esc_attr( get_theme_mod( 'bfastmag_top_slider_post_title_color','#ffffff' ) );
    if ( ! empty( $bfastmag_top_slider_post_title_color ) ) {
        echo '.bfastmag-featured-slider .tp-item-block .tp-post-item-meta .entry-title a { color: ' . $bfastmag_top_slider_post_title_color . ' }';
    }

    $bfastmag_top_slider_post_text_color = esc_attr( get_theme_mod( 'bfastmag_top_slider_post_text_color','#ffffff' ) );
    if ( ! empty( $bfastmag_top_slider_post_text_color ) ) {
        echo '.bfastmag-featured-slider .tp-post-item-meta .tp-post-item-date { color: ' . $bfastmag_top_slider_post_text_color . ' }';
        echo '.bfastmag-featured-slider .tp-post-item-meta .entry-separator { color: ' . $bfastmag_top_slider_post_text_color . ' }';
        echo '.bfastmag-featured-slider .tp-post-item-meta > a { color: ' . $bfastmag_top_slider_post_text_color . ' }';
    }

    $bfastmag_blocks_post_title_color = esc_attr( get_theme_mod( 'bfastmag_blocks_post_title_color',apply_filters( 'bfastmag_blocks_post_title_color_default_filter','#333' ) ) );
    if ( ! empty( $bfastmag_blocks_post_title_color ) ) {
        echo '.home.blog .bfastmag-content-left .entry-title a, .bfastmag-related-posts .entry-title a { color: ' . $bfastmag_blocks_post_title_color . ' }';
    }

    $bfastmag_blocks_post_text_color = esc_attr( get_theme_mod( 'bfastmag_blocks_post_text_color',apply_filters( 'bfastmag_blocks_post_text_color_default_filter','#333' ) ) );
    if ( ! empty( $bfastmag_blocks_post_text_color ) ) {
        echo '.bfastmag-content-left .entry-meta, .bfastmag-content-left .bfastmag-related-posts .entry-content p,
        .bfastmag-content-left .bfastmag-related-posts .entry-cats .entry-label, .bfastmag-content-left .bfastmag-related-posts .entry-cats a,
        .bfastmag-content-left .bfastmag-related-posts > a, .bfastmag-content-left .bfastmag-related-posts .entry-footer > a { color: ' . $bfastmag_blocks_post_text_color . ' }';
        echo '.bfastmag-content-left .entry-meta a { color: ' . $bfastmag_blocks_post_text_color . ' }';
    }

    echo '</style>';
      
     
    }
endif;