View per-kg.php
<?php //<~ don't add me in
add_filter( 'woocommerce_get_price_html', 'wb_change_product_html' );
// Change and return $price_html variable using the $price and weight amount
function wb_change_product_html( $price ) {
$price_html = '<span class="amount">' . $price . ' per kg </span>'; // change weight measurement here
return $price_html;
}
View hide-cart-item.php
<?php //<~ don't add me
add_filter( 'wc_add_to_cart_message_html','wb_custom_add_to_cart_message', 10, 2 );
/**
* Hide number of items added as to message when added to cart.
*
*/
function wb_custom_add_to_cart_message( $message, $products ) {
$titles = array();
View functions.php
<?php //<~ Don't add me in
/*
* WooCommerce Add Cart to Menu - Genesis Sample Theme
*
*/
// Setup the header search icon menu.
include_once( get_stylesheet_directory() . '/lib/header-icon-menu.php' );
View customizer.php
<?php
/**
* Set Up Default Colors
*/
function bt_woo_button_color_default() {
return '#ebe9eb';
}
View bp-store-extender.php
<?php
/**
* Plugin Name: Business Profile Business Exttnder
* Plugin URI: http://wpbeaches.com
* Description: Modifies the Business Profile plugin to include extra info for business.
* Version: 0.0.1
* Author: Neil Gowran
* Author URI: http://wpbeaches.com
* License: GNU General Public License v2.0 or later
* Reference - https://gist.github.com/NateWr/b28bb63ba8a73bb14eac
View extender.php
<?php
/**
* Plugin Name: Business Profile Field Extender
* Plugin URI: http://wpbeaches.com
* Description: Modifies the Business Profile plugin to include a mobile number field.
* Version: 0.0.1
* Author: Neil Gowran
* Author URI: http://wpbeaches.com
* @link - https://gist.github.com/NateWr/b28bb63ba8a73bb14eac
*/
View index.php
<?php get_header(); ?>
<div class="fl-archive container">
<div class="row">
<?php FLTheme::sidebar('left'); ?>
<div class="fl-content <?php FLTheme::content_class(); ?>" itemscope="itemscope" itemtype="http://schema.org/Blog">
<?php FLTheme::archive_page_header(); ?>
View bb.css
/* Button row - substitute out .black-but for a custom CSS
---------------------------------------------------------------------------------------------------- */
.home-hero-row .fl-node-598a5652377af {
justify-content: center;
display: flex;
flex-flow: row wrap;
}
.home-hero-row .fl-node-598a5652377af .fl-col {
width: auto;
View safari.css
.safari-mac .site-container {
display: block;
}
View back-to-top.css
#toTop {
display: none;
position: fixed;
bottom: 5px;
right: 10px;
width: 80px;
height: 80px;
opacity: 0.8;
filter: alpha(opacity=40); /* For IE8 and earlier */
}