tin_soldier
Forum Replies Created
-
Forum: Plugins
In reply to: [AM LottiePlayer] v3.3.7 autoplay not workingOkay, yes, it works if I add them in again. Thanks very much.
Forum: Plugins
In reply to: [AM LottiePlayer] v3.3.7 autoplay not workingIt’s still not applied sorry. It does autoplay in Divi edit mode but not on the published page. I’ve emptied all caches.
Forum: Plugins
In reply to: [My Favorites] Share guest wishlistI’m thinking that the following should work. I’m going to add the following javascript to the wishlist page:
const currentUrl = window.location.href; function getParameterValue(parameterName, url) { const params = new URLSearchParams(url.search); return params.get(parameterName); } const itemsValue = getParameterValue('items', new URL(currentUrl)); if (itemsValue) { // Add the value to the localStorage variable localStorage.setItem('ccc-my_favorite_post', itemsValue); }
Which means the page will be listening for ?items=”” with comma separated post IDs as the value and adds them to the localStorage variable My Favorites uses, essentially filling the wishlist.
Now I just need to make a Share button that takes the ccc-my_favorite_post variable and makes a link such as https://www.mysite.com/wishlist?items=”xxx,xxx,xxx”
Can anyone forsee any issues with this approach?I see, thanks. There’s no unique id in this url so I presume the user can’t share their favorites with someone?
Fantastic. Thanks Alex.
Could you also tell me how the favourites feature works. Does this create a wishlist that the user can share or can it be combined with wishlist plugin that does that?The module used Slick Slider so to vertically center the logos you can add this CSS:
.slick-track { display: flex; } .slick-track .slick-slide { display: flex; height: auto; align-items: center; justify-content: center; }
Forum: Plugins
In reply to: [AM LottiePlayer] Format of shortcode?Excellent plugin thanks. Just seems to be an issue with loading the scripts if you use:
echo do_shortcode(‘[am-lottieplayer…
I’m wanting to use an ACF field to upload a lottie json file and output in a template. The shortcode loads the scripts if you add it in the post content but not if it’s applied as above.Forum: Plugins
In reply to: [Site Reviews] Error submitting reviewsThanks. Actually the site in question was migrated so therein was the problem. I had to go with the nuclear option and using WP All Export/Import to get the reviews back.
Thanks for your help ??
Forum: Plugins
In reply to: [Site Reviews] Error submitting reviewsThanks. That’s resolved the html issue. The form not submitting is still an issue though.
https://www.animalslikeus.com.au/products/dog-food/raw-blend/grass-fed-lamb-venison/- This reply was modified 1 year, 6 months ago by Steven Stern (sterndata).
- This reply was modified 1 year, 6 months ago by Steven Stern (sterndata). Reason: removed bit.ly link
Forum: Plugins
In reply to: [Site Reviews] Error submitting reviewsYes, I’ve tried that a couple of times and have run the “Repair Review Relations” tool as well as held down Option key and run the Migrate Plugin tool.
Still the same issue. One thing to mention, my form is added in a WooCommerce template hook with:
echo '<div id="add-a-review" class="popup-overlay"><span class="close-modal">M</span>'. do_shortcode('[site_reviews_form assigned_posts="'. $post->ID. '"]') . '</div>';
And this is opened with a button obviously. I also had a link in the reviews summary added like this:
echo do_shortcode('[site_reviews_summary assigned_posts="'. $post->ID.'" text="{num} Reviews <span> | <a class=popup href=#add-a-review>Write a review</a></span>" hide="bars,rating"]');
But the text attribute no longer outputs the anchor tag.
Not sure if that is related at all. I’ve tried changing it to have: a class=”popup” href=”#add-a-review” and class=\”popup\” href=\”#add-a-review\” but that seems to revert to the default text either way.Forum: Plugins
In reply to: [Site Reviews] {{ loader }} text showing in paginationGreat, thanks. I’d forgotten about the custom templates I’d set up.
Cheers
Forum: Plugins
In reply to: [Caddy - Smart Side Cart for WooCommerce] Add muliple products to cartOkay, thanks!
Forum: Plugins
In reply to: [Caddy - Smart Side Cart for WooCommerce] Card link on Checkout pageActually sorry I probably didn’t explain it well enough. I’ve opted to use a text link like this in the top navigation
<a href="javascript:void(0)" class="cc_cart_items_list" aria-label="Cart Items">Cart</a>
rather than a shortcode as I needed to customize it.This opens Caddy fine except on the Checkout page where it doesn’t work, presumably your js prevents it working on the Checkout page.
On your demo you also have a Cart link in the top navigation. If I add something to the cart and hit Checkout Now in the sidebar cart, the link no longer works as I’m now on the Checkout page.
I think the sidebar cart should still be able to be opened even when on the Checkout page.
Forum: Plugins
In reply to: [Prevent Direct Access - Protect WordPress Files] Bulk protect existing filesThanks for the reply. We’ve made the decision to delete the files in this case so the plugin is no longer needed.
Same issue here on WP Engine with php 8.0.19, WordPress 6