Skip to content

Instantly share code, notes, and snippets.

Taco Verdonschot tacoverdo

Block or report user

Report or block tacoverdo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tacoverdo
tacoverdo / yoast_seo_breadcrumbs_replace_woocommerce.php There are two sets of code in this gist. One for non-WooThemes and one for WooThemes. Only copy the section you need to replace breadcrumbs
View yoast_seo_breadcrumbs_replace_woocommerce.php
<?php
/********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/
/* Replace WooCommerce Breadcrumbs With Yoast Breadcrumbs
* Credit: Unknown
* Last Tested: Jan 25, 2018 using Yoast SEO 6.2 on WordPress 4.9.2
* Theme: Non-WooThemes like Twenty Seventeen, Genesis
*/
// Remove WooCommerce Breadcrumbs
@tacoverdo
tacoverdo / replace_woocommerce_bc.php
Created Mar 6, 2017
Replace WooCommerce breadcrumbs with Yoast breadcrumbs
View replace_woocommerce_bc.php
<?php
// Both woo_breadcrumbs() and Yoast breadcrumbs need to be enabled in the WordPress admin for this to function.
add_filter( 'woo_breadcrumbs', 'woo_custom_use_yoast_breadcrumbs' );
function woo_custom_use_yoast_breadcrumbs( $breadcrumbs ) {
if ( function_exists( 'yoast_breadcrumb' ) ) {
$before = '<div class="breadcrumb breadcrumbs woo - breadcrumbs"><div class="breadcrumb - trail">';
$after = '</div></div>';
$breadcrumbs = yoast_breadcrumb( $before, $after, false );
}
return $breadcrumbs;
View string_for_Anton
<p>[et_pb_section admin_label="Section" fullwidth="off" specialty="off" transparent_background="on" allow_player_pause="off" inner_shadow="on" parallax="off" parallax_method="off" padding_mobile="off" make_fullwidth="off" use_custom_width="off" width_unit="on" make_equal="off" use_custom_gutter="off" gutter_width="3"][et_pb_row admin_label="Row" make_fullwidth="off" use_custom_width="off" width_unit="on" use_custom_gutter="off" padding_mobile="off" allow_player_pause="off" parallax="off" parallax_method="off" make_equal="off" parallax_1="off" parallax_method_1="off" column_padding_mobile="on" custom_margin="0px||0px|" custom_padding="||10px|"][et_pb_column type="4_4"][et_pb_blurb admin_label="Blurb" url_new_window="off" use_icon="on" icon_color="#005275" use_circle="off" circle_color="#1d1aeb" use_circle_border="off" circle_border_color="#1d1aeb" icon_placement="top" animation="top" background_layout="dark" text_orientation="center" use_icon_font_size="on" background_color="rgba(0,82,117,0.2)" use_border_colo
View Verify onename
Verifying that +tacoverdo is my blockchain ID. https://onename.com/tacoverdo
@tacoverdo
tacoverdo / awesome_footer_email.txt
Last active Sep 28, 2015
Awesome footer for an email typed on a phone
View awesome_footer_email.txt
@tacoverdo
tacoverdo / yaa.txt
Created Aug 21, 2015
Yoast ASCII Art
View yaa.txt
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII77$ZOO88888OZ$7IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII7IIII777IIII77IIIIIIIIIIIZ8DMMMMMMMMMMMMMMMMNDZ7IIIIIIIIIIIIIIIIIIIII7IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII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MMMMMMNMM$MMDDMMMMMMMMMMMMMM7IIIIIIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIII7MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMOMMDMMDMMMMMMMMMMMMMMMMM7I7IIIIIIIIIIIIIIIII
7777777777777777777II8MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMD7MMMMMMMMMMMMMMMMMMMMMMMM7II7777777777777777
7777777777777777777I7MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMDMMMMMMMMMMMMMMMMMMMMMMMMMNI77777777777777777
View Template_for_testing_links.html
@tacoverdo
tacoverdo / disable_transient_caching.php
Last active Nov 13, 2017
Disable WordPress SEO transient caching
View disable_transient_caching.php
<?php
/********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/
/**
* Disables the XML Sitemap transient caching in WordPress SEO and WordPress SEO Premium.
* WARNING: This may lead to a heavier load on your server and your sitemaps being loaded less fast.
*/
add_filter( 'wpseo_enable_xml_sitemap_transient_caching', '__return_false' );
@tacoverdo
tacoverdo / i18n-q-link.php
Last active Nov 13, 2017
What is the best way to translate a text with hyperlink?
View i18n-q-link.php
You can’t perform that action at this time.