I tried to use your plugin, but after a lot of time spent I do not know as to enable pluging to work. I hope you agree when I say that WordPress is not just for professionals but also for a large number of us who are at the beginning, so please if you can provide more specific guidance, what and where to insert the codes that pluging works. Thank in advance.
PS. I think this is a great pluging.
On line 19 where you set the constant MIN_SIZE, you have it set to WP_FONTSIZE_DEFAULT instead of WP_FONTSIZE_MIN.
I had to go in the code in my version to correct it in order to show any font sizes smaller than the default.
Just FYI.
]]>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!
]]>I am creating my site with the Local Business template free version. I downloaded the plug in to change the font size. What do I need to do for it to allow me to change the font size? Here is the link to the website: back2basicsspanish.com
I downloaded and activated the plug in, but do not know how to make it work.
Thank you in advance for your help.
Hello.
I’d love to offer my low-vision users the ability to switch to a higher color contrast version of a website. Any chance you’d consider adding this feature to this plugin?
Thanks.
]]>how can this be removed
]]>1 hi just wondering where do i add the css i tried adding it to me styles.css in my subtheme but nothig showed up
2 where does it show on screen to adjust the font size
documentation needs to be more clear for us less technical minded
Thanks
David
Hi Bob,
thanks a lot for your great plugin! How can I change the position of it.
I know with css position (right, left, top etc.) but that is not consitent or stable ;-(.
I wanna put it into the header <div> or in the top of the page <div>. That would be awesome to give a hint or update it so more people can use it easily.
I tried to change it from the ‘wp_footer’ action to the header, no success.
Thanks a lot for any help!!!
Greetz to ya all out there: coders, designers, photographs etc. the world is pretty nicer with our work…
skyflyofsw
]]>Witch PHP code is needed to set the Font Size Switch on a different location then the top?
Hope to here from you soon.
]]>hey there, sorry to sound dumb but I have copied the CCS exactly as shown into my main style sheet.
Plugin dont seem to work for me. Am I doing it wrong? I’m a newbie!!
]]>See the following error I get when trying to activate this plugin in WordPress 3.4.2:
]]>Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/opusdev/word.opusbywire.com/wp-content/plugins/wp-fontsize/wp_fontsize.php on line 18