40 posts
  • Europe
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 10 and 49 users
  • Exclusive Author
  • Has been a member for 3-4 years
indiapart says

Hey guys,

some time ago, when Google used plain html output for their Webfonts directory, I used to crawl all the webfonts with regex and give users ability to select automatically all the recent Webfonts without the need of updating the theme files themselfes. Now, when Google changed to AJAX output, I cannot do this anymore. I wonder, if someone else ran into this and maybe got a solution, which can easily be implemented in Themes? I’m thinking about creating a manually updated text file on my own server and read this one from the themes. But there are two negative aspects about this:

1. The more themes I sell, the more my server is going to encounter performance issues (this hypothetical, not practical. Still…). 2. I would have to update the text file myself handy when Google releases new fonts. Pretty lame, too…

Any thoughts about this? As I’m probably going to use this solution, but I think I will integrate only some nice fonts and do not update…

Best regards, indiapart.

2019 posts
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
  • Exclusive Author
  • United States
Landonw says

1) If you’re selling THAT MUCH , it’s no big deal for you to buy a better server. 2) Why don’t you just have an “UPDATE FONTS ” button in the admin panel?

725 posts WordPress Ninja
  • Envato Studio (Microlancer) Beta Tester
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Most Wanted Bounty Winner
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Bought between 10 and 49 items
  • Exclusive Author
+3 more
TylerQuinn says

Seems to be a common request: http://themeforest.net/forums/thread/google-font/47669

I still have a pretty good system for doing this to update my plugin every couple weeks.

1028 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Author had a File in an Envato Bundle
  • Bought between 50 and 99 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 500 and 999 users
+1 more
ThemeBlvd says

I did a lot of research on this before, and ended up just making it so I link the user to the Google font directory. Then they browse, find a font, copy the name of the font into their WP admin panel option, and there’s a little preview button next to the option they can click and have a little ajax call to the font directory to render a preview so they can verify they’ve entered a valid font name.

This is not as ideal as obviously a drop down of all the fonts they can choose, but I think it’s going to save a lot of hassle. This is a new feature I’ve implemented but haven’t posted with any themes yet, so we’ll have to see how it works out. Just thought I’d share with you.

271 posts
  • Exclusive Author
  • Has been a member for 3-4 years
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
Anjum says
ThemeBlvd said
I did a lot of research on this before, and ended up just making it so I link the user to the Google font directory. Then they browse, find a font, copy the name of the font into their WP admin panel option, and there’s a little preview button next to the option they can click and have a little ajax call to the font directory to render a preview so they can verify they’ve entered a valid font name. This is not as ideal as obviously a drop down of all the fonts they can choose, but I think it’s going to save a lot of hassle. This is a new feature I’ve implemented but haven’t posted with any themes yet, so we’ll have to see how it works out. Just thought I’d share with you.

Really cool idea

40 posts
  • Europe
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 10 and 49 users
  • Exclusive Author
  • Has been a member for 3-4 years
indiapart says
LandonWilson said
1) If you’re selling THAT MUCH , it’s no big deal for you to buy a better server. 2) Why don’t you just have an “UPDATE FONTS ” button in the admin panel?

Hi, You didn’t understand anything.

Anjum said
ThemeBlvd said
I did a lot of research on this before, and ended up just making it so I link the user to the Google font directory. Then they browse, find a font, copy the name of the font into their WP admin panel option, and there’s a little preview button next to the option they can click and have a little ajax call to the font directory to render a preview so they can verify they’ve entered a valid font name. This is not as ideal as obviously a drop down of all the fonts they can choose, but I think it’s going to save a lot of hassle. This is a new feature I’ve implemented but haven’t posted with any themes yet, so we’ll have to see how it works out. Just thought I’d share with you.
Really cool idea

+1. Am I allowed to adapt this idea and try out? ;)

Best regards.

1799 posts
  • Has been a member for 5-6 years
  • Germany
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 5 000 and 10 000 dollars
  • Envato Studio (Microlancer) Beta Tester
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
BroOf says

Here is a list of the Google Fonts:

https://googlefontdirectory.googlecode.com/hg/
2019 posts
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
  • Exclusive Author
  • United States
Landonw says
indiapart said
LandonWilson said
1) If you’re selling THAT MUCH , it’s no big deal for you to buy a better server. 2) Why don’t you just have an “UPDATE FONTS ” button in the admin panel?
Hi, You didn’t understand anything.

Yes I did. You were complaining about the mass server load, so all you need to do is update a file with the fonts and when they click update fonts it will download said text file to their server.

Alternatively, wp_cron.

40 posts
  • Europe
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 10 and 49 users
  • Exclusive Author
  • Has been a member for 3-4 years
indiapart says
LandonWilson said
indiapart said
LandonWilson said
1) If you’re selling THAT MUCH , it’s no big deal for you to buy a better server. 2) Why don’t you just have an “UPDATE FONTS ” button in the admin panel?
Hi, You didn’t understand anything.

Yes I did. You were complaining about the mass server load, so all you need to do is update a file with the fonts and when they click update fonts it will download said text file to their server.

Alternatively, wp_cron.

Ah, okay, I see. Then, Your solution about the update button is still about the first point – I thought You meant You (the buyer) press “Update Fonts” and they magically appear, as You posted this for the second point. Also, regarding point no. 1 I explicitly said “hypothetical, not practical”. So this was not to tell everyone how “MUCH” I sell but it was a thought to prevent future issues, and not just the ones right now.

BroOf said
Here is a list of the Google Fonts: https://googlefontdirectory.googlecode.com/hg/

THIS – IS – GREAT !! Why just didn’t tell me anyone about this? If this stays forever, I’m absolutely happy =) Thx ;)

Best regards, indiapart.

1799 posts
  • Has been a member for 5-6 years
  • Germany
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 5 000 and 10 000 dollars
  • Envato Studio (Microlancer) Beta Tester
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
BroOf says

No problem ;)

by
by
by
by
by
by