403Webshell
Server IP : 74.208.236.16  /  Your IP : 216.73.216.220
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u102440577 ( 7172810)
PHP Version : 8.4.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /homepages/44/d845879113/htdocs/app750263/wp-content/themes/simplemag/composer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /homepages/44/d845879113/htdocs/app750263/wp-content/themes/simplemag/composer/title-text.php
<?php 
/**
 * Free Title or Text
 * Page Composer Section
 *
 * @package SimpleMag
 * @since 	SimpleMag 2.0
**/
?>

<section class="wrapper home-section title-text">
	<?php 
    /* Title */
	$title = get_sub_field( 'title_text_content' ); 
	$tag = get_sub_field( 'title_styling' );
	
	$title_type = array (
		'theme_title' => '<div class="section-title title-with-sep"><h2 class="title">' . $title . '</h2></div>',
		'heading_1' => '<h1>' . $title . '</h1>',
		'heading_2' => '<h2>' . $title . '</h2>'
	);
	
	// Loop through select options an output the result
	foreach ( $title_type as $type => $value ) :
		if ( $tag == $type ) : 
            echo '<header class="section-header">' 
                    . wp_kses_post( $value ) .
                 '</header>';
        endif;
	endforeach;


    /* Text */
    $text = get_sub_field( 'text_content' );
    if ( ! empty( $text ) ) :
        echo '<div class="cat-description">' . apply_filters( 'be_the_content', $text ) . '</div>';
    endif;
	?>
</section><!-- Text Box -->

Youez - 2016 - github.com/yon3zu
LinuXploit