403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.161
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/yme/wp-content/themes/oceanwp/partials/edd/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/yme/wp-content/themes/oceanwp/partials/edd/archive.php
<?php
/**
 * Template for displaying archive layout for easy digital downloads
 *
 * @package OceanWP WordPress theme
 */

global $post;

do_action( 'ocean_before_archive_download_item' );

?>

<div <?php post_class(); ?>>

	<div class="edd_download_inner">

	<?php

	// Get elements.
	$elements = oceanwp_edd_archive_elements_positioning();

	// Loop through elements.
	foreach ( $elements as $element ) {

		// Image.
		if ( 'image' === $element ) {
			do_action( 'ocean_before_archive_download_image' );

			edd_get_template_part( 'shortcode', 'content-image' );

			do_action( 'ocean_after_archive_download_image' );
		}

		// Category.
		if ( 'category' === $element ) {

			do_action( 'ocean_before_archive_download_categories' );

			echo '<div class="edd_download_categories">';

			echo oceanwp_edd_terms_list( 'download_category' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped

			echo '</div>';

			do_action( 'ocean_after_archive_download_categories' );
		}

		// Title.
		if ( 'title' === $element ) {

			do_action( 'ocean_before_archive_download_title' );

			edd_get_template_part( 'shortcode', 'content-title' );

			do_action( 'ocean_after_archive_download_title' );

		}

		// Price.
		if ( 'price' === $element ) {

			do_action( 'ocean_before_archive_download_price' );

			edd_get_template_part( 'shortcode', 'content-price' );

			do_action( 'ocean_before_archive_download_price' );

		}

		// Description.
		if ( 'description' === $element ) {

			do_action( 'ocean_before_archive_download_description' );

			edd_get_template_part( 'shortcode', 'content-excerpt' );

			do_action( 'ocean_after_archive_download_description' );

		}

		// Add to cart button.
		if ( 'button' === $element ) {

			do_action( 'ocean_before_archive_download_add_to_cart' );

			echo oceanwp_edd_add_to_cart_link(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped

			do_action( 'ocean_after_archive_download_add_to_cart' );

		}
	}
	?>

	</div>

</div>

<?php

do_action( 'ocean_after_archive_download_item' );

Youez - 2016 - github.com/yon3zu
LinuXploit