Skip to content

Instantly share code, notes, and snippets.

boospot

Block or report user

Report or block boospot

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
@boospot
boospot / rooms.dat
Created Mar 10, 2020
metabox.io custom fields exported for rooms
View rooms.dat
a:1:{i:0;s:3388:"Tzo3OiJXUF9Qb3N0IjoyNDp7czoyOiJJRCI7aTo4O3M6MTE6InBvc3RfYXV0aG9yIjtzOjE6IjEiO3M6OToicG9zdF9kYXRlIjtzOjE5OiIyMDIwLTAzLTEwIDEwOjEyOjI3IjtzOjEzOiJwb3N0X2RhdGVfZ210IjtzOjE5OiIyMDIwLTAzLTEwIDEwOjEyOjI3IjtzOjEyOiJwb3N0X2NvbnRlbnQiO3M6NjIyOiJ7InRpdGxlIjoiUm9vbXMiLCJpZCI6InJvb21zIiwicG9zdF90eXBlcyI6WyJyb29tIl0sImNvbnRleHQiOiJub3JtYWwiLCJwcmlvcml0eSI6ImhpZ2giLCJmaWVsZHMiOlt7ImlkIjoicXVhbnRpdHkiLCJ0eXBlIjoibnVtYmVyIiwibmFtZSI6IlF1YW50aXR5IiwiZGVzYyI6IlF1YW50aXR5IG9mIHRoZSByb29tcyBpbiB0aGUgc2FtZSB0eXBlIiwibWluIjoxfSx7ImlkIjoiYWR1bHRzIiwidHlwZSI6Im51bWJlciIsIm5hbWUiOiJOdW1iZXIgb2YgQWR1bHRzIiwiZGVzYyI6Ik9jY3VwYW5jeSJ9LHsiaWQiOiJjaGlsZHJlbiIsInR5cGUiOiJudW1iZXIiLCJuYW1lIjoiTWF4IENoaWxkcmVuIHBlciByb29tIiwiZGVzYyI6Ik9jY3VwYW5jeSJ9LHsiaWQiOiJhZGRpdGlvbmFsX2luZm8iLCJuYW1lIjoiQWRkaXRpb25hbCBpbmZvcm1hdGlvbiIsInR5cGUiOiJ3eXNpd3lnIn0seyJpZCI6ImdhbGxlcnkiLCJ0eXBlIjoiaW1hZ2VfYWR2YW5jZWQiLCJuYW1lIjoiR2FsbGVyeSIsImRlc2MiOiJJbWFnZSBnYWxsZXJ5IG9mIHRoZSByb29tIiwibWF4X2ZpbGVfdXBsb2FkcyI6NCwibWF4X3N0YXR1cyI6ZmFsc2V9LHsiaWQ
View filter_woocommerce_breadcrumbs.php
add_filter( 'woocommerce_get_breadcrumb', function ( $crumbs ) {
if ( function_exists( 'is_product' ) && is_product() ) {
$my_crumbs = array();
$my_crumbs[] = $crumbs[0];
$my_crumbs[] = end( $crumbs );
return $my_crumbs;
}
View shortcode_for_term_desc.php
add_filter( 'term_description', 'do_shortcode' );
@boospot
boospot / display-fields.css
Last active Dec 26, 2019
simple css to indent child schema proprties
View display-fields.css
.us-field-label {
font-weight: bold;
}
li.us-field-level-2 {
margin-left: 2em;
}
li.us-field-level-3 {
margin-left: 3em;
View uschema.pot
#, fuzzy
msgid ""
msgstr ""
"POT-Creation-Date: 2019-12-10 11:52+0000\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: Loco https://localise.biz/\n"
"Project-Id-Version: \n"
"Last-Translator: \n"
"Language-Team: \n"
You can’t perform that action at this time.