Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • sreagan

    (@sreagan)

    Hello,
    I’m struggling to get Technokinetics’ code working. I can’t post a link yet as the site is on a dev server. The code that I was using previously (with exclude_tree) prior to realizing it was only going to work for one post is/was:

    <li class=”widget widget_text”>
    <?php
    global $wp_query;
    $thePostID = $wp_query->post->ID;
    $children = wp_list_pages(‘exclude_tree=11&title_li=&child_of=’.$thePostID.’&echo=0&depth=1′);
    if ($children) { ?>

    <h3>More Information</h3>
    <ul id=”widgettime”><?php echo $children; ?>
    <?php }
    ?>

    Please show me how Technokinetics code fits into the above (I’ve modified Technokinetics code to include my posts here):

    <?php $parent_pages_to_exclude = array(4,5,7,9,11);
    foreach($parent_pages_to_exclude as $parent_page_to_exclude) {
    if ($page_exclusions) { $page_exclusions .= ‘,’ . $parent_page_to_exclude; }
    else { $page_exclusions = $parent_page_to_exclude; }
    $descendants = get_pages(‘child_of=’ . $parent_page_to_exclude);
    foreach($descendants as $descendant) {
    $page_exclusions .= ‘,’ . $descendant->ID;
    }
    }
    wp_list_pages(‘title_li=&sort_column=menu_order&exclude=’ . $page_exclusions); ?>

    ————-
    Thanks!

    Thread Starter sreagan

    (@sreagan)

    Thanks for the tip, looks like the “non-clickable” elements is an issue regardless of code vs. plugin iepngfix. You can’t have everything!

    Thread Starter sreagan

    (@sreagan)

    I got creative on it and didn’t need to use CCs. Ended up removing the header as well as the original/modified kubrickbgwide function that displayed the kubrickbgwide image from the top of the page (even on top of the background). To recreate the “kubrickbgwide effect” (if I can call it that), I set that image as a background for “narrowcolumn”, which I’m using for all the pages. This then required that I change the margins on the post text, comment box, and other things, but now it’s happy across all browsers. Well almost. This site uses a lot of transparent pngs and I’m noticed that while the “HITS- IE6 PNGFix” does make the pngs look transparent, ANY links/anchortext that sit on top of a png simply are not clickable. When I deactivate the plugin, the links work (at the expense of transparency.

    Thread Starter sreagan

    (@sreagan)

    Not sure if it was the best decision, but instead of diving into conditional comments, I’ve stripped out the header image which was floating on top of the background image (and needed to be lined up perfectly, which was part of the problem). As you can see, at this point, things are consistent across all browsers, however, I need to figure out how to position the top of the “bgwide.png” repeating image (transparent light blue) to start below the nav. All attempts to do this have simply moved the entire nav and sidebar down. Any other ideas on this approach? Thanks!

    Thread Starter sreagan

    (@sreagan)

    Thanks for the info, I’ll forge into conditional comments if that’s the only way to make this work. BTW, I’m using VMware for testing and do really like it.

    I’m experiencing the same issue on a new 2.7 install. I’m using a static page for my Reading>”Front Page” setting and I’ve verified that the page’s Title Tag DOES display when it’s NOT selected as the front page. And also verified that when I toggle back to it as the front page, the Title Tag disappears again.

Viewing 6 replies - 1 through 6 (of 6 total)