sdfbcxvxdsf
Forum Replies Created
-
Forum: Plugins
In reply to: [WooReer] Set minimum per item + Distance ratethis seems to have done the trick, courtesy of chatgpt:
// Count total items in the cart $total_items = 0; foreach ( $package['contents'] as $item_id => $values ) { $total_items += $values['quantity']; } $surcharge = $this->get_rate_field_value( 'surcharge', $rate, '' ); if ( ! strlen( $surcharge ) ) { $surcharge = $this->surcharge; } if ( $surcharge ) { $surcharge_type = $this->get_rate_field_value( 'surcharge_type', $rate, 'inherit' ); if ( ! $surcharge_type || 'inherit' === $surcharge_type ) { $surcharge_type = $this->surcharge_type; } if ( ! $surcharge_type ) { $surcharge_type = 'fixed'; } if ( 'fixed' === $surcharge_type ) { $cost += $surcharge * $total_items; // Apply surcharge per product } elseif ( 'percent' === $surcharge_type ) { $cost += ( ( $cost * $surcharge ) / 100 ); } }
Forum: Plugins
In reply to: [WooReer] Set minimum per item + Distance rateI see the surcharge option, but this does not multiply by number of products
Forum: Plugins
In reply to: [Code Snippets] White Space and LinebreakFor instance, this is how a crawled page looks:
How many YouTube subscribers does
Title
have?@codersantosh, not sure if you understood what i meant on this. Looking for a setting to have the table collapsed by default.
Hi @codersantosh!
yes correct, I’m just looking for the same feature to be added to have the block collapsed initially, that setting is available on the Accordion called “Active first panel” thanks!
Hi, @codersantosh!
I don’t think so as the section id is the same for all list items, but please correct me if I’m wrong.
Trying to make a grow hover function for each list item, but now it will grow the entire block on mouse over.
Currently i’m using the Icon list block from the The Spectra addon (Ultimate Addons for Gutenberg) – https://wpspectra.com/blocks/icon-list/ and hoping to get rid of this.- This reply was modified 2 years, 9 months ago by sdfbcxvxdsf.
Seems like it’s my browser and not a plugin issues. Thanks
So i tried to complete it using the dynamic columns (2 columns one with icon and one with text) however the text in the second column gets cut and placed on a second row. Looks to be this “word break” css that’s causing it, how would I stop this?
.gutentor-element-advanced-text .gutentor-text { margin-bottom: 20px; margin-top: 0; word-break: break-word; }
Hi,
yes I guess that would be possible but I’m having troubles getting the layout the way I want it, being an option on advanced text would be a lot easier / useful. Thanks!
Forum: Plugins
In reply to: [WordPress Popular Posts] Align the Title to Middle of Thumbnaildirectly on the page, tried with the shortcode block now and that works!
thanks Héctor, much appreciated!Forum: Plugins
In reply to: [WordPress Popular Posts] Align the Title to Middle of ThumbnailUpdated short code and CSS but doesn’t seem to work, also list is pulling in post from other categories now.
Forum: Plugins
In reply to: [WordPress Popular Posts] Align the Title to Middle of Thumbnailthanks hector.
adding with this shortcode: [wpp range=”last30days” limit=5 stats_views=0 order_by=”views” thumbnail_width=100 thumbnail_height=75 taxonomy=’category; post_tag’ term_id=’2′]
and yes, using Gutenberg builder with the Gutentor plugin.
Forum: Plugins
In reply to: [WordPress Popular Posts] Align the Title to Middle.Hi Hector,
Okay, please see the it on the frontpage here: https://tinyurl.com/ndtp3hcw
The titles are in the center, but not in the middle if that makes sense, thank you in advance.
Forum: Plugins
In reply to: [WordPress Popular Posts] Align the Title to Middle.Looking for info on how to accomplish this as well, thanks in advance.
Okay thank you, would you otherwise be able to add mouse over animations as an option in addition to the current animations?
Highly appreciate all the support and info!