Extensions | Documentation about supported framework extensions and their features https://themezly.com Home of Premium WordPress Themes and Plugins Sat, 08 Dec 2018 13:23:13 +0000 en-US hourly 1 https://wordpress.org/?v=5.5.3 https://themezly.com/wp-content/uploads/2018/06/cropped-themezly-favicon-150x150.png Extensions | Documentation about supported framework extensions and their features https://themezly.com 32 32 Backup and Demo https://themezly.com/docs/backup-and-demo/ Wed, 15 Feb 2017 15:48:33 +0000 http://localhost/Creatus/Themezly/?post_type=docs&p=378 Creatus theme framework Backup and Demo extension

The post Backup and Demo appeared first on Themezly™.

]]>

Deactivation info

Please note that many theme parts like demo install depend on this extension and we do not recommend it's deactivation.

The post Backup and Demo appeared first on Themezly™.

]]>
Breadcrumbs https://themezly.com/docs/breadcrumbs-extension/ Wed, 15 Feb 2017 15:50:26 +0000 http://localhost/Creatus/Themezly/?post_type=docs&p=384 Creatus theme framework Breadcrumbs extension

The post Breadcrumbs appeared first on Themezly™.

]]>

The post Breadcrumbs appeared first on Themezly™.

]]>
Events https://themezly.com/docs/events-extension/ Wed, 15 Feb 2017 15:51:26 +0000 http://localhost/Creatus/Themezly/?post_type=docs&p=390 Creatus theme framework Events extension

The post Events appeared first on Themezly™.

]]>

The post Events appeared first on Themezly™.

]]>
Mega Menu https://themezly.com/docs/mega-menu/ Wed, 15 Feb 2017 15:50:05 +0000 http://localhost/Creatus/Themezly/?post_type=docs&p=382 Creatus theme framework Mega Menu extension

The post Mega Menu appeared first on Themezly™.

]]>

The post Mega Menu appeared first on Themezly™.

]]>
Page Builder https://themezly.com/docs/page-builder/ Wed, 15 Feb 2017 15:49:07 +0000 http://localhost/Creatus/Themezly/?post_type=docs&p=380 Creatus theme framework Page Builder extension

The post Page Builder appeared first on Themezly™.

]]>

Deactivation info

Please note that many theme parts like widgets generators, shortcodes and all visual builders depend on this extension and we do not recommend it's deactivation.

The post Page Builder appeared first on Themezly™.

]]>
Portfolio https://themezly.com/docs/portfolio-extension/ Wed, 15 Feb 2017 15:50:43 +0000 http://localhost/Creatus/Themezly/?post_type=docs&p=386 Creatus theme framework Portfolio extension

The post Portfolio appeared first on Themezly™.

]]>

The post Portfolio appeared first on Themezly™.

]]>
Page Blocks https://themezly.com/docs/page-blocks/ Mon, 04 Dec 2017 20:39:22 +0000 https://themezly.com/?post_type=docs&p=962 Custom post type that will help you create page builder content for specific theme positions.

The post Page Blocks appeared first on Themezly™.

]]>

The post Page Blocks appeared first on Themezly™.

]]>
Import Fonts https://themezly.com/docs/import-fonts/ Mon, 04 Dec 2017 15:32:29 +0000 https://themezly.com/?post_type=docs&p=946 Creatus theme framework import fonts utility

The post Import Fonts appeared first on Themezly™.

]]>

Beside the ability to use any of the 800+ Google Fonts, Creatus comes with an advanced import fonts utility that will import fonts from FontSquirel, Typekit and your own @font-face kits. Once imported, all the fonts that you have chosen will be visible in typography option an their styles are automatically enqued.

FontSquirel

To add the fonts from FontSquirel go to Creatus Import Fonts area FontSquirel tab , find the font you need and click on it's download icon. After the download the font will be available in the typography options throughout the site.

Typekit

To add the fonts from Typekit go to Creatus Import Fonts area Typekit tab;

  1. Add your Typekit API Token
  2. Click on the Click to add kit ID button .
  3. In the addable input text add your kit ID .
  4. After the font is available in the list click on Save Changes button.

Your Typekit fonts are now available in the typography options throughout the site.

Custom @font-face kits

If you prefer self hosted @font-face kits over Google fonts or Typekit you can add your own @font-face kit within the Creatus child theme folder. To do so follow these simple steps.

  1. Place your @font-face kit in creatus-child/ANY_SUB_FOLDER.
  2. In functions.php add a filter with your font kit details;
/*
 * Use this function as an example
 * on how to add your own @font-face kit.
 * Make sure that font files reside 
 * in same folder as the @font-face kit.
 *
 * There are two acceptable kit fonts
 * formats examples that you can use.
 */
