View related.php
View grad.css
.myclass .fl-row-content-wrap:after {
content: '';
display: block;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 0;
}
View filter.php
<?php
add_action( 'wp_enqueue_scripts', 'remove_woocommerce_styles_scripts', 9999 );
function remove_woocommerce_styles_scripts() {
if ( function_exists( 'is_woocommerce' ) ) {
if ( ! is_woocommerce() && ! is_cart() && ! is_checkout() ) {
# The styles
wp_dequeue_style( 'woocommerce-general' );
View enqueue.php
<?php //<~ don't add me
add_action( 'wp_enqueue_scripts', 'prefix_scripts_styles', 997 ); // All the rest load before.
function prefix_scripts_styles() {
wp_enqueue_style( 'webfonts' , get_stylesheet_directory_uri() . '/webfonts/stylesheet.css', array() , '1.0.0', 'all' );
}
View search-new.php
<?php
add_filter( 'get_product_search_form' , 'me_custom_product_searchform' );
/**
* Filter WooCommerce Search Field
*
*/
function me_custom_product_searchform( $form ) {
View custom-loop.php
<?php
$args = array(
'posts_per_page' => -1,
'post_type' => 'product',
'post_status' => 'publish',
'tax_query' => array(
array(
'taxonomy' => 'product_visibility',
'field' => 'name',
View prod-cat.php
<?php // <~ don't add me in
add_action( 'widgets_init', 'wb_extra_widgets' );
/**
* Register new Widget area for Product Cat sort dropdown.
*/
function wb_extra_widgets() {
register_sidebar( array(
'id' => 'prod_sort',
View array-cascade.php
<?php //<~ don't add me in
add_filter( 'fl_builder_register_settings_form', 'wb_builder_register_settings_form_short', 10, 2 );
/**
* Filter the Global Settings Options.
* Media breakpoints and form title have been changed.
*/
function wb_builder_register_settings_form_short( $form, $id ) {
if ( 'global' == $id ) {
View shortcode.php
<?php
add_shortcode( 'woo_featured', 'wb_woo_featured' );
/*
*
* Featured Product Loop
*/
function wb_woo_featured() {
$args = array(
'post_type' => 'product',
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;
}