Plugin Directory

Changeset 2748934

Timestamp:
06/28/2022 08:45:04 AM (2 years ago)
Author:
mrjoshfisher
Message:

Styling Updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hot-products/trunk/hotproducts.php

    r2748933 r2748934  
    9898                if ($enable_hotproducts) {
    9999                    if (intval(get_post_meta($product->get_id(), 'hotproductscount', true)[1]) > 0) {
    100                         echo '<p class="hotProducts" style="margin:10px 0 0;background: '.(($text_background_colour) ? $text_background_colour : '#f8f8f8').';color:'.(($text_colour) ? $text_colour : '#000').';padding: 5px;display: block;">';
     100                        echo '<p class="hotProducts" style="margin:10px 0 0;background: '.(($text_background_colour) ? $text_background_colour : '#f8f8f8').';color:'.(($text_colour) ? $text_colour : '#000').';padding: 5px;display: block;">';
    101101                        if ($show_flame) {
    102                             echo '<img style="width: 18px;float: left;margin-right: 5px;margin-top: 2px;" src="/wp-content/plugins/hot-products/assets/img/flame.png"/>';
     102                            echo '<img style="width: 18px;margin-right: 5px;margin-top: 2px;" src="/wp-content/plugins/hot-products/assets/img/flame.png"/>';
    103103                        }
    104104                        echo wp_sprintf('This Product Has Been Viewed <b>%s Times Today!</b>', intval(get_post_meta($product->get_id(), 'hotproductscount', true)[1]));
Note: See TracChangeset for help on using the changeset viewer.