Skip to content

Instantly share code, notes, and snippets.

View resonancedesigns's full-sized avatar
🎯
Focusing

Richard Bakos resonancedesigns

🎯
Focusing
View GitHub Profile
@dhilowitz
dhilowitz / DS Export.lua
Last active October 25, 2023 16:12
Kontakt 6 Creator Tools Export to Decent Sampler format
-- Check for valid instrument
if not instrument then
print("The following error message informs you that the Creator Tools are not "..
"focused on a Kontakt instrument. To solve this, load an instrument in "..
"Kontakt and select it from the instrument dropdown menu on top.")
return
end
print('<?xml version="1.0" encoding="UTF-8"?>')
print("<!-- DS file for Kontakt 6 instrument " .. instrument.name .. " -->")
@mrkdevelopment
mrkdevelopment / In your social icons file
Last active July 29, 2022 00:25
Divi social icons extension
<?php if ( 'on' === et_get_option( 'divi_show_linkedin_icon', 'on' ) ) : ?>
<li class="et-social-icon et-social-linkedin">
<a href="<?php echo esc_url( et_get_option( 'divi_linkedin_url', '#' ) ); ?>" class="icon">
<span><?php esc_html_e( 'Linked In', 'Divi' ); ?></span>
</a>
</li>
<?php endif; ?>
<?php if ( 'on' === et_get_option( 'divi_show_youtube_icon', 'on' ) ) : ?>
<li class="et-social-icon et-social-youtube">
@joshuacharleslake
joshuacharleslake / json-ld-wordpress-custom-fields.json
Created August 13, 2015 15:04
JSON LD using custom fields from wordpress.
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "SelfStorage",
"address": {
"@type": "PostalAddress",
"addressLocality": "<?php echo($location_town) ?>",
"addressRegion": "<?php echo($location_county) ?>",
"postalCode":"<?php echo($location_postcode) ?>",
"streetAddress": "<?php echo($location_address_line_1) ?>,