function my_filter_add_fontface_kits ( $custom_kits ){

    $custom_kits = array(

        /*
         * You can add more than
         * one font-family per kit
         * and also have multiple kits.
         * Just make sure that all
         * @font-face are properly declared
         * in the kit stylesheet like;
         * @font-face {
         *      font-family: 'Open Sans';
         *      src: url('path_to_400_weight.woff') format('woff');
         *      font-weight: 400;
         *      font-style: normal;
         *  }
         * @font-face {
         *      font-family: 'Open Sans';
         *      src: url('path_to_600_weight.woff') format('woff');
         *      font-weight: 600;
         *      font-style: normal;
         *  }
         *
         * OR
         *
         * @font-face {
         *      font-family: 'open_sans_regular';
         *      src: url('path_to_open_sans_regular.woff') format('woff');
         *      font-weight: normal;
         *      font-style: normal;
         *  }
         * @font-face {
         *      font-family: 'open_sans_semi_bold';
         *      src: url('path_to_open_sans_semi_bold.woff') format('woff');
         *      font-weight: normal;
         *      font-style: normal;
         *  }        
         */
        'kit1' => array( // kit name /ID
             /* 
              * Set kit CSS file uri and path. 
              * This folder must be accessible
              * otherwise the kit will not be available.
              */            
            'css_file_path'     => thz_theme_file_path('/KIT1_FOLDER/KIT_STYLE_NAME.css'),
            'css_file_uri'      => thz_theme_file_uri('/KIT1_FOLDER/KIT_STYLE_NAME.css'),

            'fonts' => array( // kit fonts collection

               /*
                * Use this format if all weights are 
                * using same font-family name
                */
                'roboto' => array( // font key
                    'name' => 'Roboto', // Label for typography option
                    'family' => 'Roboto', // Font family used in frontend, should be same as in CSS
                    'variants' => array(
                        '400',
                        '400italic',
                        '500',
                        '500italic',
                    )
                ),

                'open_sans' => array( // font key
                    'name' => 'Open Sans', // Label for typography option
                    'family' => 'Open Sans', // Font family used in frontend, should be same as in CSS
                    'variants' => array(
                        '400',
                        '400italic',
                        '600',
                        '600italic',
                    )
                ),

               /*
                * Use this format if each weight has 
                * own font-family name.
                * Make sure variant is set to false
                * for each weight.
                */
                'roboto_regular' => array(
                    'name' => 'Roboto',
                    'family' => 'roboto_regular',
                    'variants' => false
                ),
                'roboto_italic' => array(
                    'name' => 'Roboto Italic',
                    'family' => 'roboto_italic',
                    'variants' => false
                ),
                'roboto_medium' => array(
                    'name' => 'Roboto Medium',
                    'family' => 'roboto_medium',
                    'variants' => false
                ),
                'roboto_medium_italic' => array(
                    'name' => 'Roboto Medium Italic',
                    'family' => 'roboto_medium_italic',
                    'variants' => false
                ),

                'open_sans_regular' => array(
                    'name' => 'Open Sans',
                    'family' => 'open_sans_regular',
                    'variants' => false
                ),
                'open_sans_italic' => array(
                    'name' => 'Open Sans Italic',
                    'family' => 'open_sans_italic',
                    'variants' => false
                ),
                'open_sans_semi_bold' => array(
                    'name' => 'Open Sans Semi-Bold',
                    'family' => 'open_sans_semi_bold',
                    'variants' => false
                ),
                'open_sans_semi_bold_italic' => array(
                    'name' => 'Open Sans Semi-Bold Italic',
                    'family' => 'open_sans_semi_bold_italic',
                    'variants' => false
                ),
            )
        ),

        'kit2' => array( // kit name /ID

            'css_file_path'     => thz_theme_file_path('/KIT2_FOLDER/KIT_STYLE_NAME.css'),
            'css_file_uri'      => thz_theme_file_uri('/KIT2_FOLDER/KIT_STYLE_NAME.css'),

            'fonts' => array(

                'open_sans' => array(
                    'name' => 'Open Sans',
                    'family' => 'open_sans',
                    'variants' => false
                ),
                'open_sans_italic' => array(
                    'name' => 'Open Sans Italic',
                    'family' => 'open_sans_italic',
                    'variants' => false
                ),
                'open_sans_semi_bold' => array(
                    'name' => 'Open Sans Semi-Bold',
                    'family' => 'open_sans_semi_bold',
                    'variants' => false
                ),
                'open_sans_semi_bold_italic' => array(
                    'name' => 'Open Sans Semi-Bold Italic',
                    'family' => 'open_sans_semi_bold_italic',
                    'variants' => false
                ),
            )
        ),

    );

    return $custom_kits;
}

add_filter('thz_filter_add_fontface_kits', 'my_filter_add_fontface_kits' );

The post Import Fonts appeared first on Themezly™.

]]>
WordPress Shortcodes https://themezly.com/docs/wordpress-shortcodes/ Wed, 15 Feb 2017 15:52:01 +0000 http://localhost/Creatus/Themezly/?post_type=docs&p=392 Creatus theme framework WordPress Shortcodes extension

The post WordPress Shortcodes appeared first on Themezly™.

]]>

The post WordPress Shortcodes appeared first on Themezly™.

]]>