HEX
Server: Apache
System: Linux dinesh8149 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: usesambura1 (1212012)
PHP: 7.0.33
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: /home/storage/c/63/6c/usesambura1/public_html/yr/wp-content/themes/oceanwp/partials/edd/single.php
<?php
/**
 * Template for displaying single layout for easy digital downloads
 *
 * @package OceanWP WordPress theme
 */

global $post;

do_action( 'ocean_before_single_download_item' ); ?>
<div <?php post_class(); ?>>
	<div class="edd_download_inner">

		<h2 class="edd_download_title">
			<?php the_title(); ?>
		</h2>

		<?php
		if ( function_exists( 'has_post_thumbnail' ) && has_post_thumbnail( get_the_ID() ) ) :
			?>
			<div class="edd_download_image">

				<?php do_action( 'ocean_before_single_download_image' ); ?>

				<?php echo get_the_post_thumbnail( get_the_ID(), 'full' ); ?>

				<?php do_action( 'ocean_after_single_download_image' ); ?>

			</div>
		<?php endif; ?>

		<div class="edd_download_content">

			<?php do_action( 'ocean_before_single_download_content' ); ?>

			<?php the_content(); ?>

			<?php do_action( 'ocean_after_single_download_content' ); ?>

		</div>

		<?php
		if ( get_theme_mod( 'ocean_edd_display_navigation', true ) ) :
			?>
			<div class="edd_download_navigation">
				<?php
				// Term.
				$term_tax = get_theme_mod( 'ocean_edd_next_prev_taxonomy', 'download_tag' );
				$term_tax = $term_tax ? $term_tax : 'download_tag';

				// Args.
				$args = array(
					'prev_text'          => '<span class="title">' . oceanwp_icon( 'long_arrow_alt_left', false ) . ' ' . esc_html__( 'Previous', 'oceanwp' ) . '</span><span class="post-title">%title</span>',
					'next_text'          => '<span class="title">' . oceanwp_icon( 'long_arrow_alt_right', false ) . ' ' . esc_html__( 'Next', 'oceanwp' ) . '</span><span class="post-title">%title</span>',
					'in_same_term'       => true,
					'taxonomy'           => $term_tax,
					'screen_reader_text' => esc_html__( 'Continue Reading', 'oceanwp' ),
				);

				// Args.
				$args = apply_filters( 'ocean_single_post_next_prev_args', $args );

				?>

				<?php do_action( 'ocean_before_single_post_next_prev' ); ?>

				<?php the_post_navigation( $args ); ?>

				<?php do_action( 'ocean_after_single_post_next_prev' ); ?>
			</div>
		<?php endif; ?>
	</div>
</div>
<?php
do_action( 'ocean_after_single_download_item' ); ?>