hafman
Forum Replies Created
-
Forum: Plugins
In reply to: filtering child and grandchild pagesThanks, although i think it over complicates things a bit. I did just as you suggest in the end. Had to stand back a bit though! I’ll take your advice about the cache.
Forum: Fixing WordPress
In reply to: Custom Taxonomies Filter in manage postsThis one actually works and it isn’t pages long! However, if i modify the variables only slightly it doesn’t work, changing “book_cats” specifically stops any categories appearing in the list. So:
1. Is this compatible with WP 3.0.5?
2. How can i alter this to suit my own custom post/taxonomy type?
3. What does “book_cats” relate to?Thanks (if you reply that is…)
Forum: Alpha/Beta/RC
In reply to: Show Categories Filter on Custom Post Type ListI get a fatal error that points to the line:
get_term($request['your_custom_taxonomy'],'your_custom_taxonomy')->name;
Is there a typo there somewhere? It’s hard to tell!Forum: Plugins
In reply to: output the post id of wp_nav_menu itemsoops i had it in both!
So, how do you call this?
I an somewhat dumb, sorry..
Forum: Plugins
In reply to: output the post id of wp_nav_menu itemsThat looks like just what i want but i paste in the code and get WSOD in functions.php and a page template.
I’m looking for a way to pass the menu order over to an instance of wp-dTree so a list of IDs might do it.
Forum: Hacks
In reply to: echo wp_nav_menu orderhow about answering some questions instead of moderating me out?
Forum: Plugins
In reply to: filtering child and grandchild pagesmy code, lost….
if(function_exists('wpdt_list_pages')){ if($post->post_parent) { print ('second level'); $children = wpdt_list_pages(array( 'title_li' => '', 'child_of' => $post->post_parent, 'echo' => 0, 'oclinks' => 0, 'sort_column' => 'menu_order', 'showselection' => 1, 'opentoselection' => 1, 'opento' => $post->ID, 'uselines' => 0, 'cache' => 0 )); } else if ($post->post_parent->post_parent) { print ('third level'); $children = wpdt_list_pages(array( 'title_li' => '', 'child_of' => $post->post_parent, 'echo' => 0, 'oclinks' => 0, 'sort_column' => 'menu_order', 'showselection' => 1, 'opentoselection' => 1, 'opento' => $post->ID, 'uselines' => 0, 'cache' => 0 )); } else { print ('top level'); $children = wpdt_list_pages(array( 'title_li' => '', 'parent' => $post->post_parent, 'echo' => 0, 'oclinks' => 0, 'sort_column' => 'menu_order', 'showselection' => 1, 'opentoselection' => 1, 'opento' => $post->ID, 'uselines' => 0, 'exclude' => '171', 'cache' => 0 )); } if ($children) { echo $children; } }Forum: Plugins
In reply to: [WP-dTree] [Plugin: WP-dTree] Showselection listening for current page id?Actually just sorted it with ‘opento’ => $post->ID (tree is hard coded in the template)
I think i need to spend a bit longer getting used to this plugin!
Thanks and will buy a book soon
– Nick
Forum: Plugins
In reply to: [Plugin: WP-dTree] Text Wraphello Joyce,
The css rules i used are:.node { display: inline-block; vertical-align: top; max-width: 250px; min-height: 20px; padding-bottom: 10px; /* For IE 7 */ *zoom: 1; *display: inline; }There is supposed to be a hack for IE 7 but i’m not sure it works. I don’t have a copy of that browser available. I left in just in case. Hope that helps.
– Nick
Forum: Fixing WordPress
In reply to: Pages of posts cause confusion?thanks esmi that did it. placed the reset code between the last loop and the sidebar.
;-pForum: Plugins
In reply to: [Plugin: WP-dTree] Text Wrapdisplay: inline-block; fixed it for me
see this page
http://robertnyman.com/2010/02/24/css-display-inline-block-why-it-rocks-and-why-it-sucks/
Not so compliant in ancient versions of IE but what is?
Forum: Plugins
In reply to: [Plugin: WP-dTree] Text WrapI have the same problem, longer page titles are wrapping back across the tree, which looks a bit like this:
+— the link thats too long
and has to wrapWhich isn’t too tidy to my eyes. Tried the css removal to no avail. Tried the kitchen sink too….!?!?!?!?!? Help!
Forum: Fixing WordPress
In reply to: Slug bug in WordPress 3?Trac
Ticket #14951 (new defect (bug))
Forum: Plugins
In reply to: make numeric list of postsI managed with wp-page-numbers in the end thanks. Works with WordPress 3.0 too
Is page numbering a function of WordPress? Not seen it very much but it’s there in the admin
Just spent another 5 hours of trial and error nightmare to get this going, still fails to make sense.
$galleryID does nothing outside of the plugin?