Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter andyk

    (@andyk)

    Yay! I sussed it… just had to be a bit creative:

    <?php
    if($post->page_type != 'post') {
    if(wp_list_pages("child_of=".$post->ID."&echo=0")) { ?>
    <ul id="submenu">
    <?php wp_list_pages("title_li=&child_of=".$post->ID."&sort_column=menu_order&depth=2");?>
    </ul>
    <?php } elseif(wp_list_pages("child_of=".$post->post_parent."&echo=0") && $post->post_parent != 0) { ?>
    <ul id="submenu">
    <?php wp_list_pages("title_li=&child_of=".$post->post_parent."&sort_column=menu_order&depth=2"); ?>
    </ul>
    <?php }
    }
    ?>

    You can see it in action at: https://www.bomb.org.uk (see the test page)

    Thread Starter andyk

    (@andyk)

    Hmmm what is $sub_pages supposed to contain? I can’t seem to get it to print anything out…

    Thanks for the response tho!

    Forum: Plugins
    In reply to: Safari 1.3 wysiwyg support

    Yeah! It’s really quite annoying that I have to open Firefox to use the rich text features of word press. Please bare this in mind for the next revision.

    Safari rocks! :o)

    Forum: Your WordPress
    In reply to: aciid.org
    andyk

    (@andyk)

    You have good design skills but you have a lot to learn about usability.

    To summerise everything above:

    + Make the text bigger
    + Make the design wider

    andyk

    (@andyk)

    I have a solution. Buy a Mac and Use Safari ??

    When I log in on my Mac at home I can’t see any of the fancy stuff. I don’t really use it anyway but it’s good for the bods that don’t know much html n stuff.

    I agree that there should be a simple way to disable all the fancy crap.

    andyk

    (@andyk)

    I found a way to import all of the old entries, but it doesn’t bring the comments (which for me wasn’t neccessary).

    All you have to do is setup an RSS feed in the Pmachine RSS factory to export all of your entries. Unfortunatly it has a 2 digit limit so if you have more than 99 posts you have to go into the MySQL table manually (called rss_factory if my memory serves me right) and manually change the number to more than the number of posts you had in your old site (5000 did the job for me). Then create a new dummy entry and the RSS will be generated. Save the RSS to your computer.

    Once you’ve done that just use the import RSS feature in wordpress and the rest is easy peasy. I had a bit of a problem with it timing out due to sandboxing on my hosts server, but if that happens just remove any entries in the RSS file that have already been imported and start again.

    One last thing… the importer puts all of the entries into your ‘default’ category so you might have to manually update the categories on each post.

    andyk

    (@andyk)

    I’ll take a looksie and see what I can do. I’m a bit of a php hacker so I might be able to knock something up and I have my own Pmachine blog to get moved at some point in the near future.

    Can’t promise anything tho…

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