kirki | Extending the customizer | Content Management System library
kandi X-RAY | kirki Summary
kandi X-RAY | kirki Summary
Kirki allows theme developers to build themes quicker & more easily. With over 30 custom controls ranging from simple sliders to complex typography controls with Google-Fonts integration and features like automatic CSS & postMessage script generation, Kirki makes theme development a breeze.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Add subfields .
- Render repeater JS
- Parse the output .
- Get color codes
- Generate a google font .
- Loop the controls for the field .
- Finds the file with the given extension .
- Get files from CSS .
- Get a field s value .
- Set the JS vars .
kirki Key Features
kirki Examples and Code Snippets
Community Discussions
Trending Discussions on kirki
QUESTION
I updated the database. After the update I was faced with duplicate products in Woocommerce -- even though I didn't have duplicate products in database.
I deleted the transient but it's not fixed. I'd appreciate it if you guide me on how to fix it.
Thanks in advance.
The below block shows the list of active plugins
...ANSWER
Answered 2020-Nov-18 at 04:34In fact I had two issue. the first issue was duplicate product in product list page, that I figured it out the issue relate the some codes like this:
QUESTION
I'm trying to change default button text "add to basket" in WooCommerce, in loop and in product page, using text field in customizer / Kirki:
...ANSWER
Answered 2020-Oct-22 at 14:06Instead of "pll_e" should be "pll_", so problem solved :)
QUESTION
I'm using the Kirki plugin to add fields and sections in the WordPress customizer. So far, I can get a field to be added to the customizer, but I'm confused on how to return that data back into my theme. I'm kinda tired so I might be missing something. This is what I have so far:
...ANSWER
Answered 2020-Mar-11 at 15:13After digging through the internet a little bit, I was able to read through some more documentation as well as some other examples and I was able to figure out what I was doing wrong. Overall, I was close, but I ended up cleaning it up and just using the WordPress get_theme_mod()
outright in my template file (in this case it was the footer.php
file).
Here's what I ended up with:
QUESTION
I'm using wordpress theme build with PHP, It's a demo theme so I can't insert the logo through the control panel.
the php code:
...ANSWER
Answered 2018-Dec-06 at 17:24Simple. Upload your Logo and replace:
QUESTION
I am using Kirki framework to develop a WordPress theme. After completing the theme I tested my theme using theme check plugin. It throws an error
More than one text-domain is being used in this theme. This means the theme will not be compatible with WordPress.org language packs. The domains found are myTheme, kirki.
I ignored this issue and submitted my theme to themeforest.net but the review team asked me o solve this issue. Is there anyway i can solve this issue.
Any help would be appreciated. Thanks in advance ;)
...ANSWER
Answered 2017-Sep-27 at 06:18This is the answer which I got from the support person.
Ideally you wouldn't be including kirki in your theme... You can instead require its installation as a plugin. This way your users will also get any future bugfixes and improvements simply by updating the plugin.
If you don't want to do that and insist on including Kirki in your theme, then there's nothing to worry about... Kirki has a separate implementation for localizations when used inside a theme: https://github.com/aristath/kirki/blob/develop/l10n.php
The WPTRT team is aware of that and in fact the textdomain is whitelisted when submitting a theme in wordpress.org for exactly that reason (hybrid-core is another one that is whitelisted because they both use the same implementation).
You can point this out to the theme reviewer and link to this thread here, if there any more questions from them I would be more than happy to answer them.
If you don't want to do that either, then you can just manually go through the files and change all 'kirki' textdomains to your own.
QUESTION
I'll try and explain this as best I can.
First, I'm using a toolkit called Kirki to extend the WordPress Customizer API
What I have is a section within my theme that contains a 4 column layout of services. Each of these services has a icon. I am using the repeater field to allow users to edit each of these. I have no issues except when it comes to the image...
By default, there are already 4 columns made and filled with content, including images. The exact issue is with displaying the images, either I can display the image using
...ANSWER
Answered 2017-Jun-22 at 04:10After the response from @Asher, I looked into finding a way I could find a way to check to see if the image was uploaded to the media library or not, and then assign it the proper settings... (Which for some reason I never thought of, I had tried checking some other things but never to see if the image was uploaded to the media library) and I ended up running across this function: wp_attachment_is_image()
Using this I was able to get it to do what I needed with the following code
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kirki
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page