[resolved] How Would A Theme Break WP-dTree? (6 posts)

  1. johnywhy
    Posted 7 years ago #

    greets, and HAAALP!!

    dTree works fine in the admin preview, but displays nothing in my blog.

    see problem demo
    see sidebar

    must be a problem with my theme.

    How could a theme break dTree?

    You can see in my demo that no menu plugins are working quite right.


  2. johnywhy
    Posted 7 years ago #

    i'm not sure, but it seems that any script written to the sidebar by a plugin using "echo" statements does not get written to the sidebar.

    why would that be?

    note, these plugins work fine with other themes, so it's definitely the theme causing the problem.

  3. johnywhy
    Posted 7 years ago #

    raw script hand-written to the sidebar works, no problem

  4. ulfben
    Posted 7 years ago #

    You're not calling wp_head from your header.

    Now - since you're doing a commercial education site - it feels appropriate to ask you for a book for my time.

  5. johnywhy
    Posted 7 years ago #

    that's it! thanks much!

    incredibly, i actually found this in the wp theme docs, but i didn't know quite what to do with it.

    i would like to get you a book, but i'm a struggling startup (translation, 'broke').

    fortunately, the plugin developer gave me the solution as well, and he also provide the exact script i need, and step-by-step instructions.

    thanks again.

  6. johnywhy
    Posted 7 years ago #

    this theme was missing wp_head from between the HEAD tags.

    Adding <?php wp_head(); ?> before the <body> tag in the theme and plugins work correctly.

    here's the technical explanation:

Topic Closed

This topic has been closed to new replies.

About this Topic