Set “Child of” to active page – sets back itself
-
Hi Ulf, I installed your great plugin a few days ago onto my new homepage bechele.de – really helpful – nice and easy to handle !
The Version is Version 4.4.5
When I went into the widget setup of the widget (WP-dTreePages) I added to the primary sidebar and I unchecked >Set “Child of” to active page< it reacted, but after saving, the check hook there came back, means my dtree often was not fully visible, only the subpages. Other settings I could save. I noticed that “Show the parents of selected children too” also does not save.So I wet in your code and changed Line 24 in wp-dtree-pge-widget.php
from:
24: $settings[‘child_of_current’] = isset($new_settings[‘child_of_current’]) ? 1 : 0;
to
24: $settings[‘child_of_current’] = 0;This switched on to always show the complete tree.
I am fully aware, that this is a quick and dirty hack, but at least is does now what I need.
Not sure if this is a general problem or if it is only applying to my site.
Perhaps you want to have a look into it.
Kind regards,
Rolf
- The topic ‘Set “Child of” to active page – sets back itself’ is closed to new replies.