Revolution LifeStyle Tema Sorunu
13
●939
- 15-04-2010, 17:48:21bakın üst menüde sadece mitoloji gözüküyor aslında bir çok kategorim var bunun admin panelinde hangi kategoriler listelensin yazmıyor ki sayfalar altında üst kısımda bulunan Anasayfa - hakkımızda - ekibimiz- iletişim- galerinin altında bulunan yerde normalde kategoriler olması gerekyor bende sadece MITOLOJI yazıyor =( oraya benım kategorılerımı yerlestırmek ıstıyorum ama Kategorılerini gozukmesı ıcın kategoriler böülümündeki tanıtımıda doldurun demıs turkceye cevıren arkadasımız tanıtımıda doldurdugum halde kategorıler gelmıyor
- 15-04-2010, 17:51:52
<?php wp_list_categories('sort_column=name&title_li=&depth=3&include=6,7,9,11'); ?>
Sizde include= den sonra kategori ID lerini aralarında virgülle yazarak listeleye bilirsiniz.Orası sadece seçilmiş kategorileri listeler.. header.php dosyasında arama yaparsanırız göreceksiniz muhtemelen. - 15-04-2010, 17:58:35Üyeliği durdurulduBlogizma adlı üyeden alıntı: mesajı görüntüle
Arkadaşın Verdiği header.php'de Bulunan Kod Yerine Şu Kodu Eklerseniz Tüm Kategorileri Kendiliğinden Listeleyecektir.
<?php wp_list_categories('sort_column=menu_order&title_li=&depth=0&show_count=0&include='.get_wpn_config('submenu_include').'&exclude='.get_wpn_config('submenu_exclude')); ?> - 15-04-2010, 18:07:47Bu Kodu <?php wp_list_categories('include=1,2,3,4,5,6,7,8&sort_c olumn=name&title_li=&depth=5'); ?>
Bunun ile <?php wp_list_categories('sort_column=menu_order&title_l i=&depth=0&show_count=0&include='.get_wpn_config(' submenu_include').'&exclude='.get_wpn_config('subm enu_exclude')); ?>
değiştirdim menü kısmında bu hatayı verdi =S eski halınde cevirdim bende
Fatal error: Call to undefined function get_wpn_config() in /mounted-storage/home104b/sub007/sc42379-KUMV/okuryazarailesi.com/wp-content/themes/lifestyle_10/header.php on line 109 - 15-04-2010, 18:10:15Üyeliği durdurulduİlk Satırda Yazdığın Kodda Hata Var. Kod Şu Şekilde Olmalı;S3D4T adlı üyeden alıntı: mesajı görüntüle
<?php wp_list_categories('sort_column=name&title_li=&depth=3&include=6,7,9,11'); ?>6,7,9,11 Gelen Kısımları Silip Kendi Kategori ID'lerinide Yazabilirsin. - 15-04-2010, 19:21:06
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <meta name="distribution" content="global" /> <meta name="robots" content="follow, all" /> <meta name="language" content="en, sv" /> <title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please --> <link rel="Shortcut Icon" href="<?php echo get_settings('home'); ?>/wp-content/themes/lifestyle_10/images/favicon.ico" type="image/x-icon" /> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_get_archives('type=monthly&format=link'); ?> <?php wp_head(); ?> <style type="text/css" media="screen"><!-- @import url( <?php bloginfo('stylesheet_url'); ?> ); --></style> <script type="text/javascript"><!--//--><![CDATA[//><!-- sfHover = function() { if (!document.getElementsByTagName) return false; var sfEls = document.getElementById("nav").getElementsByTagName("li"); // if you only have one main menu - delete the line below // var sfEls1 = document.getElementById("subnav").getElementsByTagName("li"); // for (var i=0; i<sfEls.length; i++) { sfEls[i].onmouseover=function() { this.className+=" sfhover"; } sfEls[i].onmouseout=function() { this.className=this.className.replace(new RegExp(" sfhover\\b"), ""); } } // if you only have one main menu - delete the "for" loop below // for (var i=0; i<sfEls1.length; i++) { sfEls1[i].onmouseover=function() { this.className+=" sfhover1"; } sfEls1[i].onmouseout=function() { this.className=this.className.replace(new RegExp(" sfhover1\\b"), ""); } } // } if (window.attachEvent) window.attachEvent("onload", sfHover); //--><!]]></script> </head> <body> <div id="wrap"> <div id="topnavbar"> <div class="topnavbarleft"> <p><script src="<?php bloginfo('template_url'); ?>/javascript/date.js" type="text/javascript"></script></p> </div> <div class="topnavbarright"> <p><a href="<?php bloginfo('rss_url'); ?>"><img style="vertical-align:middle" src="<?php bloginfo('template_url'); ?>/images/rss.gif" alt="Subscribe to <?php bloginfo('name'); ?>" /></a><a href="<?php bloginfo('rss_url'); ?>">YAZILAR</a><a href="<?php bloginfo('comments_rss2_url'); ?>"><img style="vertical-align:middle;margin-left:10px;" src="<?php bloginfo('template_url'); ?>/images/rss.gif" alt="Subscribe to <?php bloginfo('name'); ?>" /></a><a href="<?php bloginfo('comments_rss2_url'); ?>">YORUMLAR</a></p> </div> </div> <div id="header"> <div class="headerleft"> <a href="<?php echo get_settings('home'); ?>/"><img src="<?php bloginfo('template_url'); ?>/images/logo.png" alt="<?php bloginfo('description'); ?>" /></a> </div> <!--To define the 468x60 ad, go to your WP dashboard and go to Design -> Revolution Lifestyle Options and enter the ad code.--> <div class="headerright"> <?php $ad_468 = get_option('revlifestyle_ad_468'); echo stripslashes($ad_468); ?> </div> </div> <div id="navbar"> <div id="navbarleft"> <ul id="nav"> <li><a href="<?php echo get_settings('home'); ?>">Anasayfa</a></li> <?php wp_list_pages('title_li=&depth=3&sort_column=menu_order'); ?> </ul> </div> <div id="navbarright"> <form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <input type="text" value="Site içinde ara..." name="s" id="searchbox" onfocus="if (this.value == 'Site içinde ara...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Site içinde ara...';}" /> <input type="submit" id="searchbutton" value="ARA" /></form> </div> </div> <div style="clear:both;"></div> <div id="subnavbar"> <ul id="subnav"> <?php wp_list_categories('include=1,2,3,4,5,6,7,8&sort_column=name&title_li=&depth=5'); ?> </ul> </div> <div style="clear:both;"></div>[/Header Kodum bu nerde var ki dediğiniz kod =S