C:\xampp\htdocs\landing\wp-content\plugins\penci-framework\shortcodes\text_block\frontend.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
if ( ! defined'ABSPATH' ) ) {
    die( 
'-1' );
}

$atts              vc_map_get_attributes$this->getShortcode(), $atts );
$show_on_shortcode Penci_Helper_Shortcode::show_on_shortcode$atts );
if ( ! 
$show_on_shortcode ) {
    return;
}

list( 
$atts $block_content_id$unique_id ) = Penci_Helper_Shortcode::get_general_param_frontend_shortcode$atts'text-block' );

$class Penci_Framework_Helper::get_class_block( array( $this->getCSSAnimation$atts['css_animation'] ) ), $atts );
$class preg_replace'/\s+/'' 'apply_filters'vc_shortcodes_css_class'implode' 'array_filterarray_unique$class ) ) ), 'penci_text_block'$atts ) );
?>
    <div id="<?php echo esc_attr$unique_id ); ?>" class="penci-block-vc penci-text-block <?php echo esc_attr$class ); ?>">
        <div class="penci-block-heading">
            <?php Penci_Helper_Shortcode::get_block_title$atts ); ?>
        </div>
        <div class="penci-block_content">
            <?php echo wpb_js_remove_wpautop$contenttrue ); ?>
        </div>
    </div>
<?php

$id_text_block 
'#' $unique_id;
$css_custom    Penci_Helper_Shortcode::get_general_css_custom$id_text_block$atts );
$css_custom    .= Penci_Helper_Shortcode::get_typo_css_custom( array(
    
'e_admin'      => 'block_title',
    
'font-size'    => '18px',
    
'google_fonts' => Penci_Helper_Shortcode::get_font_family'oswald' ),
    
'template'     => $id_text_block . ( $atts['style_block_title'] ? '.' $atts['style_block_title'] : '' ) . ' .penci-block__title{ %s }',
), 
$atts
);

if ( 
$css_custom ) {
    echo 
'<style>';
    echo 
$css_custom;
    echo 
'</style>';
}
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586