Category: Widgets
Add to Theme Master OLD
.staff-bio-section .staff-bio .bio p:first-child { color: var(–primary-color); font-size: 1.25rem; margin-bottom:50px; }Continue reading
Customer Order Note for WooCommerce Products
// Display custom field on single product page function d_extra_product_field(){ $value = isset( $_POST[‘extra_product_field’] ) ? sanitize_text_field( $_POST[‘extra_product_field’] ) : ”; printf( ‘ %s ‘, __( ‘Customisation note:’ ), esc_attr( $value ) ); } add_action( ‘woocommerce_after_add_to_cart_button’, ‘d_extra_product_field’, 9 ); //…Continue reading
Orimon Bot
Untitled Snippet
Chat
Hubspot Support Widget
function add_hubspot_embed_code() { echo ‘ ‘; } add_action(‘admin_footer’, ‘add_hubspot_embed_code’) ?>Continue reading
Elementor – Parallax
function jquery_parallax() { ?>Continue reading
Add WooCommerce upsells below the add-to-cart button
// add upsells below add-to-cart button add_action( ‘woocommerce_single_product_summary’, ‘woocommerce_upsell_display’, 40 );Continue reading
Create List of Child Pages
function wpb_list_child_pages() { global $post; // Only get child pages of the current page $args = array( ‘post_type’ => ‘page’, ‘posts_per_page’ => -1, // get all child pages ‘post_parent’ => $post->ID, ‘orderby’ => ‘menu_order’, ‘order’ => ‘ASC’ ); $child_pages =…Continue reading