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

Lightboxes breaking wp_head function #98

Open
alonsofedz opened this issue Jul 8, 2015 · 0 comments
Open

Lightboxes breaking wp_head function #98

alonsofedz opened this issue Jul 8, 2015 · 0 comments

Comments

@alonsofedz
Copy link

The code that generates the lightboxes is being loaded into the wp_head hook, but it stops it from processing correctly and may cause some Themes to break. A more graceful solution, that fixes the issue is loading them in the footer. The three files to be modified are:

game-on.php
128: add_action( 'wp_footer', 'go_stats_overlay' );

types/stores/includes/lightbox/frontend-lightbox.php
401: add_action( 'wp_footer', 'go_frontend_lightbox_html' );

types/types.php
1362: add_action( 'wp_footer', 'go_create_help_video_lb' );

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