Merge branch 'master' of https://github.com/user890104/initfest
This commit is contained in:
commit
86521a51b3
|
@ -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 {
|
||||||
|
|
|
@ -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','виж цялата новина');
|
||||||
|
|
2
page.php
2
page.php
|
@ -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' ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue