WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. johnywhy
    Member
    Posted 5 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.

    http://wordpress.org/extend/plugins/wp-dtree-30/

  2. johnywhy
    Member
    Posted 5 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
    Member
    Posted 5 years ago #

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

  4. ulfben
    Member
    Posted 5 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
    Member
    Posted 5 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.
    http://pixopoint.com/forum/index.php?topic=656.new;topicseen

    thanks again.

  6. johnywhy
    Member
    Posted 5 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:
    http://codex.wordpress.org/Theme_Development#Plugin_API_Hooks

Topic Closed

This topic has been closed to new replies.

About this Topic