Better hierarchical menu in wordpress – wp dtree customization – no images

Better hierarchical menu in wordpress – wp dtree customization – no images

If you would like to have a better menu, with hierarchy, install the wp dtree plugin. Put it in your sidebar as a widget. He will configure you categories and posts like a windows explorer view. 1- If you don’t want the images to display -Remove all the images but one in wp-content\plugins\wp-dtree-30\dtree-img – make the one you left transparant -set every image in the javascript (wp-dtree.js) to the one you made transparant, this way you will have a nice and clean menu


this.icon ={

root                 : WPdTreeSettings.imgurl + 'dtree-img/empty.gif',

folder              : WPdTreeSettings.imgurl + 'dtree-img/folder.gif',

folderOpen     : WPdTreeSettings.imgurl + 'dtree-img/folderopen.gif',

node                : WPdTreeSettings.imgurl + 'dtree-img/page.gif',

empty              : WPdTreeSettings.imgurl + 'dtree-img/empty.gif',

line                  : WPdTreeSettings.imgurl + 'dtree-img/line.gif',

join                  : WPdTreeSettings.imgurl + 'dtree-img/join.gif',

joinBottom     : WPdTreeSettings.imgurl + 'dtree-img/joinbottom.gif',

plus                 : WPdTreeSettings.imgurl + 'dtree-img/plus.gif',

plusBottom     : WPdTreeSettings.imgurl + 'dtree-img/plusbottom.gif',

minus              : WPdTreeSettings.imgurl + 'dtree-img/minus.gif',

minusBottom  : WPdTreeSettings.imgurl + 'dtree-img/minusbottom.gif',

nlPlus              : WPdTreeSettings.imgurl + 'dtree-img/nolines_plus.gif',

nlMinus                      : WPdTreeSettings.imgurl + 'dtree-img/nolines_minus.gif'

};

2- to remove the category titel above the menu, remove this line in wp-dtree-widgets.php:

$title = apply_filters('widget_title', esc_html__($settings['title'], 'wpdtree'));

3- Set the color of the menu, hover and active link in the style.css theme

a:link {
color: #0066cc; -> #othercolor}

a:hover, vistited and activ

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
About Benwake

I'm Ben, working as a System Engineer for a big company. Webdesign is one of my biggest passions, along with a lot of other hobby's. I love to share my interests and I hope you'll enjoy this website. More Posts

Leave a comment

Your email address will not be published.

*