Jeśli chodzi o pytanie 1 i 2 przydałby się nam kod z pliku page.php. W innym przypadku nikt Ci nie pomoże.
Co do pytania 3. Jeśli chcesz zabezpieczenie kodem i adres e-mail w wiadomości, to polecam Ci wtyczkę „Fast Secure Contact Form”. Załatwi ona także problem numer 4.
<?php get_header();?>
<?php $tpl_default_settings = get_post_meta($post->ID,’_tpl_default_settings’,TRUE);
$tpl_default_settings = is_array($tpl_default_settings) ? $tpl_default_settings : array();
$page_layout = array_key_exists(„layout”,$tpl_default_settings) ? $tpl_default_settings[’layout’] : „content-full-width”;
$show_sidebar = false;
$sidebar_class= „”;
switch($page_layout):
case 'with-left-sidebar’:
$page_layout = „page-with-sidebar with-left-sidebar”;
$show_sidebar = true;
$sidebar_class = „left-sidebar”;
break;
case 'with-right-sidebar’:
$show_sidebar = true;
$page_layout = „page-with-sidebar with-right-sidebar”;
break;
endswitch;
#Page Top Code Section
$dttheme_options = get_option(IAMD_THEME_SETTINGS);
$dttheme_integration = $dttheme_options[’integration’];
if(isset($dttheme_integration[’enable-single-page-top-code’])) echo stripslashes($dttheme_integration[’single-page-top-code’]);?>
<!– **Primary Section** –>
<section id=”primary” class=”<?php echo $page_layout;?>”>
<?php if( have_posts() ):
while( have_posts() ):
the_post();
get_template_part( 'framework/loops/content’, 'page’ );
endwhile;
endif;?>
</section><!– **Primary Section** –>
<?php if($show_sidebar): ?>
<!– **Secondary Section ** –>
<section id=”secondary” class=”<?php echo $sidebar_class; ?>”>
<?php get_sidebar();?>
</section><!– **Secondary Section – End** –>
<?php endif; ?>
<?php #Page Top Code Section
$dttheme_integration = $dttheme_options[’integration’];
if(isset($dttheme_integration[’enable-single-page-bottom-code’])) echo stripslashes($dttheme_integration[’single-page-bottom-code’]);
get_footer();?>
Dziękuję @kurdupel, wklejam kod z page.php 🙂
Przyznam Ci szczerze, że będę mógł Ci pomóc tylko wtedy, gdy prześlesz mi spakowany szablon lub podasz link skąd go pobrałeś. Musiałbym go zainstalować u siebie i przejrzeć kilka plików.
Otwórz plik header.php i w linii 129 usuń kod:
get_search_form();
Problemy 3,4 i 1 rozwiązane. Sorry spojrzałbyś jeszcze na to:
2) przetłumaczyć napisów Phone,Email, OnLine Form z tej podstrony http://psychologonline.radom.pl/?page_id=64
Tak w ogóle, to z jakiej wtyczki korzystasz w dziale KONTAKT? Nie masz gdzieś w panelu administracyjnym możliwości zmiany treści?