andyk
Forum Replies Created
-
Forum: Themes and Templates
In reply to: wp_list_pages issueYay! 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)
Forum: Themes and Templates
In reply to: wp_list_pages issueHmmm 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 supportYeah! 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.orgYou have good design skills but you have a lot to learn about usability.
To summerise everything above:
+ Make the text bigger
+ Make the design widerForum: Your WordPress
In reply to: I want the old post editor back! (a minor problem, really)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.
Forum: Fixing WordPress
In reply to: Importing Entries FROM Pmachine TO WordPressI 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.
Forum: Fixing WordPress
In reply to: Importing Entries FROM Pmachine TO WordPressI’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…