From d2cad0b1505a88955969455ee48f11817ad12da0 Mon Sep 17 00:00:00 2001 From: Vasil Kolev Date: Fri, 17 Oct 2014 10:56:05 +0300 Subject: [PATCH 1/3] reorder the main page a bit --- front-page.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/front-page.php b/front-page.php index e2bef27..1312c56 100644 --- a/front-page.php +++ b/front-page.php @@ -1,18 +1,14 @@ -

OpenFest e единствената по рода си в България конференция, посветена на свободната култура, свободния софтуер и софтуера с отворен код, свободното споделяне на знания – фестивал на свободното творчество. OpenFest е ежегодна среща на всички почитатели, създатели, поддръжници и нови фенове на свободните изкуства и свободния софтуер.

+
+
-
-
-
- - -- 2.40.1 From b03d586fd0e2a2e17ed24c70a53837cacf3b4acf Mon Sep 17 00:00:00 2001 From: Vasil Kolev Date: Sat, 18 Oct 2014 16:57:10 +0300 Subject: [PATCH 2/3] fix crappy copy-paste --- functions.php | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/functions.php b/functions.php index 1bebb0e..ed9c9db 100644 --- a/functions.php +++ b/functions.php @@ -35,28 +35,13 @@ function sh_latest_posts($atts){ $result = '

'.$atts['label'].' | '.__('see all', 'initfest').'

'; - $news_args = array( 'category_name' => 'news,news-bg', 'numberposts' => 3, 'lang' => of_get_lang() ); + $news_args = array( 'category_name' => 'news,news-bg', 'numberposts' => 6, 'lang' => of_get_lang() ); $news = new WP_Query( $news_args ); ob_start(); - $i=0; if ( $news->have_posts() ) : - while ( $news->have_posts() && $i++<2) : $news->the_post(); -?> -
-

-

|

- - -
-
'; - - $result = '

'.$atts['label'].' | '.__('see all', 'initfest').'

'; - $i=0; - while ( $news->have_posts() && $i++<2) : $news->the_post(); + $i=0; + while ( $news->have_posts() && $i++<6) : $news->the_post(); ?>

@@ -65,6 +50,8 @@ function sh_latest_posts($atts){
'; endwhile; endif; -- 2.40.1 From 91d457a3c9b86069321f3272aa29796d354f2889 Mon Sep 17 00:00:00 2001 From: Krasimir Tsonev Date: Sun, 19 Oct 2014 00:20:55 +0300 Subject: [PATCH 3/3] Small visual tweaks --- css/styles.css | 18 ++++++++++++++++++ page-speakers.php | 1 + 2 files changed, 19 insertions(+) diff --git a/css/styles.css b/css/styles.css index d0c2099..c845ae8 100644 --- a/css/styles.css +++ b/css/styles.css @@ -351,6 +351,9 @@ nav .selected { nav ul a:hover { border-top: 0 solid #A8D6FF; } + nav .fa-twitter, nav .fa-facebook, nav .fa-rss { + display: none; + } } /* Banner */ @@ -463,6 +466,7 @@ h4 { p.info + p { height: 240px; + overflow: hidden; } .entry-content { @@ -654,6 +658,8 @@ a.button:hover { opacity: 0.8; } display: block; } .member a > img { + width: 100px; + max-width: 100%; padding: 0.3em; background: #FFF; -moz-box-shadow: 0px 0px 1px 1px #999; @@ -797,3 +803,15 @@ p img { .content.front-page-big-title { padding: 1em 0 0 0; } + +section.entry-meta { + font-size: 0.8em; + padding: 0 0 2em 0; + color: #999; +} +footer.entry-footer { + padding: 1em; + border-radius: 0.4em; + background: #F0F0F0; + font-size: 0.8em; +} \ No newline at end of file diff --git a/page-speakers.php b/page-speakers.php index 9f755db..c84fa41 100644 --- a/page-speakers.php +++ b/page-speakers.php @@ -46,6 +46,7 @@ if ( preg_match('/^(schedule|programa|speakers|halls)/', $pagename) ) { ?>
+
'speakers', 'nopaging' => 'true', 'order' => 'ASC' ); $speakers = new WP_Query( $speakers_args ); -- 2.40.1