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

FAQ Folder and Files #8

Open
rcass opened this issue Jun 21, 2018 · 0 comments
Open

FAQ Folder and Files #8

rcass opened this issue Jun 21, 2018 · 0 comments

Comments

@rcass
Copy link

rcass commented Jun 21, 2018

In the root of your theme there is a faq folder with a js and php file.

Looking at the code, it seems like this was taken from somewhere else. If that is the case please at a reference to the website where you grabbed this in a comment.

Or if you did create this from scratch, what is reasoning for not having the js in the JS folder like all the other js files? Also why are you enqueueing jQuery again in the php file? (You should just have this in your functions.php)

protected static function enqueue_files() {
wp_enqueue_script('jquery');
}

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