WP-dTree Plugin WordPress, Download, Install

WP-dTree Plugin WordPress

Dynamic tree-widgets to replace the standard archives, categories, pages and link lists. Support custom Menus too.

WP-dTree Download Now

Download Now

(If the link does not work)↓

Originals Link WordPress.org


How to Install WP-dTree Plugin, Manually

  1. If upgrading: disable the old version first!
  2. Transfer the ‘wp-dtree-30’ folder to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go to the ‘WP-dTree’ under ‘Settings’ to adjust your preferences
  5. Go to ‘Presentation’ -> ‘Widgets’ and drag-n-drop the widgets to the relevant section of your sidebar(s)
  6. Configure the active Widget to your liking
  7. Styling is done through CSS

For developers

WP-dTree exposes the following template tag functions:

  • wpdt_list_archives();
  • wpdt_list_categories();
  • wpdt_list_taxonomies(); //needs testing.
  • wpdt_list_menu(); //needs testing
  • wpdt_list_pages();
  • wpdt_list_links();
  • wpdt_list_bookmarks(); //alias for wpdt_list_links

They function a lot like WordPress own wp_list_* functions:

  • They take an (optional) query-string or associative array with arguments
  • They print by default, but if passed ‘echo=0’ they return the string of markup
  • Most of them use the WordPress namesake for generating noscript-content

Here’s an example:

<div class="dtree">         <?php             if(function_exists('wpdt_list_archives')){                             wpdt_list_archives('type=yearly&useicons=1');             }         ?>     </div>

I’ve tried to keep the same argument-lists as the WordPress “equivalents” but there are some discrepancies: style- and markup related arguments are not applicable to WP-dTree (but gets passed through for the noscript content).
There is also some inconsistency within WordPress, like some methods takes sortby while others takes sort_column. I’ve tried for WP-dTree to accept both but I’m sure I’ve missed a bunch of these cases.

So, to find out what arguments are definetly available grab the default $args:

  • wpdt_get_archives_defaults();
  • wpdt_get_categories_defaults();
  • wpdt_get_taxonomies_defaults()
  • wpdt_get_pages_defaults();
  • wpdt_get_links_defaults();
  • wpdt_get_menu_defaults();

They all return associative arrays whith all arguments defaulted.



WP-dTree Plugin WordPress

WP-dTree Plugin WordPress

Plugin Not Working?

If any errors or problems with the plug-in then write comments.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

Leave a Reply

Your email address will not be published. Required fields are marked *