Display WPForm Entries

/** * Custom shortcode to display WPForms form entries in table view. * * Basic usage: [wpforms_entries_table id=”FORMID”]. * * Possible shortcode attributes: * id (required) Form ID of which to show entries. * user User ID, or “current” to…Continue reading

Scroll Progress Bar

add_action(‘wp_body_open’, function() { echo ‘ ‘; }); add_action(‘wp_head’, function() { echo ‘ ‘; }); add_action(‘wp_footer’, function() { echo ‘‘; });Continue reading

Show Products Count on WooCommerce Archive Pages

add_shortcode( ‘product_count’, ‘product_count_shortcode’ ); function product_count_shortcode() { global $wp_query; $total_product_count = $wp_query->found_posts; $current_page = max( 1, get_query_var( ‘paged’ ) ); $products_per_page = get_option( ‘posts_per_page’ ); $start_product = ( ( $current_page – 1 ) * $products_per_page ) + 1; $end_product =…Continue reading

Phoenix – Featured Neighborhoods add-on

/* Featured Neighborhood add-on – Style: Grid with CTA on side (Phoenix) == Start */ .iul_display_grid_1{display:table;width:100%;} .iul_display_grid_cell a img{margin-bottom:0;} .iul_display_grid_cell{display:table-cell;vertical-align:middle;} .iul_display_grid_cell h2 {color:#fff;color:var(–main-primary-color-text-light);} .iul_display_grid_cell:nth-child(1){background-color:#111;background-color:var(–main-primary-color);width:25%;text-align:center;color:#ffffff;color:var(–main-primary-color-text-light);padding:30px 20px;} .iul_display_grid_cell:nth-child(2){width:75%;} .iul_display_grid_cell:nth-child(1) .cta_button{padding:5px 30px;margin:0;border:1px solid #fff;border-color: var(–main-primary-color-text-light); color:#fff;color:var(–main-primary-color-text-light);font-size:16px;border-radius:0px;display:inline-block;text-decoration:none;} .iul_display_grid_1 .ao_fn_gs_gridstandard { display: -ms-grid; display: grid;…Continue reading