Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Marcel Pol

    (@mpol)

    For the shortcode, you need to use the echo, shortcodes only return html.

    This plugin is not made for multiple outputs, it might be that that is the reason it doesn’t work. I see the value for the cookie ends up as ‘NaN’, which means some calculation in JavaScript goes wrong.

    If you only have one output for the plugin in your page, does it work then?

    Thread Starter kboyettenshopp

    (@kboyettenshopp)

    We had the code on the top bar and the footer. I removed it from the top bar, but it is still not working.

    Plugin Author Marcel Pol

    (@mpol)

    Instead of your html code, could you put in this code instead?

    <?php
    if ( function_exists('zeno_font_resizer_place') ) {
        zeno_font_resizer_place( true );
    }
    ?>
    Thread Starter kboyettenshopp

    (@kboyettenshopp)

    Sorry for not getting back right away.

    I am using a text box in the Customize section of WordPress for the footer. I removed the code that is from the beginning of this and put in the code you requested above. This did not fix the issue. Now nothing shows in the footer for the font resizer.

    Just so you know, we have both the Zeno Font Resizer and the Zeno Font Resizer Shortcode plugins installed on our wordpress site.

    Plugin Author Marcel Pol

    (@mpol)

    This is PHP code, and I doubt that will be executed in that text box.
    I can imagine it doesn’t execute shortcodes as well.

    This PHP code is meant to go into a template. Is it possible for you to edit the footer.php template? It is often the best thing to create a Child Theme first.

    Thread Starter kboyettenshopp

    (@kboyettenshopp)

    I inserted it and it still doesn’t work. Keep in mind that I want to use the shortcode and not the widget.

    Plugin Author Marcel Pol

    (@mpol)

    You inserted what where? ??
    Please be clear in your reply. I now assume you inserted the shortcode in the Customizer text box.
    The PHP code is probably too much, which is no problem.

    In that text box, if you add another shortcode, do you see any result in the page? You could just copy over any shortcode that you use in your website, from a form or gallery.
    I do suspect shortcodes do not work in that text box. Please be aware that the text box is provided by the theme. Which theme do you use?

    Plugin Author Marcel Pol

    (@mpol)

    Can you send a copy of the theme zipfile to [email protected]? I can then take a look.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Resizer Not Working’ is closed to new replies.