Structure fixes and additions #1
|
@ -236,7 +236,7 @@ nav ul {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
nav ul li {
|
nav ul li {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav .menu > li {
|
nav .menu > li {
|
||||||
|
@ -266,18 +266,18 @@ nav ul a {
|
||||||
}
|
}
|
||||||
|
|
||||||
nav ul .sub-menu {
|
nav ul .sub-menu {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
margin-left: -100px;
|
margin-left: -100px;
|
||||||
box-shadow: 0 3px 5px -3px #000
|
box-shadow: 0 3px 5px -3px #000
|
||||||
}
|
}
|
||||||
|
|
||||||
nav ul li:hover .sub-menu {
|
nav ul li:hover .sub-menu {
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav ul .sub-menu li,
|
nav ul .sub-menu li,
|
||||||
|
@ -459,7 +459,7 @@ footer {
|
||||||
footer .content li { list-style: none; }
|
footer .content li { list-style: none; }
|
||||||
|
|
||||||
#copyright {
|
#copyright {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Sub navigation */
|
/* Sub navigation */
|
||||||
|
@ -500,9 +500,9 @@ footer .content li { list-style: none; }
|
||||||
float: left;
|
float: left;
|
||||||
padding: 0.3em;
|
padding: 0.3em;
|
||||||
background: #FFF;
|
background: #FFF;
|
||||||
-moz-box-shadow: 0px 0px 1px 1px #999;
|
-moz-box-shadow: 0px 0px 1px 1px #999;
|
||||||
-webkit-box-shadow: 0px 0px 1px 1px #999;
|
-webkit-box-shadow: 0px 0px 1px 1px #999;
|
||||||
box-shadow: 0px 0px 1px 1px #999;
|
box-shadow: 0px 0px 1px 1px #999;
|
||||||
margin: 0 1em 2em 0;
|
margin: 0 1em 2em 0;
|
||||||
}
|
}
|
||||||
.speaker .icons {
|
.speaker .icons {
|
||||||
|
@ -530,3 +530,4 @@ footer .content li { list-style: none; }
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0 0 2em 0;
|
margin: 0 0 2em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<section class="entry-content">
|
<section class="entry-content">
|
||||||
<?php
|
<?php
|
||||||
if ( has_post_thumbnail() ) {
|
if ( has_post_thumbnail() ) {
|
||||||
the_post_thumbnail();
|
the_post_thumbnail();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<?php the_content(); ?>
|
<?php the_content(); ?>
|
||||||
<div class="entry-links"><?php wp_link_pages(); ?></div>
|
<div class="entry-links"><?php wp_link_pages(); ?></div>
|
||||||
</section>
|
</section>
|
|
@ -1,9 +1,9 @@
|
||||||
<footer class="entry-footer">
|
<footer class="entry-footer">
|
||||||
<span class="cat-links"><?php _e( 'Categories: ', 'blankslate' ); ?><?php the_category( ', ' ); ?></span>
|
<span class="cat-links"><?php _e( 'Categories: ', 'blankslate' ); ?><?php the_category( ', ' ); ?></span>
|
||||||
<span class="tag-links"><?php the_tags(); ?></span>
|
<span class="tag-links"><?php the_tags(); ?></span>
|
||||||
<?php
|
<?php
|
||||||
if ( comments_open() ) {
|
if ( comments_open() ) {
|
||||||
echo '<span class="meta-sep">|</span> <span class="comments-link"><a href="' . get_comments_link() . '">' . sprintf( __( 'Comments', 'initfest' ) ) . '</a></span>';
|
echo '<span class="meta-sep">|</span> <span class="comments-link"><a href="' . get_comments_link() . '">' . sprintf( __( 'Comments', 'initfest' ) ) . '</a></span>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</footer>
|
</footer>
|
|
@ -1,5 +1,5 @@
|
||||||
<section class="entry-meta">
|
<section class="entry-meta">
|
||||||
<span class="author vcard"><?php the_author_posts_link(); ?></span>
|
<span class="author vcard"><?php the_author_posts_link(); ?></span>
|
||||||
<span class="meta-sep"> | </span>
|
<span class="meta-sep"> | </span>
|
||||||
<span class="entry-date"><?php the_time( get_option( 'date_format' ) ); ?></span>
|
<span class="entry-date"><?php the_time( get_option( 'date_format' ) ); ?></span>
|
||||||
</section>
|
</section>
|
|
@ -1,6 +1,6 @@
|
||||||
<section class="entry-summary">
|
<section class="entry-summary">
|
||||||
<?php the_excerpt(); ?>
|
<?php the_excerpt(); ?>
|
||||||
<?php if( is_search() ) { ?>
|
<?php if( is_search() ) { ?>
|
||||||
<div class="entry-links"><?php wp_link_pages(); ?></div
|
<div class="entry-links"><?php wp_link_pages(); ?></div
|
||||||
><?php } ?>
|
><?php } ?>
|
||||||
</section>
|
</section>
|
28
entry.php
28
entry.php
|
@ -1,16 +1,16 @@
|
||||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||||
<header>
|
<header>
|
||||||
<?php
|
<?php
|
||||||
if ( is_singular() ) {
|
if ( is_singular() ) {
|
||||||
echo '<h1 class="entry-title">';
|
echo '<h1 class="entry-title">';
|
||||||
} else {
|
} else {
|
||||||
echo '<h2 class="entry-title">';
|
echo '<h2 class="entry-title">';
|
||||||
} ?>
|
} ?>
|
||||||
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a>
|
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a>
|
||||||
<?php if ( is_singular() ) { echo '</h1>'; } else { echo '</h2>'; } ?>
|
<?php if ( is_singular() ) { echo '</h1>'; } else { echo '</h2>'; } ?>
|
||||||
<?php edit_post_link(); ?>
|
<?php edit_post_link(); ?>
|
||||||
<?php if ( !is_search() && !is_page() && !is_front_page()) get_template_part( 'entry', 'meta' ); ?>
|
<?php if ( !is_search() && !is_page() && !is_front_page()) get_template_part( 'entry', 'meta' ); ?>
|
||||||
</header>
|
</header>
|
||||||
<?php get_template_part( 'entry', ( is_archive() || is_search() ? 'summary' : 'content' ) ); ?>
|
<?php get_template_part( 'entry', ( is_archive() || is_search() ? 'summary' : 'content' ) ); ?>
|
||||||
<?php if ( !is_search() && !is_page() && !is_front_page()) get_template_part( 'entry-footer' ); ?>
|
<?php if ( !is_search() && !is_page() && !is_front_page()) get_template_part( 'entry-footer' ); ?>
|
||||||
</article>
|
</article>
|
68
footer.php
68
footer.php
|
@ -1,36 +1,36 @@
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<div class="content grid">
|
<div class="content grid">
|
||||||
<div class="col4">
|
<div class="col4">
|
||||||
<h3>OpenFest</h3>
|
<h3>OpenFest</h3>
|
||||||
<p>
|
<p>
|
||||||
<?php wp_nav_menu(array('theme_location' => 'footer-openfest', 'items_wrap' => '%3$s<br/>' )); ?>
|
<?php wp_nav_menu(array('theme_location' => 'footer-openfest', 'items_wrap' => '%3$s<br/>' )); ?>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col4">
|
<div class="col4">
|
||||||
<h3>Програма</h3>
|
<h3>Програма</h3>
|
||||||
<p>
|
<p>
|
||||||
<?php wp_nav_menu(array('theme_location' => 'footer-schedule', 'items_wrap' => '%3$s<br/>' )); ?>
|
<?php wp_nav_menu(array('theme_location' => 'footer-schedule', 'items_wrap' => '%3$s<br/>' )); ?>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col4">
|
<div class="col4">
|
||||||
<h3>Други</h3>
|
<h3>Други</h3>
|
||||||
<p>
|
<p>
|
||||||
<?php wp_nav_menu(array('theme_location' => 'footer-others', 'items_wrap' => '%3$s<br/>' )); ?>
|
<?php wp_nav_menu(array('theme_location' => 'footer-others', 'items_wrap' => '%3$s<br/>' )); ?>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col4">
|
<div class="col4">
|
||||||
<h3>Последвайте ни в:</h3>
|
<h3>Последвайте ни в:</h3>
|
||||||
<p>
|
<p>
|
||||||
<?php wp_nav_menu(array('theme_location' => 'footer-followus', 'items_wrap' => '%3$s<br/>' )); ?>
|
<?php wp_nav_menu(array('theme_location' => 'footer-followus', 'items_wrap' => '%3$s<br/>' )); ?>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="copyright">
|
<div id="copyright">
|
||||||
<?php echo sprintf( __( '%1$s %2$s %3$s. Some Rights Reserved.', 'initfest' ), '©', date( 'Y' ), esc_html( get_bloginfo( 'name' ) ) ); ?>
|
<?php echo sprintf( __( '%1$s %2$s %3$s. Some Rights Reserved.', 'initfest' ), '©', date( 'Y' ), esc_html( get_bloginfo( 'name' ) ) ); ?>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
<?php wp_footer(); ?>
|
<?php wp_footer(); ?>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,40 +1,40 @@
|
||||||
<?php get_header(); ?>
|
<?php get_header(); ?>
|
||||||
<section id="content" role="main" class="front-page content grid">
|
<section id="content" role="main" class="front-page content grid">
|
||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
if ( have_posts() ) : while ( have_posts() ) : the_post();
|
if ( have_posts() ) : while ( have_posts() ) : the_post();
|
||||||
get_template_part( 'entry' );
|
get_template_part( 'entry' );
|
||||||
comments_template();
|
comments_template();
|
||||||
endwhile; endif;
|
endwhile; endif;
|
||||||
get_template_part( 'nav', 'below' );
|
get_template_part( 'nav', 'below' );
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
<div class="col2">
|
<div class="col2">
|
||||||
<h1></h1>
|
<h1></h1>
|
||||||
<p></p>
|
<p></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col2">
|
<div class="col2">
|
||||||
<h3><?php echo __( 'Sponsors' ); ?></h3>
|
<h3><?php echo __( 'Sponsors' ); ?></h3>
|
||||||
<?php
|
<?php
|
||||||
$args = array( 'post_type' => 'sponsors', 'orderby' => 'rand' );
|
$args = array( 'post_type' => 'sponsors', 'orderby' => 'rand' );
|
||||||
$the_query = new WP_Query( $args );
|
$the_query = new WP_Query( $args );
|
||||||
|
|
||||||
if ( $the_query->have_posts() ) :
|
if ( $the_query->have_posts() ) :
|
||||||
while ( $the_query->have_posts() ) : $the_query->the_post();
|
while ( $the_query->have_posts() ) : $the_query->the_post();
|
||||||
if ( has_post_thumbnail() ) {
|
if ( has_post_thumbnail() ) {
|
||||||
?>
|
?>
|
||||||
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
|
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
|
||||||
<?php
|
<?php
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
|
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
endwhile;
|
endwhile;
|
||||||
wp_reset_postdata();
|
wp_reset_postdata();
|
||||||
endif;
|
endif;
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<?php get_sidebar(); ?>
|
<?php get_sidebar(); ?>
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
||||||
|
|
150
functions.php
150
functions.php
|
@ -1,53 +1,53 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
register_nav_menus(
|
register_nav_menus(
|
||||||
array( 'main-menu' => __( 'Main Menu', 'initfest' ),
|
array( 'main-menu' => __( 'Main Menu', 'initfest' ),
|
||||||
'footer-openfest' => __('OpenFest', 'initfest'),
|
'footer-openfest' => __('OpenFest', 'initfest'),
|
||||||
'footer-openfest' => __('OpenFest', 'initfest'),
|
'footer-openfest' => __('OpenFest', 'initfest'),
|
||||||
'footer-schedule' => __('Schedule', 'initfest'),
|
'footer-schedule' => __('Schedule', 'initfest'),
|
||||||
'footer-others' => __('Others', 'initfest'),
|
'footer-others' => __('Others', 'initfest'),
|
||||||
'footer-followus' => __('Follow us in:', 'initfest') )
|
'footer-followus' => __('Follow us in:', 'initfest') )
|
||||||
);
|
);
|
||||||
|
|
||||||
add_shortcode('sh-latest-posts', 'sh_latest_posts');
|
add_shortcode('sh-latest-posts', 'sh_latest_posts');
|
||||||
|
|
||||||
function sh_latest_posts($atts){
|
function sh_latest_posts($atts){
|
||||||
$atts = shortcode_atts( array(
|
$atts = shortcode_atts( array(
|
||||||
'cat' => 'news',
|
'cat' => 'news',
|
||||||
'label' => __('News', 'initfest')
|
'label' => __('News', 'initfest')
|
||||||
), $atts );
|
), $atts );
|
||||||
|
|
||||||
$result = '<div class="separator"></div><section class="content"><h3>'.$atts['label'].' | <small><a href="'.esc_url(get_term_link($atts['cat'], 'category')).'">'.__('see all', 'initfest').'</a></small></h3>';
|
$result = '<div class="separator"></div><section class="content"><h3>'.$atts['label'].' | <small><a href="'.esc_url(get_term_link($atts['cat'], 'category')).'">'.__('see all', 'initfest').'</a></small></h3>';
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
<div class="col3">
|
<div class="col3">
|
||||||
<h4>Разходи за OpenFest 2013</h4>
|
<h4>Разходи за OpenFest 2013</h4>
|
||||||
<p class="info">От HACKMAN | Публикувано на: 13.11.2013</p>
|
<p class="info">От HACKMAN | Публикувано на: 13.11.2013</p>
|
||||||
<p>4913.05 – Зали, озвучаване и техника за презентиране<br />
|
<p>4913.05 – Зали, озвучаване и техника за презентиране<br />
|
||||||
2265.07 – Тениски за посетители, екип и доброволци<br />
|
2265.07 – Тениски за посетители, екип и доброволци<br />
|
||||||
673.18 – Разходи за вода, чай, кафе, вафли, разколнители, канцеларски материали<br />
|
673.18 – Разходи за вода, чай, кафе, вафли, разколнители, канцеларски материали<br />
|
||||||
2442.00 – Транспорт, хотел и вечеря за лекторите<br />
|
2442.00 – Транспорт, хотел и вечеря за лекторите<br />
|
||||||
397.00 – Закуска и обяд за екипа в двата дни ...</p>
|
397.00 – Закуска и обяд за екипа в двата дни ...</p>
|
||||||
<a href="#" class="button">виж цялата новина</a>
|
<a href="#" class="button">виж цялата новина</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col3">
|
<div class="col3">
|
||||||
<h4>2013 Network Stats</h4>
|
<h4>2013 Network Stats</h4>
|
||||||
<p class="info">От HACKMAN | Публикувано на: 13.11.2013</p>
|
<p class="info">От HACKMAN | Публикувано на: 13.11.2013</p>
|
||||||
<p>Удостоверили и сме им раздали 1841 уникални потребителски IP версия 4
|
<p>Удостоверили и сме им раздали 1841 уникални потребителски IP версия 4
|
||||||
адреси и 1356 IPv6 адреси!<br />Максимума едновременно работещи потребители върху всичките 4 AP-та е 326
|
адреси и 1356 IPv6 адреси!<br />Максимума едновременно работещи потребители върху всичките 4 AP-та е 326
|
||||||
устройства и е направен на 2.11.2013 в 15:33
|
устройства и е направен на 2.11.2013 в 15:33
|
||||||
– Зала Варна 2.4GHz 11ng = 44
|
– Зала Варна 2.4GHz 11ng = 44
|
||||||
– Лоби 2.4GHz 11ng = 85 ...</p>
|
– Лоби 2.4GHz 11ng = 85 ...</p>
|
||||||
<a href="#" class="button">виж цялата новина</a>
|
<a href="#" class="button">виж цялата новина</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col3">
|
<div class="col3">
|
||||||
<h4>Статистика за Бирата</h4>
|
<h4>Статистика за Бирата</h4>
|
||||||
<p class="info">От HACKMAN | Публикувано на: 13.11.2013</p>
|
<p class="info">От HACKMAN | Публикувано на: 13.11.2013</p>
|
||||||
<p>418х Старопрамен наливно 0.500мл<br />
|
<p>418х Старопрамен наливно 0.500мл<br />
|
||||||
97х Каменица 0.500мл<br />
|
97х Каменица 0.500мл<br />
|
||||||
62х Бекс<br />
|
62х Бекс<br />
|
||||||
48х Старопрамен бутилка 0.500мл<br />
|
48х Старопрамен бутилка 0.500мл<br />
|
||||||
|
@ -58,17 +58,17 @@ function sh_latest_posts($atts){
|
||||||
23х Гинес<br />
|
23х Гинес<br />
|
||||||
23х ХопГоблин<br />
|
23х ХопГоблин<br />
|
||||||
13х Трупър ...</p>
|
13х Трупър ...</p>
|
||||||
<a href="#" class="button">виж цялата новина</a>
|
<a href="#" class="button">виж цялата новина</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div class="separator"></div>
|
<div class="separator"></div>
|
||||||
<?php
|
<?php
|
||||||
$result .= ob_get_contents();
|
$result .= ob_get_contents();
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,41 +79,41 @@ add_theme_support( 'post-thumbnails' );
|
||||||
# Create a custom post type for Sponsors
|
# Create a custom post type for Sponsors
|
||||||
function create_sponsors_posttype() {
|
function create_sponsors_posttype() {
|
||||||
|
|
||||||
$labels = array(
|
$labels = array(
|
||||||
'name' => __( 'Sponsors' ),
|
'name' => __( 'Sponsors' ),
|
||||||
'singular_name' => __( 'Sponsor' ),
|
'singular_name' => __( 'Sponsor' ),
|
||||||
'menu_nam' => __( 'Sponsors'),
|
'menu_nam' => __( 'Sponsors'),
|
||||||
'all_items' => __( 'All Sponsors' ),
|
'all_items' => __( 'All Sponsors' ),
|
||||||
'view_item' => __( 'View Sponsor' ),
|
'view_item' => __( 'View Sponsor' ),
|
||||||
'add_new_item' => __( 'Add New Sponsor' ),
|
'add_new_item' => __( 'Add New Sponsor' ),
|
||||||
'add_new' => __( 'Add New' ),
|
'add_new' => __( 'Add New' ),
|
||||||
'edit_item' => __( 'Edit Sponsor' ),
|
'edit_item' => __( 'Edit Sponsor' ),
|
||||||
'update_item' => __( 'Update Sponsor' ),
|
'update_item' => __( 'Update Sponsor' ),
|
||||||
'search_item' => __( 'Search Sponsor' ),
|
'search_item' => __( 'Search Sponsor' ),
|
||||||
'not_found' => __( 'Not Found' ),
|
'not_found' => __( 'Not Found' ),
|
||||||
'not_found_in_trash' => __( 'Not Found In Trash' ),
|
'not_found_in_trash' => __( 'Not Found In Trash' ),
|
||||||
);
|
);
|
||||||
|
|
||||||
$args = array(
|
$args = array(
|
||||||
'label' => __( 'sponsors' ),
|
'label' => __( 'sponsors' ),
|
||||||
'description' => __( 'Sponsors of OpenFest' ),
|
'description' => __( 'Sponsors of OpenFest' ),
|
||||||
'labels' => $labels,
|
'labels' => $labels,
|
||||||
'supports' => array( 'title', 'excerpt', 'thumbnail', 'custom-fields', ),
|
'supports' => array( 'title', 'excerpt', 'thumbnail', 'custom-fields', ),
|
||||||
'hierarchical' => false,
|
'hierarchical' => false,
|
||||||
'public' => true,
|
'public' => true,
|
||||||
'show_ui' => true,
|
'show_ui' => true,
|
||||||
'show_in_menu' => true,
|
'show_in_menu' => true,
|
||||||
'show_in_nav_menus' => true,
|
'show_in_nav_menus' => true,
|
||||||
'show_in_admin_bar' => true,
|
'show_in_admin_bar' => true,
|
||||||
'menu_position' => 5,
|
'menu_position' => 5,
|
||||||
'can_export' => true,
|
'can_export' => true,
|
||||||
'has_archive' => true,
|
'has_archive' => true,
|
||||||
'exclude_from_search' => false,
|
'exclude_from_search' => false,
|
||||||
'publicly_queryable' => true,
|
'publicly_queryable' => true,
|
||||||
'capability_type' => 'post',
|
'capability_type' => 'post',
|
||||||
);
|
);
|
||||||
|
|
||||||
register_post_type( 'sponsors', $args );
|
register_post_type( 'sponsors', $args );
|
||||||
}
|
}
|
||||||
|
|
||||||
add_action( 'init', create_sponsors_posttype );
|
add_action( 'init', create_sponsors_posttype );
|
||||||
|
|
34
header.php
34
header.php
|
@ -9,29 +9,29 @@
|
||||||
<meta name="robots" content="follow,index" />
|
<meta name="robots" content="follow,index" />
|
||||||
<meta name="title" content="" />
|
<meta name="title" content="" />
|
||||||
<meta name="keywords" content="" lang="en-us" />
|
<meta name="keywords" content="" lang="en-us" />
|
||||||
<meta name="description" content="" />
|
<meta name="description" content="" />
|
||||||
|
|
||||||
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0" />
|
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0" />
|
||||||
<link rel="icon" type="image/png" href="">
|
<link rel="icon" type="image/png" href="">
|
||||||
|
|
||||||
<title><?php wp_title( ' | ', true, 'right' ); ?></title>
|
<title><?php wp_title( ' | ', true, 'right' ); ?></title>
|
||||||
|
|
||||||
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_uri(); ?>" />
|
<link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_uri(); ?>" />
|
||||||
<?php wp_head(); ?>
|
<?php wp_head(); ?>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<nav>
|
<nav>
|
||||||
<div class="content cf">
|
<div class="content cf">
|
||||||
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="logo"><img src="<?php echo get_template_directory_uri(); ?>/img/logo.png" alt="OpenFest" /></a>
|
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="logo"><img src="<?php echo get_template_directory_uri(); ?>/img/logo.png" alt="OpenFest" /></a>
|
||||||
|
|
||||||
<?php wp_nav_menu( array('theme_location' => 'main-menu') ); ?>
|
<?php wp_nav_menu( array('theme_location' => 'main-menu') ); ?>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<?php
|
<?php
|
||||||
if(is_front_page()){
|
if(is_front_page()){
|
||||||
echo '<section class="banner cf"><img src="'.get_template_directory_uri().'/img/banner.png" alt="" /></section>';
|
echo '<section class="banner cf"><img src="'.get_template_directory_uri().'/img/banner.png" alt="" /></section>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
10
index.php
10
index.php
|
@ -1,10 +1,10 @@
|
||||||
<?php get_header(); ?>
|
<?php get_header(); ?>
|
||||||
<section id="content" role="main" class="content">
|
<section id="content" role="main" class="content">
|
||||||
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
||||||
<?php get_template_part( 'entry' ); ?>
|
<?php get_template_part( 'entry' ); ?>
|
||||||
<?php comments_template(); ?>
|
<?php comments_template(); ?>
|
||||||
<?php endwhile; endif; ?>
|
<?php endwhile; endif; ?>
|
||||||
<?php get_template_part( 'nav', 'below' ); ?>
|
<?php get_template_part( 'nav', 'below' ); ?>
|
||||||
</section>
|
</section>
|
||||||
<?php get_sidebar(); ?>
|
<?php get_sidebar(); ?>
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
||||||
|
|
10
page.php
10
page.php
|
@ -1,10 +1,10 @@
|
||||||
<?php get_header(); ?>
|
<?php get_header(); ?>
|
||||||
<section id="content" role="main">
|
<section id="content" role="main">
|
||||||
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
||||||
<?php get_template_part( 'entry' ); ?>
|
<?php get_template_part( 'entry' ); ?>
|
||||||
<?php //comments_template(); NO COMMENTS IN PAGES PLEASE ?>
|
<?php //comments_template(); NO COMMENTS IN PAGES PLEASE ?>
|
||||||
<?php endwhile; endif; ?>
|
<?php endwhile; endif; ?>
|
||||||
<?php //get_template_part( 'nav', 'below' ); ?>
|
<?php //get_template_part( 'nav', 'below' ); ?>
|
||||||
</section>
|
</section>
|
||||||
<?php get_sidebar(); ?>
|
<?php get_sidebar(); ?>
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
Loading…
Reference in New Issue