Skip to content

Commit

Permalink
Merge pull request #1190 from visual-framework/intranet-update
Browse files Browse the repository at this point in the history
Intranet update
  • Loading branch information
kasprzyk-sz authored Jan 10, 2023
2 parents 3216db9 + 8c955f8 commit c4e8896
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,30 @@ class="vf-section-header__icon | vf-icon vf-icon-arrow--inline-end" width="24" h
<div class="vf-tabs">
<ul class="vf-tabs__list | vf-u-margin__top--0" data-vf-js-tabs>
<li class="vf-tabs__item">
<a class="vf-tabs__link" href="#vf-tabs__section--6"
<a class="vf-tabs__link" href="#vf-tabs__section--barcelona"
data-vf-js-location-nearest-activation-target="barcelona">Barcelona</a>
</li>
<li class="vf-tabs__item">
<a class="vf-tabs__link" href="#vf-tabs__section--7"
<a class="vf-tabs__link" href="#vf-tabs__section--grenoble"
data-vf-js-location-nearest-activation-target="grenoble">Grenoble</a>
</li>
<li class="vf-tabs__item">
<a class="vf-tabs__link" href="#vf-tabs__section--8"
<a class="vf-tabs__link" href="#vf-tabs__section--hamburg"
data-vf-js-location-nearest-activation-target="hamburg">Hamburg</a>
</li>
<li class="vf-tabs__item">
<a class="vf-tabs__link" href="#vf-tabs__section--9"
<a class="vf-tabs__link" href="#vf-tabs__section--heidelberg"
data-vf-js-location-nearest-activation-target="default">Heidelberg</a>
</li>
<li class="vf-tabs__item">
<a class="vf-tabs__link" href="#vf-tabs__section--10"
<a class="vf-tabs__link" href="#vf-tabs__section--rome"
data-vf-js-location-nearest-activation-target="rome">Rome</a>
</li>
</ul>
</div>

<div class="vf-tabs-content" data-vf-js-tabs-content>
<section class="vf-tabs__section" id="vf-tabs__section--6">
<section class="vf-tabs__section" id="vf-tabs__section--barcelona">
<div class="vf-grid | vf-grid__col-3">
<?php
$communityBlogLoop_1 = new WP_Query (array(
Expand All @@ -60,7 +60,7 @@ class="vf-section-header__icon | vf-icon vf-icon-arrow--inline-end" width="24" h
<?php wp_reset_postdata(); ?>
</div>
</section>
<section class="vf-tabs__section" id="vf-tabs__section--7">
<section class="vf-tabs__section" id="vf-tabs__section--grenoble">
<div class="vf-grid | vf-grid__col-3">
<?php
$communityBlogLoop_2 = new WP_Query (array(
Expand All @@ -83,7 +83,7 @@ class="vf-section-header__icon | vf-icon vf-icon-arrow--inline-end" width="24" h
<?php wp_reset_postdata(); ?>
</div>
</section>
<section class="vf-tabs__section" id="vf-tabs__section--8">
<section class="vf-tabs__section" id="vf-tabs__section--hamburg">
<div class="vf-grid | vf-grid__col-3">
<?php
$communityBlogLoop_3 = new WP_Query (array(
Expand All @@ -106,7 +106,7 @@ class="vf-section-header__icon | vf-icon vf-icon-arrow--inline-end" width="24" h
<?php wp_reset_postdata(); ?>
</div>
</section>
<section class="vf-tabs__section" id="vf-tabs__section--9">
<section class="vf-tabs__section" id="vf-tabs__section--heidelberg">
<div class="vf-grid | vf-grid__col-3">
<?php
$communityBlogLoop_4 = new WP_Query (array(
Expand All @@ -129,7 +129,7 @@ class="vf-section-header__icon | vf-icon vf-icon-arrow--inline-end" width="24" h
<?php wp_reset_postdata(); ?>
</div>
</section>
<section class="vf-tabs__section" id="vf-tabs__section--10">
<section class="vf-tabs__section" id="vf-tabs__section--rome">
<div class="vf-grid | vf-grid__col-3">
<?php
$communityBlogLoop_5 = new WP_Query (array(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
$request = wp_remote_get( 'https://www.embl.org/api/v1/events?_format=json&source=contenthub&field_event_type=Seminar&start_date=today' );
$request = wp_remote_get( 'https://www.embl.org/api/v1/events?_format=json&source=contenthub&field_event_type=Seminar&start_date=today&items_per_page=400' );
if( is_wp_error( $request ) ) {
return false; }
$body = wp_remote_retrieve_body( $request );
Expand Down
2 changes: 1 addition & 1 deletion wp-content/themes/vf-wp-intranet/template-seminars.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class="embl-grid embl-grid--has-centered-content | vf-u-padding__top--500 vf-u-p
<div class="vf-content">
<div class="embl-content-hub-loader | vf-grid vf-grid__col-1" data-jplist-group="data-group-1">
<?php
$request = wp_remote_get( 'https://www.embl.org/api/v1/events?_format=json&source=contenthub&field_event_type=Seminar&start_date=today
$request = wp_remote_get( 'https://www.embl.org/api/v1/events?_format=json&source=contenthub&field_event_type=Seminar&start_date=today&items_per_page=400
' );
if( is_wp_error( $request ) ) {
return false; // Bail early
Expand Down

0 comments on commit c4e8896

Please sign in to comment.