-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #116 from RRZE-Webteam/dev
Version 1.11
- Loading branch information
Showing
140 changed files
with
7,536 additions
and
33,263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,67 @@ | ||
<?php | ||
/** | ||
* The main template file. | ||
* | ||
* @package WordPress | ||
* @subpackage FAU | ||
* @since FAU 1.0 | ||
*/ | ||
|
||
get_header(); | ||
|
||
$posttype = get_post_type(); | ||
get_template_part('template-parts/hero', 'index'); | ||
$active_sidebar = false; | ||
?> | ||
|
||
<div id="content"> | ||
<div class="container"> | ||
|
||
<div class="row"> | ||
<?php if ( is_active_sidebar( 'search-sidebar' ) ) { | ||
// add sidebar and nest content in sub-row | ||
$active_sidebar = 1; ?> | ||
<div class="search-sidebar"> | ||
<?php dynamic_sidebar( 'search-sidebar' ); ?> | ||
</div> | ||
<div class="search-resultnested"> | ||
<div class="row"> | ||
|
||
<?php } ?> | ||
<div class="col-xs-12"> | ||
<main> | ||
<h1 class="screen-reader-text"><?php echo __('Index','fau'); ?></h1> | ||
<?php | ||
|
||
while ( have_posts() ) { | ||
the_post(); | ||
echo FAU_Person_Shortcodes::fau_person(array("id"=> $post->ID, 'format' => 'kompakt', 'showlink' => 1)); | ||
} ?> | ||
|
||
<nav class="navigation"> | ||
<div class="nav-previous"><?php previous_posts_link(__('<span class="meta-nav">«</span> Vorherige Einträge', 'fau')); ?></div> | ||
<div class="nav-next"><?php next_posts_link(__('Weitere Einträge <span class="meta-nav">»</span>', 'fau'), '' ); ?></div> | ||
</nav> | ||
|
||
</main> | ||
</div> | ||
<?php if ( is_active_sidebar( 'search-sidebar' ) ) { ?> | ||
</div> | ||
</div> | ||
<?php } ?> | ||
|
||
</div> | ||
|
||
<?php if(get_post_type() == 'post') { | ||
get_template_part('template-parts/sidebar', 'news'); | ||
} ?> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
|
||
<?php | ||
get_template_part('template-parts/footer', 'social'); | ||
get_footer(); | ||
|
||
<?php | ||
/** | ||
* The main template file. | ||
* | ||
* @package WordPress | ||
* @subpackage FAU | ||
* @since FAU 1.0 | ||
*/ | ||
|
||
get_header(); | ||
|
||
$posttype = get_post_type(); | ||
get_template_part('template-parts/hero', 'index'); | ||
$active_sidebar = false; | ||
?> | ||
|
||
<div id="content"> | ||
<div class="container"> | ||
|
||
<div class="row"> | ||
<?php if ( is_active_sidebar( 'search-sidebar' ) ) { | ||
// add sidebar and nest content in sub-row | ||
$active_sidebar = 1; ?> | ||
<div class="search-sidebar"> | ||
<?php dynamic_sidebar( 'search-sidebar' ); ?> | ||
</div> | ||
<div class="search-resultnested"> | ||
<div class="row"> | ||
|
||
<?php } ?> | ||
<div class="col-xs-12"> | ||
<main id="droppoint"> | ||
<h1 class="screen-reader-text"><?php echo __('Index','fau'); ?></h1> | ||
<?php | ||
|
||
while ( have_posts() ) { | ||
the_post(); | ||
echo FAU_Person_Shortcodes::fau_person(array("id"=> $post->ID, 'format' => 'kompakt', 'showlink' => 1)); | ||
} ?> | ||
|
||
<nav class="navigation"> | ||
<div class="nav-previous"><?php previous_posts_link(__('<span class="meta-nav">«</span> Vorherige Einträge', 'fau')); ?></div> | ||
<div class="nav-next"><?php next_posts_link(__('Weitere Einträge <span class="meta-nav">»</span>', 'fau'), '' ); ?></div> | ||
</nav> | ||
|
||
</main> | ||
</div> | ||
<?php if ( is_active_sidebar( 'search-sidebar' ) ) { ?> | ||
</div> | ||
</div> | ||
<?php } ?> | ||
|
||
</div> | ||
|
||
<?php if(get_post_type() == 'post') { | ||
get_template_part('template-parts/sidebar', 'news'); | ||
} ?> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
|
||
<?php | ||
get_template_part('template-parts/footer', 'social'); | ||
get_footer(); | ||
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.