This commit is contained in:
herince 2015-10-07 21:32:39 +03:00
commit 86521a51b3
4 changed files with 7 additions and 7 deletions

View File

@ -280,7 +280,7 @@ nav ul a {
color: #000; color: #000;
text-decoration: none; text-decoration: none;
display: block; display: block;
padding: 1.9em 0.4em; padding: 1.9em 0.4em 1.5em 0.4em;
} }
nav ul .sub-menu { nav ul .sub-menu {

View File

@ -138,7 +138,7 @@ function partners_shortcode() {
# Create shortcode for transport methods # Create shortcode for transport methods
function transport_shortcode() { function transport_shortcode() {
$result= '<section class="content"><h3>'.pll__('Място').': '.pll__('Интерпред, София, България').'</h3>'; $result= '<section class="content"><h3>'.pll__('Място').': '.pll__('VENUE_LOCATION').'</h3>';
$transport_args = array( 'post_type' => 'transportation' ); $transport_args = array( 'post_type' => 'transportation' );
$transport = new WP_Query( $transport_args ); $transport = new WP_Query( $transport_args );
@ -156,7 +156,7 @@ function transport_shortcode() {
?> ?>
</section> </section>
<?php <?php
echo do_shortcode( '[ready_google_map id="2" map_language="en" align="center"]' ); //echo do_shortcode( '[ready_google_map id="2" map_language="en" align="center"]' );
$result .= ob_get_contents(); $result .= ob_get_contents();
ob_end_clean(); ob_end_clean();
@ -319,12 +319,12 @@ if (function_exists("pll_register_string")) {
pll_register_string('Schedule','Програма'); pll_register_string('Schedule','Програма');
pll_register_string('Others','Други'); pll_register_string('Others','Други');
pll_register_string('follow','Последвайте ни в:'); pll_register_string('follow','Последвайте ни в:');
pll_register_string('venue','Интерпред, София, България'); pll_register_string('venue','VENUE_LOCATION');
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('speakers_w','Лектори');
pll_register_string('time','1-ви и 2-ри ноември 2014 г.'); pll_register_string('time','EVENT_TIME');
pll_register_string('publishedon','Публикувано на'); pll_register_string('publishedon','Публикувано на');
pll_register_string('by_w','От'); pll_register_string('by_w','От');
pll_register_string('see_whole_news','виж цялата новина'); pll_register_string('see_whole_news','виж цялата новина');

View File

@ -2,7 +2,7 @@
get_header(); get_header();
/* Some special pages (the ones describing the event, team, etc. need a special submenu */ /* Some special pages (the ones describing the event, team, etc. need a special submenu */
if ( preg_match('/^(about|ideas-and-recommendations|feedback|team|history|volunteers)/', $pagename) ) { if ( preg_match('/^(about|ideas-and-recommendations|feedback|team|history|volunteers|code-of-conduct)/', $pagename) ) {
wp_nav_menu( array( 'theme_location' => 'subnav-menu', 'container_class' => 'content subnav cf' ) ); wp_nav_menu( array( 'theme_location' => 'subnav-menu', 'container_class' => 'content subnav cf' ) );
} }

View File

@ -1,6 +1,6 @@
<div class="col-right sponsors-frontpage"> <div class="col-right sponsors-frontpage">
<h3><?php pll_e('1-ви и 2-ри ноември 2014 г.');?> <br /> <?php pll_e('Интерпред, София, България');?></h3> <h3><?php pll_e('EVENT_TIME');?> <br /> <?php pll_e('VENUE_LOCATION');?></h3>
<div class="separator"></div> <div class="separator"></div>
<?php echo do_shortcode( '[sponsors]' ); ?> <?php echo do_shortcode( '[sponsors]' ); ?>
<div class="separator"></div> <div class="separator"></div>