From 71f009cf0737a64627d9e78b01fa7d72d82ce546 Mon Sep 17 00:00:00 2001 From: Vasil Kolev Date: Thu, 16 Oct 2014 10:14:34 +0300 Subject: [PATCH] fixes --- functions.php | 3 ++- page-speakers.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/functions.php b/functions.php index 2937f75..cf3065e 100644 --- a/functions.php +++ b/functions.php @@ -76,7 +76,7 @@ function sponsors_shortcode() { while ( $sponsors->have_posts() ) : $sponsors->the_post(); $custom = get_post_custom(); if (empty($custom['partner'])) { - if (empty ($custom['url'])) { + if (!empty ($custom['url'])) { echo ''; } if ( has_post_thumbnail() ) { @@ -320,6 +320,7 @@ if (function_exists("pll_register_string")) { pll_register_string('venue_w','Място'); pll_register_string('sponsors_w','Спонсори'); pll_register_string('partners_w','Партньори'); + pll_register_string('speakers_w','Лектори'); pll_register_string('time','1-ви и 2-ри ноември 2014 г.'); pll_register_string('publishedon','Публикувано на'); pll_register_string('by_w','От'); diff --git a/page-speakers.php b/page-speakers.php index 9dfe4d8..9f755db 100644 --- a/page-speakers.php +++ b/page-speakers.php @@ -13,7 +13,7 @@ if ( preg_match('/^(schedule|programa|speakers|halls)/', $pagename) ) {