• Resolved samia123

    (@samia123)


    I am working on psd-html-wordpress. Now, when I am trying to activate my theme, I am getting this-

    Fatal error: Call to undefined function get_template_directory_url() in C:\wamp\www\fashion\wp-content\themes\fashiontemplate\index.php on line 7 Call Stack #TimeMemoryFunctionLocation 10.0004139488{main}( )..\index.php:0 20.0006141400require( ‘C:\wamp\www\fashion\wp-blog-header.php’ )..\index.php:17 30.301412933544require_once( ‘C:\wamp\www\fashion\wp-includes\template-loader.php’ )..\wp-blog-header.php:16 40.302312948984include( ‘C:\wamp\www\fashion\wp-content\themes\fashiontemplate\index.php’ )..\template-loader.php:75

    Could someone tell me what’s wrong here?

Viewing 5 replies - 1 through 5 (of 5 total)
  • what is a psd html wordpress? And are you developing your site on a local server or is it on a hosted server?

    Thread Starter samia123

    (@samia123)

    psd to html to wordpress is converting a psd file to html and then converting it to wordpress 🙂

    currently i am working on a local server.

    does your function say ‘URL’ or ‘URI’? on the
    get_template_directory_url...

    i believe it should be ‘URI’ lowercase of course.

    Thread Starter samia123

    (@samia123)

    it says uri

    oh. it looked like url in the first post, and i’m pretty sure it is supposed to be uri. That would have been my only guess for that issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘fatal error when i am trying to activate the theme’ is closed to new replies.