This commit is contained in:
Vasil Kolev 2014-10-16 10:14:34 +03:00 committed by Openfest
parent 95de1d3738
commit 71f009cf07
2 changed files with 4 additions and 3 deletions

View File

@ -76,7 +76,7 @@ function sponsors_shortcode() {
while ( $sponsors->have_posts() ) : $sponsors->the_post(); while ( $sponsors->have_posts() ) : $sponsors->the_post();
$custom = get_post_custom(); $custom = get_post_custom();
if (empty($custom['partner'])) { if (empty($custom['partner'])) {
if (empty ($custom['url'])) { if (!empty ($custom['url'])) {
echo '<a href="'.$custom['url'][0].'" target=_blank alt="'.get_the_title().'">'; echo '<a href="'.$custom['url'][0].'" target=_blank alt="'.get_the_title().'">';
} }
if ( has_post_thumbnail() ) { if ( has_post_thumbnail() ) {
@ -320,6 +320,7 @@ if (function_exists("pll_register_string")) {
pll_register_string('venue_w','Място'); pll_register_string('venue_w','Място');
pll_register_string('sponsors_w','Спонсори'); pll_register_string('sponsors_w','Спонсори');
pll_register_string('partners_w','Партньори'); pll_register_string('partners_w','Партньори');
pll_register_string('speakers_w','Лектори');
pll_register_string('time','1-ви и 2-ри ноември 2014 г.'); pll_register_string('time','1-ви и 2-ри ноември 2014 г.');
pll_register_string('publishedon','Публикувано на'); pll_register_string('publishedon','Публикувано на');
pll_register_string('by_w','От'); pll_register_string('by_w','От');

View File

@ -13,7 +13,7 @@ if ( preg_match('/^(schedule|programa|speakers|halls)/', $pagename) ) {
<div class="separator"></div> <div class="separator"></div>
<section class="content grid"> <section class="content grid">
<div class="col-left"> <div class="col-left">
<h1 class="big">Лектори</h1> <h1 class="big"><?php e_('Лектори'); ?></h1>
<div class="grid members"> <div class="grid members">
<?php <?php
@ -34,7 +34,7 @@ if ( preg_match('/^(schedule|programa|speakers|halls)/', $pagename) ) {
<img src="/img/speaker.jpg"> <img src="/img/speaker.jpg">
<?php <?php
} }
?> ?><br>
<?php the_title(); ?> <?php the_title(); ?>
</a> </a>