anorgatarrak-wordpress-theme/index.php

80 lines
2.5 KiB
PHP
Raw Normal View History

2017-11-09 19:40:49 +01:00
<?php get_header(); ?>
<!-- Primary navbar -->
<nav class="an-navbar navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<?php //dynamic_sidebar( 'sidebar-anorgatarrak-1' ); ?>
2017-11-09 19:40:49 +01:00
<a class="navbar-brand anorgatarrak" href="/">Añorgatarrak</a>
<!--<ul class="nav navbar-nav">
<li><a href="#">ES</a></li>
<li><a href="#">EU</a></li>
</ul>-->
</div>
<?php wp_nav_menu(
array(
'theme_location' => 'header-menu-anorgatarrak',
'container' => 'div',
//'container_class' => 'header-menu-anorgatarrak',
'container_class' => 'an-navbar-collapse',
'container_id' => 'an-navbar-collapse',
'menu_class' => 'nav navbar-nav navbar-right',
) );
?>
2017-11-09 19:40:49 +01:00
</div>
</nav>
<!-- Content -->
<!-- Home -->
<div ng-show="loading" style="overflow:hidden;width:100%;height:100%;position:fixed;top:0;left:0;background:rgba(0,0,0,0.8);z-index:300;">
<h1 style="position:absolute;top:50%;left:50%;"></h1>
</div>
2017-11-09 19:40:49 +01:00
<header>
<div class="container-fluid main">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#!/">Inicio</a></li>
<li class="breadcrumb-item"><a href="#!/catalog">Entrevistas</a></li>
<li class="breadcrumb-item active">Entrevista a Kontxi y María Dolores Elizegi</li>
</ol>
</header>
<div class="" style="float:right;margin-right:30px;position:absolute;z-index:100;right:30px;">
<an-language></an-language>
</div>
<!-- <an-list></an-list> -->
2017-11-09 19:40:49 +01:00
<div ng-view style="padding-bottom:0px;"></div>
2017-11-09 19:40:49 +01:00
<!-- Progressbar content -->
<div class="progress" style="">
<div class="progress-bar an-progress-bar" role="progressbar" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100" style="width: 100%">
</div>
</div>
</div>
<!-- front-page -->
<div class="container" style="padding:30px 0;" ng-hide>
<div class="row">
<?php
$args = array (
'sort_column' => 'menu_order',
'number' => 3,
);
$pages = get_pages($args);
2017-11-09 19:40:49 +01:00
foreach ($pages as $page) :
?>
<?php //print_r($page); ?>
<div class="col-md-4">
<a href="<?php echo get_permalink($page->ID);?>">
<div class="row" style="margin:0px 2px 20px; background-size:cover;height:200px;background-image:url('<?php echo get_the_post_thumbnail_url($page->ID); ?>');">
<div class="col-md-12" style="background-color:rgba(0,0,0,0.8);">
<h2><?php echo $page->post_title; ?></h2>
</div>
</div>
</a>
<?php echo $page->post_excerpt; ?>
</div>
2017-11-09 19:40:49 +01:00
<?php endforeach; ?>
</div> <!-- row -->
</div><!-- container -->
<?php //endif; ?>
<?php get_footer(); ?>