WP-dtree is only outputting the code behind the menu
-
I was happy to find the WP-dtree plugin. It is exactly what I’ve been looking for. But I am still not getting it to work. Instead of showing any menus, it is only outputting:
if(document.getElementById && document.getElementById(‘oclinks_pge1’)){document.getElementById(‘oclinks_pge1’).style.display = ‘block’;}
var pge1 = new wpdTree(‘pge1’, ‘https://localhost/testsite/’,’0′);
pge1.config.useLines=1;
pge1.config.useIcons=1;
pge1.config.closeSameLevel=1;
pge1.config.folderLinks=1;
pge1.config.useSelection=1;
pge1.a(0,’root’,”,”,”,”,”);
pge1.a(24,0,’Om testsite’,”,’om-testsite’,”,”);
pge1.a(48,45,’Bloggen’,”,’om-testsite/sociala-medier/bloggen’,”,”);
pge1.a(38,36,’Kontakt’,”,’om-testsite/praktisk-information/kontakt’,”,”);etc…
I’ve mainly been trying out the “pages”-widget, but I get the same results with the other ones.
I also tried this on different testsites, different databases, and with a custom blank theme, and with the WordPress twentyten theme – same results.
Am I missing something in the settings…? Or what can I do about this?
- The topic ‘WP-dtree is only outputting the code behind the menu’ is closed to new replies.