403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/HostingSpaces/admin/tickwaves.co.uk/wwwroot/wp-content/themes/oceanwp/partials/edd/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/tickwaves.co.uk/wwwroot/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