View wpml-tagline-active-language.php
//* Modify the site description depending on active language - WPML - HTML5 Version - Genesis Framework | |
//* This snippet only works when a Genesis theme is active | |
//* Useful when for example you need to add extra CSS-classes to the tagline to style it with CSS | |
add_action('genesis_seo_description', 'hs_custom_site_description'); | |
function hs_custom_site_description( $tagline) { | |
$tagline = '<p class="site-description" itemprop="description">'; |
View functions.php
<?php | |
# Adding a Gravity Form form submission page | |
# Author: Hans Swolfs | |
# Website: https://hansswolfs.be | |
# Version: 1.0 | |
# Let's rock & roll | |
# add the filter to create the review page. | |
# the default filter is gform_review_page. |
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |