Forum Replies Created

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter braanmcbrutal

    (@braanmcbrutal)

    Here is the custom function tied in with your plugin.

    function aux_property_search(){

    $args = array(
    ‘orderby’ => ‘slug’,
    ‘order’ => ‘ASC’
    );
    $product_categories = get_terms( ‘product_cat’, $args );
    $product_categories = rearrangeCategories($product_categories);
    $product_tags = get_terms( ‘product_tag’, $args );
    $product_tags = filterTagsForBedrooms($product_tags);

    $count = count($product_categories && $product_tags );
    ?>

    <div class=”home-search”>
    <?php if ( $count > 0 ) : ?>
    <div class=”searchProductDiv”>
    <?php echo do_shortcode(‘[wcas-search-form]’); ?>
    </div>
    <form role=”search” method=”get” id=”searchform_special” action=”<?php echo site_url().esc_url(‘/portfolio/’); ?>”>
    <div class=”locationDiv”>
    <select value=”Select Dropdown” name=”location” id=”location”>
    <?php
    $add_selected = ”;

    echo ‘<option value=”null”>Select Location</option>’;
    foreach( $product_categories as $location ) {
    if(isset($_GET[‘location’]) && $_GET[‘location’] === $location->slug)
    {
    $add_selected = ‘selected’;
    }

    echo ‘<option value=”‘. $location->slug .'” ‘.$add_selected.’ >’ . $location->name . ‘</option>’;

    $add_selected = ”;

    } ?>
    </select>
    </div>
    <div class=”bedroomDiv”>
    <select value=”” name=”bedrooms” id=”bedrooms”>
    <?php
    echo ‘<option value=”null”>Select Number of Bedrooms</option>’;
    foreach( $product_tags as $beds ) {
    if(isset($_GET[‘bedrooms’]) && $_GET[‘bedrooms’] === $beds->slug)
    {
    $add_selected = ‘selected’;
    }
    echo ‘<option value=”‘. $beds->slug .'” ‘.$add_selected.’ >’ . $beds->name . ‘</option>’;

    $add_selected = ”;
    }
    ?>
    </select>
    </div>
    <div class=”searchButt”>
    <input type=”submit” id=”searchsubmit” value=”Search” />
    </div>
    <input type=”hidden” id=”categ_base_lang” value=”<?php echo _x(‘product-category’, ‘name’, ‘woocommerce’) ?>” />
    <input type=”hidden” value=”<?php echo _x(‘product’, ‘beds’, ‘woocommerce’) ?>” />

    </form>
    <?php endif; ?>

    </div>
    <?php

    }

    add_action( ‘woocommerce_property_search’, ‘aux_property_search’ );

    Thread Starter braanmcbrutal

    (@braanmcbrutal)

    I have also tried changing each ratio option and doesn’t solve my issue.

    I am trying to have the images fill the container of the gallery, as it was like this pre woocommerce 3.3

    Thread Starter braanmcbrutal

    (@braanmcbrutal)

    Hi Ashish. I have tried changing the theme. I’ve tried all default wordpress themes. twenty nineteen etc etc. None of them give me the option to view the image sizes in the theme customizer

    Thread Starter braanmcbrutal

    (@braanmcbrutal)

    Thanks Rafik! You can close this ticket!

    Thread Starter braanmcbrutal

    (@braanmcbrutal)

    Hi Rafik, currently the countdown is showing 50 days, the arc is full white 360 degrees. The countdown part of the arc is the purple colour which is about 20% of the full arc.

    I want to make the ring/circle/arc one colour, solid, 360 degrees, constantly.

    So only the numbers count down. but the arc/circle stays 360 the entire time and does not count down.

    I thought as a work around I could make the background/full circle which is currently white the same colour as the purple, but this doesnt work as the countdown arc is thicker.

    Essentially all im trying to accomplish is a full circle, one colour, which remains a full circle and then in the circle only the numbers count down.

Viewing 5 replies - 16 through 20 (of 20 total)