arkadaslar, kullandigim temanın ust navigasyon menusunu kaldirip yerine JavaScript açılır menu eklemek istedim. Sothin DHTML Menu 'yu kullanarak bir menu olusturdum ve internette test ettim sorunsuz calisiyor.
Fakat Wordpress te header.php de asagida ki duzenlemeleri yapmama ragmen menu ortalikta yok. Hata mesajıda yok.
.js dosyalarının yerleri ve konumlarıda dogru.
bir seyler yanlis ama anlayamadım.
Header.php dosyamı su sekilde duzenledim. (ekledigim kodlar BOLD olaraktır)
<!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'); ?>" />
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<!--[if lt ie 7]>
<link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('stylesheet_directory'); ?>/ie-win.css" />
<![endif]--><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_head(); ?>
<script type="text/javascript" src="stmenu.js"></script>
</head><body>
![]()
<script type="text/javascript">
<!--
stm_bm(["menu0b0f",830,"","blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0,0,1,2,"default","hand",""],this);
stm_bp("p0",[0,4,0,0,0,0,0,0,100,"",-2,"",-2,50,0,0,"#999999","#FFFFF7","",3,1,1,"#CCCCCC"]);
stm_ai("p0i0",[0,"Ana Sayfa","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,1,1,"#FFFFF7",0,"#B5BED6",1,"","bg01.gif",3,3,0,0,"#CCCCCC","#CCCCCC","#3C1400","#3C1400","bold 9pt Arial","bold 9pt Arial",0,0],80,30);
stm_ai("p0i1",[6,1,"#CCCCCC","",-1,-1,0]);
stm_aix("p0i2","p0i0",[0,"Hakkımızda"],90,30);
stm_aix("p0i3","p0i1",[]);
stm_aix("p0i4","p0i0",[0,"Ürünler","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,1,1,"#FFFFF7",0,"#B5BED6",1,"","bg01.gif",3,3,0,0,"#FFFFF7","#000000"],60,30);
stm_bp("p1",[0,4,-173,3,0,0,5,0,100,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=0,motion=forward,enabled=0,Duration=0.40)",6,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=0,motion=reverse,enabled=0,Duration=0.40)",7,70,0,0,"#999999","#FFFFF7","",3,1,1,"#da8b4b"]);
stm_aix("p1i0","p0i0",[0,"Dıştan Takma Motorlar ","","",-1,-1,0,"","_self","","","","",5,5,0,"","",0,0,0,0,1,"#FFFFF7",0,"#DEDEDE",0,"","",3,3,0,0,"#FFFFF7","#000000","#3C1400","#3C1400","9pt Arial","9pt Arial"],110,25);
stm_bpx("p2","p1",[1,4,-1,3,0,0,10,0,100,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.60)",5,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=reverse,enabled=0,Duration=0.60)",4,50]);
stm_aix("p2i0","p1i0",[0,"2 Zamanlı Motorlar","","",-1,-1,0,"","_self","","","","",10,1,0,"","",0,0,0,0,1,"#FFFFF7",0,"#FFD2AA"],160,20);
stm_aix("p2i1","p2i0",[0,"4 Zamanlı Motorlar"],160,20);
stm_ep();
stm_aix("p1i1","p0i1",[]);
stm_aix("p1i2","p1i0",[0,"İçten Takma Motorlar "],100,25);
stm_aix("p1i3","p0i1",[]);
stm_aix("p1i4","p1i0",[0,"Deniz Motosikletleri "],100,25);
stm_bpx("p3","p2",[]);
stm_aix("p3i0","p2i0",[0,"2 Zamanlılar"],190,20);
stm_aix("p3i1","p2i0",[0,"4 Zamanlılar"],190,20);
stm_aix("p3i2","p0i1",[]);
stm_aix("p3i3","p2i0",[0,"2006 - 2 Zamanlılar"],190,20);
stm_aix("p3i4","p2i0",[0,"2006 - 4 Zamanlılar"],190,20);
stm_ep();
stm_ep();
stm_aix("p0i5","p0i1",[]);
stm_aix("p0i6","p0i4",[0,"Web standards"],110,30);
stm_aix("p0i7","p0i1",[]);
stm_aix("p0i8","p0i1",[]);
stm_aix("p0i9","p0i4",[0,"Blog"],50,30);
stm_ep();
stm_em();
//-->
</script></body>
</html>
Yardımcı olacak arkadaslara simdiden tesekkurler
destek sorusu değil

