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/wpprm/wp-content/themes/ronneby/tmp-one-page-scroll.php
<?php
/*
Template Name: For one page scroll
*/
if ( ! defined( 'ABSPATH' ) ) { exit; }

$additional_layout_class = DfdMetaboxSettings::get('dfd_enable_page_spacer') ? 'dfd-custom-padding-html' : '';
$animation_style = DfdMetaboxSettings::get('dfd_animation_style');
$smart_header = DfdMetaboxSettings::get('dfd_auto_header_colors');
$enable_dots = DfdMetaboxSettings::get('dfd_enable_dots') != 'off' ? 'true' : 'false';

if($animation_style != 'none' && $animation_style != '') {
	$enable_animation = 'true';
	$animation_style_class = ' dfd-enable-onepage-animation '.$animation_style;
} else {
	$animation_style_class = ' dfd-disable-onepage-animation ';
	$enable_animation = 'false';
}

?>

<section id="layout" class="no-title one-page-scroll <?php echo esc_attr($animation_style_class); ?>" data-enable-dots="<?php echo $enable_dots ?>" data-enable-animation="<?php echo $enable_animation ?>" <?php 
		if($smart_header == 'on') {
			echo ' data-smart-header="1"';
		}
	?>>

	<?php get_template_part('templates/content', 'page'); ?>
	
</section>