absowoot / bricks-typekit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

***This should no longer be used/needed***

Bricks 1.7.1 has introduced Adobe Typekit support and this extension should no longer been needed! I will keep the instructions available for reference but please note that this will no longer been maintained.

Instructions

  1. Upload typekit.php to your child theme.

  2. Update your functions.php to include the file, example:

     include get_stylesheet_directory() .'/typekit.php';
    
  3. While editing in Bricks, go to Theme Settings and click on the Typography section. You should see an input for Typekit Project ID

  4. Paste your Typekit Project ID (found in your Typekit account)

  5. Click the Sync Typekit Now button

  6. Your Typekit fonts will be displayed in the Font family dropdown under Standard fonts.

Notes/limitations

  • Typekit updates are not automatically synced. If you update your Typekit project, you will need to click the Sync Typekit Now button to get the latest updates
  • Due to current limitation to how data is saved by Bricks, each Typekit project will create a new row in the options table. Soon this will be integrated into the 'bricks_theme_styles option
  • Saved fonts in your Wordpress database will not delete when you delete the theme. This will be added soon.
  • If you switch Theme Styles, you will need to refresh your browser to see the correct Typekit fonts.

About


Languages

Language:PHP 100.0%