Support » Theme: Displace » functions.php – no closing tag

  • functions.php does not have a php close tag ?>

    I received a 404 warning about a resource not being found. It was the result of:
    wp_enqueue_style( 'roboto-slab', '://,700,300&subset=latin,cyrillic', array(), null );
    “/…etc” was being appended to my domain name, so it was looking for “…etc” Adding the php close tag to the end of the document resolved it.

Viewing 1 replies (of 1 total)
  • Theme Author ak


    I wouldn’t really like to add a closing php tag, you can google the reasons. It’s possible that theme reviewers wouldn’t allow me, too.

    Maybe changing ‘://fonts’ to ‘//fonts’ would also be a fix? I’d appreciate if you tried that, and shared the results.

Viewing 1 replies (of 1 total)
  • The topic ‘functions.php – no closing tag’ is closed to new replies.