Can't seem to turn off rendering of the font size widget
-
I can place the font-size adjuster where I like in the body or header/footer using <?php wp_fontsize::html(); ?>, but no matter what disabling settings I put in wp-config.php, the font-size adjuster shows up – so I get a duplicate font-size adjuster on my pages that I don’t want.
It appears to be called with the wp_footer function – but I can’t seem to disable it. If I include the wp_footer function (in footer.php) I get the duplicate.
So obviously, I could just do without wp_footer.. but I need it for other things.
Anywhere I can knock this out so that I can just have one font-size adjuster showing up where I want?
It’s as if the plugin doesn’t honour my settings in wp-config.
So to sum up, in my wp-config.php file, I have:
define(‘WP_FONTSIZE_MAX’, 7);
define(‘WP_FONTSIZE_DEFAULT’, 3);
define(‘WP_FONTSIZE_MIN’, 1);
define(‘WP_FONTSIZE_CSS’, false);
define(‘WP_FONTSIZE_HTML’, false);In my header.php in my theme, I have where I want:
<?php wp_fontsize::html(); ?>
and it renders… but I still get a copy of the font-size adjuster in the “default” position.
I’m using my own custom theme. I’ve tried:
— switching back to the 2013 theme and back, but I still get this problem.
— deactivating and reactivating the plugin, but I still get this problem.
— removing and replacing the extra config settings in wp-config.php, but I still get this problem.Thanks in advance for looking into this!
- The topic ‘Can't seem to turn off rendering of the font size widget’ is closed to new replies.