anorgatarrak-wordpress-theme/index.php

76 lines
3.4 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;">
<ul class="nav navbar-nav navbar-right" style="background:rgba(255,153,51,255);">
<li><a style="color:#000;" href="http://anorgatarrak.eus">EUS</a></li>
<li><a style="color:#000;" href="http://es.anorgatarrak.eus">ESP</a></li>
</ul>
</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>
<?php //if (is_front_page() ) :?>
<!-- front-page -->
<div class="container" style="padding:30px 0;" ng-hide>
<div class="row">
<?php
$args = array (
'sort_column' => 'menu_order'
);
$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"><h2><?php echo $page->post_title; ?></h2><?php echo $page->post_excerpt; ?> <br/><a href="<?php echo get_permalink($page->ID); ?>">+info</a><div class="more" style="width:100%;height:50px;background:#ff9933;margin-top:10px;display:none;"></div></div>
2017-11-09 19:40:49 +01:00
<!-- <div class="col-md-4"><h2>Entrevistas del proyecto</h2><p>This example is a quick exercise to illustrate how the default, static and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device. To see the difference between static and fixed top navbars, just scroll.</p><p><a class="btn" ng-href="#!/catalog/">Mostrar más</a></p></div>
<div class="col-md-4"><h2>Información relevante</h2><p>This example is a quick exercise to illustrate how the default, static and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device. To see the difference between static and fixed top navbars, just scroll.</p><p><a class="btn" ng-href="#!/contact">Mostrar más</a></p></div>-->
<?php endforeach; ?>
</div> <!-- row -->
</div><!-- container -->
<?php //endif; ?>
<?php get_footer(); ?>