WordPress.org

Ready to get started?Download WordPress

Forums

Customizr
No sidebar.php file (4 posts)

  1. Brent Christensen
    Member
    Posted 4 months ago #

    the plugin I work on uses some custom templates for it's custom post types, and those templates utilize get_sidebar(), which throws the following error with your theme:

    Notice: Theme without sidebar.php is deprecated since version 3.0 with no alternative available. Please include a sidebar.php template in your theme. in \wp-includes\functions.php on line 2968

    thought you might like to know.

  2. nikeo
    Member
    Theme Author

    Posted 4 months ago #

    Hi Brent, thanks for letting me know this.
    What is the plugin name please?

  3. Brent Christensen
    Member
    Posted 4 months ago #

    Thanks for getting back to me.
    I'm the lead developer for Event Espresso (www.eventespresso.com) and was just trying out a bunch of themes with an upcoming version of our core plugin that isn't publicly available yet.

    there's a hook in get_sidebar() (/wp-includes/general-template.php line 85)

    do_action( 'get_sidebar', $name );

    that would have allowed an easy fix if only your sidebar file had been named:

    sidebar-class-content.php instead of class-content-sidebar.php

    So i don't know off the top of my head what another easy solution would be.

    This doesn't really affect what I'm doing at all, I'm just trying to help you out. I like this theme btw.

  4. nikeo
    Member
    Theme Author

    Posted 4 months ago #

    Ok. Thanks for the feedback

Reply

You must log in to post.

About this Theme

About this Topic