Commit da914cda authored by Simon's avatar Simon

Schema fix

parent c1a02d62
......@@ -318,13 +318,16 @@ get_header();
?> <meta itemprop="minValue" content="<?php echo $pod->field( 'salary_from' ); ?>" />
<meta itemprop="maxValue" content="<?php echo $pod->field( 'salary_to' ); ?>" />
<?php elseif ($pod->field( 'salary_from' ) > 0):
?> <meta itemprop="value" content=<?php echo intval($pod->field( 'salary_from' )); ?> />
?> <div itemprop="value" itemscope itemtype="http://schema.org/QuantitativeValue">
<meta itemprop="value" content="<?php echo $pod->field( 'salary_from' ); ?>" />
</div>
<?php elseif ($pod->field( 'salary_to' ) > 0):
?> <meta itemprop="value" content=<?php echo intval($pod->field( 'salary_to' )); ?> />
?> <div itemprop="value" itemscope itemtype="http://schema.org/QuantitativeValue">
<meta itemprop="value" content="<?php echo $pod->field( 'salary_to' ); ?>" />
</div>
<?php endif;
?> </div>
<?php
$blogID = get_current_blog_id();
if (!$pod->field( 'hide-salary' )):
......
......@@ -19,13 +19,13 @@ wp core update --force;
wp core update-db --network;
wp core language update;
versionAkismet=4.1.12;
versionAkismet=4.2.1;
versionClassicWidgets=0.2;
versionGoogleSitemapGenerator=4.1.1;
versionLocoTranslate=2.5.4;
versionPods=2.7.31;
versionPolylang=3.1.1;
versionSiteReviews=5.15.0;
versionSiteReviews=5.16.0;
versionWordpressSeo=17.2.1;
action="install" && $(wp core is-installed) && action="update"
......
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