GithubHelp home page GithubHelp logo

vlthemes / vlthemes-add-custom-fonts-to-kirki Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 2.0 35 KB

This class suitable for adding Custom Fonts to Kirki WP Customizer

License: MIT License

PHP 100.00%
kirki wordpress typekit font php framework custom

vlthemes-add-custom-fonts-to-kirki's Issues

Parse error

Hey @vlthemes,

thanks for this awesome piece of code!

I'm getting the following error on a server running php 5.6

Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting ')' in /path/to/website on line 29

which is this line:

if($this->typekit_enable && !empty($this->_typekit_id && $this->typekit_fonts)){

Register multiple optgroups with kirki

Hey @vlthemes,

how's it going? :)

Did you ever need to implement more than one additional optgroup to the kirki typography dropdown with the new setup in kirki?. I've put together some ideas over here (themeum/kirki#1900), maybe you have some suggestions? Trying to wrap my head around it.

Couldn't tag you on the other issue, that's why I created this over here.

Any suggestions would be highly appreciated! :)

Best,
David

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.