Commit 72938b71 authored by Antonio's avatar Antonio 🇪🇺

component ready

parent e8b1ada3
......@@ -80,6 +80,7 @@ We will continuously offer new structured data elements and deliver them as upda
* new icon set
* new update mechanism for blocks
* a lot of little improvements
* all css classes that startedt with sc- are refactored to sc_
= 1.3.1 =
* fix for FAQ >10 (thanks to WOLFER MEDIA, tobias.grasse)
......
......@@ -22,21 +22,21 @@ foreach ( $atts['elements'] as $element ) {
<?php echo htmlspecialchars_decode( do_shortcode( $element['description'] ) ); ?>
</p>
<?php if ( ! empty( $element['provider']['name'] ) && ! empty( $element['provider']['same_as'] ) ) : ?>
<div class="sc-grey-box">
<div class="sc-box-label">
<div class="sc_grey-box">
<div class="sc_box-label">
<?php echo __( 'Provider Information', 'structured-content' ) ?>
</div>
<div class="sc-row">
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_row">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Provider Name', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-event__location">
<?php echo $element['provider']['name'] ?>
</div>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Same as (Website / Social Media)', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-event__sameAs">
......
......@@ -34,7 +34,7 @@ foreach ( $atts['elements'] as $element ) {
<p>
<?php echo htmlspecialchars_decode( do_shortcode( $element['description'] ) ); ?>
</p>
<div class="sc_row">
<div class="sc_row w-100">
<div class="sc_grey-box">
<div class="sc_box-label">
<?php echo __( 'Event Meta', 'structured-content' ) ?>
......@@ -82,15 +82,15 @@ foreach ( $atts['elements'] as $element ) {
</div>
<div class="sc_row">
<div class="sc_input-group">
<div class="sc-input-label">
<div class="sc_input-label">
<?php echo __( 'Postal Code', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-event__postalCode">
<?php echo $element['postal_code'] ?>
</div>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Locality', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-event__addressLocality">
......@@ -98,17 +98,17 @@ foreach ( $atts['elements'] as $element ) {
</div>
</div>
</div>
<div class="sc-row">
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_row">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Country ISO Code', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-event__addressCountry">
<?php echo $element['address_country'] ?>
</div>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Region ISO Code', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-event__addressRegion">
......@@ -117,17 +117,17 @@ foreach ( $atts['elements'] as $element ) {
</div>
</div>
<?php if ( $element['currency_code'] && $element['price'] ) : ?>
<div class="sc-row">
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_row">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Currency ISO Code', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-event__currency">
<?php echo $element['currency_code'] ?>
</div>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Price', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-event__price">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment