first commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php $item_props = edd_add_schema_microdata() ? ' itemprop="offers" itemscope itemtype="http://schema.org/Offer"' : ''; ?>
|
||||
<div<?php echo $item_props; ?>>
|
||||
<div itemprop="price" class="edd_price">
|
||||
<?php
|
||||
if ( ! edd_has_variable_prices( get_the_ID() ) ) :
|
||||
edd_price( get_the_ID() );
|
||||
else :
|
||||
echo edd_price_range( get_the_ID() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
||||
endif;
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user