Title: Using WP-dTree without widgets
Last modified: August 19, 2016

---

# Using WP-dTree without widgets

 *  [afonsoloureiro](https://wordpress.org/support/users/afonsoloureiro/)
 * (@afonsoloureiro)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/using-wp-dtree-without-widgets/)
 * I was using the previous version but, since I work with multiple languages, using
   widgets in the sidebar was more dificult, so I had the following code
 *  if (function_exists(‘wp_dtree_get_categories’)){
    wp_dtree_get_categories();
   else…
 * With the new version, the plugin is no longer called. Can I use it without having
   to use widgets?

Viewing 1 replies (of 1 total)

 *  Plugin Author [ulfben](https://wordpress.org/support/users/ulfben/)
 * (@ulfben)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/using-wp-dtree-without-widgets/#post-1732091)
 * Yeah – sorry for the inconvenience; I changed all functions names to establish
   a somewhat more thought through interface for the plugin. WP-dTree 4.0 exposes
   the following new [template tag functions](http://codex.wordpress.org/Template_Tags):
 * `wpdt_list_archives();`
    `wpdt_list_categories();` `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
 * [More info in the docs.](http://wordpress.org/extend/plugins/wp-dtree-30/other_notes/)
 * In summary: the function names changed but everything became infinitely much 
   more useful: you can have multiple trees and individually configure them directly
   through those getters. Again, apologizes for breaking backwards compatibility.

Viewing 1 replies (of 1 total)

The topic ‘Using WP-dTree without widgets’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-dtree-30_fcfcf8.svg)
 * [WP-dTree](https://wordpress.org/plugins/wp-dtree-30/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-dtree-30/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-dtree-30/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-dtree-30/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-dtree-30/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-dtree-30/reviews/)

## Tags

 * [WP-dTree 3.0](https://wordpress.org/support/topic-tag/wp-dtree-3-0/)

 * 1 reply
 * 2 participants
 * Last reply from: [ulfben](https://wordpress.org/support/users/ulfben/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/using-wp-dtree-without-widgets/#post-1732091)
 * Status: not resolved