• ozbutcher

    (@ozbutcher)


    I’m using a free theme from:
    http://www.askgraphics.com/freetemplates/dark-classic-theme/
    I’ve tried to contact the theme author without much success.

    My Website: http://www.swisshut.com/manners

    I’ve believe my problem has something to do with wp_list_pages. I played around with it and managed to remove all menu links except for Albums which is what I want. But there is one bullet showing in Mozilla and in IE the menu is screwed (Albums link missing, others displaced.)

    I posted about it before and didn’t get anywhere so if it helps I’m willing to offer $10 via paypal to anyone who can help me. I know its not much, it’s a blog I’m setting up for a friend of mine.

    If you are willing to help me please let me know and perhaps I can give you FTP access to that site if thats easiest.

    Cheers, Dieter.

Viewing 9 replies - 1 through 9 (of 9 total)
  • whooami

    (@whooami)

    youve swapped a few things around but I see 2 things going on.

    First this:

    <li class="pagenav"><h1></h1>

    thats in your header.php, and thats the cause of the bullet. Note that there is no preceding ul or ol tag for that either

    you also dont close that properly with a \ul or \ol,before closing that div and opening the next one:

    </div>
        <div id="menu_search">
    Thread Starter ozbutcher

    (@ozbutcher)

    Thanks for your reply whooami.

    I’ve looked through the header.php and can’t find the code “<li class=”pagenav”><h1></h1>” anywhere.

    The author of this theme had created a different wp_list_pages function called wp_list_pages2 but I removed that and got a little close to only displaying the first level of perm links instead every one.

    Would you have time to look at my theme and see if you know where its coming from? Just in case I have zipped up the theme just as it appears on the website. many thanks! 🙂

    http://www.swisshut.com/manners/dark_classic.zip

    whooami

    (@whooami)

    sure 🙂 Im at work, and having coffee and breakfast so give me a bit..

    whooami

    (@whooami)

    I dont see that either, and I cant put that theme up on my sandbox right now either .. I’ll have to take a look after I get home if no-one helps you by then.

    Thread Starter ozbutcher

    (@ozbutcher)

    thanks whooami, no rush 🙂

    edit: ah crap I see the link isn’t working right, I think there some stuff that got added in front of my link. try this:

    http://www.swisshut.com/manners/dark_classic.zip

    Thread Starter ozbutcher

    (@ozbutcher)

    *bump*

    Can someone help me please? I’m really stuck here. At current the site doesn’t work well in IE. 🙁

    try add this code to your style.css to removes your “one bullet problem” :
    .pagenav{list-style-type:none;}

    for “IE problem” you need to change some codes in style.css and header.php
    this works for me… 🙂

    the code can see below…

    sorry not smart enough 🙂

    FOR IE PROBLEM:
    In your style.css change this code:
    #menu_items div
    to
    #menu_items li

    THEN
    In your header.php change this code:

    <div id="menu">
    	<div id="menu_items">
        	<div><a href="<?php echo get_option('home'); ?>/">Home</a></div><?php wp_list_pages('title_li=<h1>' . '</h1>&sort_column=ID&depth=1'); ?>
        </div>

    to

    <div id="menu">
    	<div id="menu_items">
    	<ul>
        	<li><a href="<?php echo get_option('home'); ?>/">Home</a></li>
    		<?php wp_list_pages('title_li='); ?>
    	</ul>
    
        </div>

    enjoy… 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Problem with wp_list_pages, $10 if you can help me’ is closed to new replies.