Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T_CONSTANT_ENCAPSED_STRING #4

Closed
Tragio opened this issue Jun 1, 2019 · 0 comments
Closed

T_CONSTANT_ENCAPSED_STRING #4

Tragio opened this issue Jun 1, 2019 · 0 comments

Comments

@Tragio
Copy link

Tragio commented Jun 1, 2019

Hello,

I'm using several snippets in all my (functions.php) websites and they have always worked. I recently started working in Hello Theme but I'm having an error adding a simple snippet to functions.php.

[01-Jun-2019 19:40:23 UTC] PHP Parse error: syntax error, unexpected '' );' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /path/wp-content/themes/door/functions.php on line 6

`<?php

function custom_login_stylesheet() {
wp_enqueue_style( 'custom-login', get_stylesheet_directory_uri() . ‘/admin.css' );
}
add_action( 'login_enqueue_scripts', 'custom_login_stylesheet' );

function hello_elementor_child_enqueue_scripts() {
wp_enqueue_style(
'hello-elementor-child',
get_stylesheet_directory_uri() . '/style.css',
[
'hello-elementor'
],
'1.0.0'
);
}
add_action( 'wp_enqueue_scripts', 'hello_elementor_child_enqueue_scripts' );
`

Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant