Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

FlowType.js

Has anyone tried to use Flow Type with a custom wordpress theme? I've followed the directions to the "t" and then tried everything else. I'm exhausted. There is a surprising very little support or troubleshooting documentation out there for this very useful plugin.

Anyone know anything there?

2 Answers

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

I have not, but what's the problem you're having?

Jake White
Jake White
41,730 Points

Did you ever get this resolved? Im having the same issue on the theme Im developing. I've enqueued the flowtype.js file correctly in the functions.php file and before the closing body tag, I added the following

jQuery(document).ready(function($){
          $('.quoteImage').flowtype({
             minimum   : 100,
             maximum   : 5000,
             minFont   : 8,
             maxFont   : 95,
             fontRatio : 20
        }
      );
        };

I only need it for one spot on the theme to help with resizing. It works perfectly in just a plain html based prototype, but now I can't get it to work in my theme