| User | Post |
|
14:28 20. May 2008
| rexskies
Guest
| | | |
|
| |
|
|
Found the solution finally, posting it so other can use it who might have the same problem.
the orginal code in header.php in the very end of the file:
—————————————————————————-
<ul id=”nav” class=”clearfloat”> <li><a href=”<?php echo get_option('home'); ?>/” class=”on”>Home</a></li> <?php wp_list_pages('title_li='); ?> </ul>
My mistake:
—————————————————————————–
<ul id=”nav” class=”clearfloat”> <li><a href=”<?php echo get_option('home'); ?>/” class=”on”>Home</a></li> <?php wp_list_pages('include=12,117,113,15,145,142,21&title_li='); ?> </ul>
instead what i needed to do was:
—————————————————————————-
<ul id=”nav” class=”clearfloat”> <li><a href=”<?php echo get_option('home'); ?>/” class=”on”>Home</a></li> <?php wp_list_pages('title_li=&exclude=107'); ?> </ul>
So u do come to the same listing just need to exclude rather than include. and for those who don't know what those numbers are: they are the page numbes that u would like to include or exclude, the fuction is used when u want to call 'n' display the desired pages.
Thanks again
|
|
|
21:38 19. May 2008
| rexskies
Guest
| | | |
|
| |
|
|
They need to appear below
http://zubairenterprises.biz/?page_id=133
I'll try to completly delete the pages and do it again before i touch the permalinks. i'll let u know where it ends.
Thanks though.
|
|
|
|
|
Try to update your permalink structure in WordPress. This might help. Under which Page these two subpages should appear?
|
|
|
19:44 19. May 2008
| rexskies
Guest
| | | |
|
| |
|
|
im afraid i have to say yes to all of ur questions. They contain contact forms.
http://zubairenterprises.biz/?page_id=94 http://zubairenterprises.biz/?page_id=93
|
|
|
|
|
I guess you wonder why these children don´t show up in you menu currently, right? Do this child pages already exist? Do they have any content? By default child pages are displayed as dropdowns as you can see in my themes demo.
|
|
|
21:13 17. May 2008
| rexskies
Guest
| | | |
|
| |
|
|
The URL is http://zubairenterprises.biz/
Header.php —————————————————————————————————–
<?php load_theme_textdomain('branfordmagazine'); ?> <!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” <?php language_attributes(); ?>> <head profile=”http://gmpg.org/xfn/11″> <meta http-equiv=”Content-Type” content=”<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>” />
<title> Zubair Enterprises » Industrial, Marine, Generaters & Spare Parts</title>
<meta name=”generator” content=”WordPress <?php bloginfo('version'); ?>” /> <!– leave this for stats –>
<?php wp_head(); ?>
<link rel=”stylesheet” href=”<?php bloginfo('stylesheet_url'); ?>”type=”text/css” media=”screen” /> <link rel=”stylesheet” href=”<?php bloginfo('template_url'); ?>/styles/nav.css” type=”text/css” media=”screen” /> <link rel=”stylesheet” href=”<?php bloginfo('template_url'); ?>/styles/plugins.css” type=”text/css” media=”screen” /> <link rel=”stylesheet” href=”<?php bloginfo('template_url'); ?>/styles/template-style.css” type=”text/css” media=”screen” /> <link rel=”stylesheet” href=”<?php bloginfo('template_url'); ?>/styles/print.css” type=”text/css” media=”print” /> <link rel=”stylesheet” href=”<?php bloginfo('template_url'); ?>/styles/ui.tabs.css” type=”text/css” media=”screen” />
<script type=”text/javascript” src=”<?php bloginfo('template_url'); ?>/js/jquery-1.2.2.pack.js”></script> <script type=”text/javascript” src=”<?php bloginfo('template_url'); ?>/js/dropdowns.js”></script> <script type=”text/javascript” src=”<?php bloginfo('template_url'); ?>/js/ui.tabs.pack.js”></script> <script type=”text/javascript”> var $j = jQuery.noConflict(); $j(function() { $j('#container-4 ul').tabs({ fxFade: true, fxSpeed: 'fast' }); $j('#container-11 ul').tabs({ event: 'mouseover' }).find('a').click(function() { return false; }); }); </script>
<link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo('name'); ?> RSS Feed” href=”<?php bloginfo('rss2_url'); ?>” /> <link rel=”pingback” href=”<?php bloginfo('pingback_url'); ?>” /> </head> <body<?php if ( is_home() ) { ?> id=”home”<?php } ?>> <div id=”page” class=”clearfloat”> <div class=”clearfloat”> <div id=”branding” class=”left” onclick=”location.href='<?php echo get_settings('home'); ?>';” style=”cursor: pointer;”> <div class=”blogtitle” ><a href=”<?php echo get_option('home'); ?>/”> <?php //bloginfo('name'); ?> </a></div> <div class=”description”> <?php //bloginfo('description'); ?> </div> </div> <div class=”right”> <?php include (TEMPLATEPATH . '/searchform.php'); ?> </div> </div> <ul id=”nav” class=”clearfloat”> <li><a href=”<?php echo get_option('home'); ?>/” class=”on”>Home</a></li> <?php wp_list_pages('include=12,117,113,15,133&title_li='); ?> </ul>
The highlighted is the one which has 2 child pages 94 & 93. Another issue that i wanted to resolve is the category post count but i'll start another topic for that so it doesn't get mixed up.
But really this theme is just “too cool for school” took me some time get a hang of it but hey after sometime is works like a charm.
Thanks again.
|
|
|
|
|
Could you post the URL of your page and the code of your “header.php” file.
|
|
|
00:06 17. May 2008
| rex
Guest
| | | |
|
| |
|
|
This is the time when i wish i knew German language. I just needed to know how to get the drop-down subpages to work.
But seriously the theme is kick ass.
|
|
|
|
|
Zu 1.: Alle CSS Anweisungen stehen in der /styles/ui.tabs.css. Da hat´s ne Menge Kommentare drin, die die einzelnen Elemente ganz gut beschreiben. Einfach mal ein Bischen probieren. Das sind die drei wesentlichen Bereiche:
.ui-tabs-nav .ui-tabs { display:block!important; padding:5px!important; background:#E6E3D3!important; margin:1px 0 0 0!important; /* position: relative makes opacity fail for disabled tab in IE */ position: relative!important; top:1px!important; z-index:2!important; color: #333!important; font-weight:bold!important; line-height:1.2!important; text-align:center!important; text-decoration:none!important; border:1px solid #ccc!important; white-space:nowrap!important; /* required in IE 6 */ outline:0!important; /* prevent dotted border in Firefox */ }
.ui-tabs-nav .ui-tabs:hover { /* here´s to define the hover effect of the tabs */ background:#333!important; color:#fff!important; }
.ui-tabs-selected .ui-tabs { /* the effects of the currently selected tab */ background-color:#fff!important; color:#333!important; border-bottom:1px solid #fff!important; }
Zu 2.: In der Datei /styles/nav.css im unteren Bereich
/* Dropdown Menus for child pages */
#nav li ul { position: absolute; z-index: 10; left: -999em; height: auto; width: 174px; border-bottom: 1px solid #666; }
#nav li li { width: 172px; border-top: 1px solid #fff; border-right: 1px solid #fff; border-left: 1px solid #fff; background:#999; }
#nav li li a, #nav li li a:visited { font-weight:normal; font-size:0.9em; color:#FFF; }
#nav li li a:hover, #nav li li a:active {background:#840000;}
Zu 3.: Man könnte z.B. das Seitentemplate kopieren und anders benennen. Schau mal hier nach. Da habe ich die frage auch schon beantwortet.
http://forum.wordpress-deutschland.org/theme-entwicklung/29628-neues-theme-branfordmagazine-6.html#post155043
|
|
|
17:50 20. March 2008
| SVWliker
Guest
| | | |
|
| |
|
|
BranfordMagazine
2.0 theme steht im Footer.
|
|
|
|
|
Welche Version des Themes verwendest Du. Das ist wichtig zu wissen, weil sich diveres CSS Definitionen geändert haben.
|
|
|
13:17 20. March 2008
| SVWliker
Guest
| | | |
|
| |
|
|
Hallo,
erstmal ein riesen großes Lob! Das Brandfordmagazine-Theme ist wohl das beste Wordpress-Theme, was ich kenne.
Ich hab mich jetzt mal dran gemacht, es etwas anzupassen, stoße jedoch auf 3 Fragen:
1) Tab-Box
Wie kann ich für die einzelnen Reiter ein Hintergrundbild (ähnlich wie bei der Navigation oben) festlegen? Irgendwie erscheint bei mir nur die Hintergrundfarbe, jedoch nicht das Bild. Des Weiteren spiegelt er das Bild beim aktiven Reiter… o0
2) Subpages
Wie kann ich ein Hintergrundbild für die Subpages in der Navigationsleiste festlegen? Irgendwie erscheint bei mir immer das gleich Bild, wie ich es für die normale Leiste festgelegt habe…
3) Featured Page
Als ich das Seitentemplate “Featured Page” entdeckt habe, war ich echt erstaunt. Dieses Template ist echt genial und übersichtlich, dennoch beschäftigt mich eine Frage.
Kann man den rechten Seitenrand auch Seiten-spezifsich gestalten? Ich meine, jetzt ist es so gesteuert, dass ich den Inhalt, der auf der rechten Seite angezeigt wird, per Sidebar2-Widget-Funktion steuere. Dennoch möchte ich gerne für jede Seite am rechten Rand verschiedene Bilder etc. platzieren, die immer unterschiedlich sind. Kann man das irgendwie realisieren?
Danke für die Hilfe und viele Grüße
SVWliker
|
|