WordPress.org

Ready to get started?Download WordPress

Forums

current_theme_supports function (3 posts)

  1. efib
    Member
    Posted 3 years ago #

    I'm trying to install a new theme but I'm getting the following error:
    Fatal error: Call to undefined function current_theme_supports() in /hsphere/local/home/m-d-agencycom/m-d-agency.com/wordpress/wp-content/themes/news/library/classes/hybrid.php on line 222

    I don't understand what is the problem and how to fix it.

    The line in that file is:
    if ( current_theme_supports( 'hybrid-core-seo' ) ) {

    Please assist.

    Efrat

  2. westondeboer
    Member
    Posted 3 years ago #

    what version of wordpress are you using?

    This function was first introduced in WordPress version 2.9.0

    see:
    http://codex.wordpress.org/Function_Reference/current_theme_supports

  3. ClaytonJames
    Member
    Posted 3 years ago #

    Have you been able to view your site since the 19th? Your root directory is exposed to browsing. Your wordpress directory is also exposed because index.php is missing. Those files all seem to have been created on the 19th. Incomplete upload or upgrade attempt maybe?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.