CSS not printed when button is in footer (wp_footer)
-
Because MaxButtons hooks into
wp_footer
to print the button CSS, any button that is printed afterwp_footer
priority 10 runs is not styled.It would probably be best if the CSS rules are either printed inline whenever a button is printed for the first time on that page. Alternatively, the “print button” logic could check whether
did_action( 'wp_footer' )
is true, and if it is it should inline print the CSS.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘CSS not printed when button is in footer (wp_footer)’ is closed to new replies.