| Server IP : 172.67.153.42 / Your IP : 216.73.217.138 Web Server : Apache System : Linux vps-850873.bgcolombia.com 3.10.0-1160.144.1.el7.tuxcare.els5.x86_64 #1 SMP Wed May 13 12:31:54 UTC 2026 x86_64 User : melizav ( 1018) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/melizav/.trash/oceanwp/partials/edd/ |
Upload File : |
<?php /** * Template for displaying single layout for easy digital downloads * */ 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"><i class="fa fa-long-arrow-left" aria-hidden="true"></i>'. esc_html__( 'Previous', 'oceanwp' ) .'</span><span class="post-title">%title</span>', 'next_text' => '<span class="title"><i class="fa fa-long-arrow-right" aria-hidden="true"></i>'. 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' ); ?>