HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
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/html/wpemobiq/wp-content/themes/salient/includes/partials/footer/call-to-action.php
<?php
/**
 * Footer bottom content
 *
 * @package Salient WordPress Theme
 * @subpackage Partials
 * @version 10.5
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
 
global $post;
global $wp;

$nectar_options = get_nectar_theme_options();
$exclude_pages  = ( ! empty( $nectar_options['exclude_cta_pages'] ) ) ? $nectar_options['exclude_cta_pages'] : array();
$cta_link       = ( ! empty( $nectar_options['cta-btn-link'] ) ) ? $nectar_options['cta-btn-link'] : '#';
$cta_btn_color  = ( ! empty( $nectar_options['cta-btn-color'] ) ) ? $nectar_options['cta-btn-color'] : 'accent-color';

if ( ! empty( $nectar_options['cta-text'] ) && ! in_array( $post->ID, $exclude_pages ) ) {

?>

<div id="call-to-action">
	<div class="container">
		  <div class="triangle"></div>
		  <span> <?php echo wp_kses_post( $nectar_options['cta-text'] ); ?> </span>
		  <a class="nectar-button 
		  <?php
			if ( $cta_btn_color !== 'see-through' ) {
				echo 'regular-button ';}

		  echo esc_html( $cta_btn_color ); ?>" data-color-override="false" href="<?php echo esc_attr( $cta_link ); ?>">
		  <?php
			if ( ! empty( $nectar_options['cta-btn'] ) ) {
				echo wp_kses_post( $nectar_options['cta-btn'] );}
			?>
		</a>
	</div>
</div>

	<?php
}