| Server IP : 51.91.236.255 / Your IP : 216.73.217.120 Web Server : Apache System : Linux webm002.cluster129.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : laureet ( 1012854) PHP Version : 8.0.30 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/laureet/www/wp-content/themes/rock-singer/sections/ |
Upload File : |
<?php
/**
* Template part for displaying About Us Section
*
*@package Rock Singer
*/
?>
<?php
$about_us_subtitle = rock_singer_get_option( 'about_us_subtitle' );
$about_us_section_title = rock_singer_get_option( 'about_us_section_title' );
$about_us_featured_image = rock_singer_get_option( 'about_us_featured_image' );
$about_us_content = rock_singer_get_option( 'about_us_content' );
$about_us_btn_label = rock_singer_get_option( 'about_us_btn_label' );
$about_us_btn_url = rock_singer_get_option( 'about_us_btn_url' );
?>
<article>
<?php if( !empty( $about_us_featured_image ) ): ?>
<div class="featured-image" style="background-image: url('<?php echo esc_url( $about_us_featured_image ); ?>');">
</div><!-- .featured-image -->
<?php endif; ?>
<div class="entry-container">
<?php if( !empty( $about_us_subtitle ) || !empty( $about_us_section_title ) ): ?>
<div class="section-header">
<?php if( !empty( $about_us_subtitle ) ): ?>
<h3 class="section-subtitle"><?php echo esc_html( $about_us_subtitle ); ?></h3>
<?php endif; ?>
<?php if( !empty( $about_us_section_title ) ): ?>
<h2 class="section-title"><?php echo esc_html( $about_us_section_title ); ?></h2>
<?php endif; ?>
</div><!-- .section-header -->
<?php endif; ?>
<?php if( !empty( $about_us_content ) ): ?>
<div class="entry-content">
<p><?php echo esc_html( $about_us_content ); ?></p>
</div><!-- .entry-content -->
<?php endif; ?>
<?php if( !empty( $about_us_btn_label ) ): ?>
<div class="read-more">
<a href="<?php echo esc_attr( $about_us_btn_url ); ?>" class="btn"><?php echo esc_html( $about_us_btn_label ); ?><i class="fa-solid fa-arrow-up-right-from-square"></i></a>
</div><!-- .read-more -->
<?php endif; ?>
</div><!-- .entry-container -->
</article>