Wordpress Home Sayfasını Kaldırmak/Değiştirmek
-
-
Tema dosyalarında düzenleyebilirsin veya özel menü olayıyla bu sorunu aşabilirsin.
-
interfector bunu yazdı
Tema dosyalarında düzenleyebilirsin veya özel menü olayıyla bu sorunu aşabilirsin.
wp-includes/post-template.php dosyasındaki $text = __(‘Home’); home yazan yeri AnaSayfa olarak değiştirdim fakat durum yine aynı
edit: özel menü olayını biraz daha açabilir misin hocam?
CnkGn tarafından 02/Tem/14 13:56 tarihinde düzenlenmiştir -
header a bak
-
Hocam özel menü olayına baktın mı? Ek olarak orayı değilde header.php falan bi bakabilirmisin?
-
headerin içi ;
<!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <title><?php echo theme_generator('title'); ?></title> <?php if($custom_favicon = theme_get_option('general','custom_favicon')) { ?> <link rel="shortcut icon" href="<?php echo theme_get_image_src($custom_favicon); ?>" /> <?php } ?> <!-- Feeds and Pingback --> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS2 Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_head(); ?> <!--[if IE 6 ]> <link href="<?php echo THEME_CSS;?>/ie6.css" media="screen" rel="stylesheet" type="text/css"> <script type="text/javascript" src="<?php echo THEME_JS;?>/dd_belatedpng-min.js"></script> <script type="text/javascript" src="<?php echo THEME_JS;?>/ie6.js"></script> <![endif]--> <!--[if IE 7 ]> <link href="<?php echo THEME_CSS;?>/ie7.css" media="screen" rel="stylesheet" type="text/css"> <![endif]--> <!--[if IE 8 ]> <link href="<?php echo THEME_CSS;?>/ie8.css" media="screen" rel="stylesheet" type="text/css"> <![endif]--> <!--[if IE]> <script type="text/javascript" src="<?php echo THEME_JS;?>/html5.js"></script> <![endif]--> <?php if(theme_get_option('cufon','enable_cufon')){ theme_add_cufon_code(); } ?> <script type="text/javascript"> var image_url='<?php echo THEME_IMAGES;?>'; <?php $grayscale_animSpeed = theme_get_option('advance','grayscale_animSpeed'); $grayscale_outSpeed = theme_get_option('advance','grayscale_outSpeed'); if($grayscale_animSpeed != '1000'){ echo 'var grayscale_animSpeed='.$grayscale_animSpeed.';'; } if($grayscale_outSpeed != '1000'){ echo 'var grayscale_outSpeed='.$grayscale_outSpeed.';'; } ?> </script> <?php if(theme_get_option('general','analytics') && theme_get_option('general','analytics_position')=='header'){ echo stripslashes(theme_get_option('general','analytics')); } ?> </head> <body <?php body_class(); ?>> <header id="header"> <div class="inner"> <?php if(theme_get_option('general','display_logo') && $custom_logo = theme_get_option('general','logo') ): ?> <div id="logo"> <a href="<?php echo home_url( '/' ); ?>"><img class="ie_png" src="<?php echo theme_get_image_src($custom_logo); ?>" alt="<?php bloginfo('name'); ?>"/></a> <?php if(theme_get_option('general','display_site_desc')){ $site_desc = get_bloginfo( 'description' ); if(!empty($site_desc)):?> <div id="site_description"><?php bloginfo( 'description' ); ?></div> <?php endif;}?> </div> <?php else:?> <div id="logo_text"> <a id="site_name" href="<?php echo home_url( '/' ); ?>"><?php bloginfo('name'); ?></a> <?php if(theme_get_option('general','display_site_desc')){ $site_desc = get_bloginfo( 'description' ); if(!empty($site_desc)):?> <div id="site_description"><?php bloginfo( 'description' ); ?></div> <?php endif;}?> </div> <?php endif; ?> <?php $top_area_type = theme_get_option('general','top_area_type'); switch($top_area_type){ case 'html': if(theme_get_option('general','top_area_html')){ echo '<div id="top_area">'; echo str_replace(array('[raw]','[/raw]'),'',do_shortcode(wpml_t(THEME_NAME, 'Top Area Html Code', stripslashes( theme_get_option('general','top_area_html') )))); echo '</div>'; } break; case 'wpml_flags': echo theme_generator('wpml_flags'); break; case 'widget': echo '<div id="top_area">'; dynamic_sidebar(__('Header Widget Area','striking_admin')); echo '</div>'; break; } ?> <?php echo theme_generator('menu');?> </div> </header>CnkGn tarafından 02/Tem/14 14:01 tarihinde düzenlenmiştir -
Header da yokmuş anlaşılan :D Functions falan bi kurcala hocam. Bide yedeğini al yapıcam diye kesin piç olacak o tasarım :D Kendimde biliyorum :D
-
Functions'ın içindede bişey bulamadım :D
<?php if(!class_exists('Theme')){ /* Load the Theme class. */ require_once (TEMPLATEPATH . '/framework/theme.php'); $theme = new Theme(); $options = include(TEMPLATEPATH . '/framework/info.php'); $theme->init($options); } -
CnkGn bunu yazdıSchwarz tarafından 02/Tem/14 14:22 tarihinde düzenlenmiştir
Functions'ın içindede bişey bulamadım :D
http://wordpress.org/support/topic/how-to-change-the-default-home-page-title
-
@Schwarz : Hocam linkteki dediklerini uyguladım yönergelere uymuyor benim index.php
-
Hocam func içine 2 adet php dosyası inc edilmiş bunları kurcalayacaksın. Eğer onlarında içinde yoksa ve içlerine başka dosyalar inc ediliyorsa onları kurcalayacaksın böyle böyle bulabilirsin anca :D
Ek olarak tekrar yazıyorum buraya "Özel Menü" diye bişey var. Bileşenlerde miydi onun altındamıydı bilmiyorum artık oraya git kendin menü tanımla. Temanın kendi yaptığı otomatik menüyü şeyetme.
Edit : Hocam sen bana şu sitenin adresiyle admin pass göndersene :D
interfector tarafından 02/Tem/14 14:39 tarihinde düzenlenmiştir

