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

Create Header Tag Setting #74

Closed
ithacaindy opened this issue Mar 17, 2013 · 1 comment
Closed

Create Header Tag Setting #74

ithacaindy opened this issue Mar 17, 2013 · 1 comment

Comments

@ithacaindy
Copy link

Create a setting in options so that users can enter ad, analytics tags in head rather than directly editing the header.php file of child theme.

@aschweigert
Copy link

The best way to handle this would be to add a function to your child theme's functions.php file and then use the wp_head hook to add them (see: http://codex.wordpress.org/Plugin_API/Action_Reference/wp_head). We also already support Google Analytics (you can add your GA ID in the appearance > theme options menu) and we're working on ad code support now (for at least Google DFP). It's unlikely that we'll add a completely open field for adding any code to the header for security reasons.

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

2 participants