Design suggestions for the front page
This commit is contained in:
parent
bb6bc6c309
commit
53bcd858c9
|
@ -786,3 +786,14 @@ a.button:hover { opacity: 0.8; }
|
||||||
p img {
|
p img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.front-page-sponsors {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.front-page-big-title h1 {
|
||||||
|
font-size: 1.4em;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.content.front-page-big-title {
|
||||||
|
padding: 1em 0 0 0;
|
||||||
|
}
|
||||||
|
|
|
@ -1,15 +1,13 @@
|
||||||
<?php get_header(); ?>
|
<?php get_header(); ?>
|
||||||
<section class="content grid">
|
<div class="content front-page-big-title"><h1>OpenFest e единствената по рода си в България конференция, посветена на свободната култура, свободния софтуер и софтуера с отворен код, свободното споделяне на знания – фестивал на свободното творчество. OpenFest е ежегодна среща на всички почитатели, създатели, поддръжници и нови фенове на свободните изкуства и свободния софтуер.</h1></div>
|
||||||
<div class="col-left">
|
<div class="separator"></div>
|
||||||
<section class="content">
|
<div class="col-right sponsors">
|
||||||
<?php echo do_shortcode( '[sh-latest-posts cat="news" label="'.pll__('Новини').'"]' ); ?>
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
<div class="col-right sponsors">
|
|
||||||
<?php echo do_shortcode( '[sponsors]' ); ?>
|
<?php echo do_shortcode( '[sponsors]' ); ?>
|
||||||
<?php echo do_shortcode( '[partners]' ); ?>
|
<?php echo do_shortcode( '[partners]' ); ?>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="separator"></div>
|
||||||
|
<section class="content">
|
||||||
|
<?php echo do_shortcode( '[sh-latest-posts cat="news" label="'.pll__('Новини').'"]' ); ?>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div class="separator"></div>
|
<div class="separator"></div>
|
||||||
|
|
|
@ -43,7 +43,7 @@ function sh_latest_posts($atts){
|
||||||
if ( $news->have_posts() ) :
|
if ( $news->have_posts() ) :
|
||||||
while ( $news->have_posts() && $i++<2) : $news->the_post();
|
while ( $news->have_posts() && $i++<2) : $news->the_post();
|
||||||
?>
|
?>
|
||||||
<div class="col2">
|
<div class="col3">
|
||||||
<h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
|
<h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
|
||||||
<p class="info"><?php pll_e('От');?> <?php the_author(); ?> | <?php pll_e('Публикувано на');?> <?php the_date(); ?> </p>
|
<p class="info"><?php pll_e('От');?> <?php the_author(); ?> | <?php pll_e('Публикувано на');?> <?php the_date(); ?> </p>
|
||||||
<?php the_excerpt(); ?>
|
<?php the_excerpt(); ?>
|
||||||
|
@ -58,7 +58,7 @@ function sh_latest_posts($atts){
|
||||||
$i=0;
|
$i=0;
|
||||||
while ( $news->have_posts() && $i++<2) : $news->the_post();
|
while ( $news->have_posts() && $i++<2) : $news->the_post();
|
||||||
?>
|
?>
|
||||||
<div class="col2">
|
<div class="col3">
|
||||||
<h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
|
<h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
|
||||||
<p class="info"><?php pll_e('От');?> <?php the_author(); ?> | <?php pll_e('Публикувано на');?> <?php the_date(); ?> </p>
|
<p class="info"><?php pll_e('От');?> <?php the_author(); ?> | <?php pll_e('Публикувано на');?> <?php the_date(); ?> </p>
|
||||||
<?php the_excerpt(); ?>
|
<?php the_excerpt(); ?>
|
||||||
|
|
Loading…
Reference in New Issue