K B
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Strange subscriptions to newsletterthanks.. just did, thankfully no malware found.
Ok so I tried a variety of settings with the span anchor options (as indicated in my previous message) but none of them worked.
I’m seeing in wp-ajaxify-comments.js in the function WPAC._ScrollToAnchor
it seems to be usingvar scrollTargetTopOffset = anchorElement.offset().top
to get an offset by which it should scroll to. However I can’t figure out how to set that offset.I also noticed that the anchor that goes into the function is directly for the comment div tag e.g. id=comment-101
however my comment typically has the username/datetimestamp etc above the comment div tag and ideally I’d want to scroll to that particular element.help please! alternatively does anyone know of another plugin that might be more suited to what i’m looking for.
Here is a possible answer to my question.
https://pixelflips.com/blog/anchor-links-with-a-fixed-headerI tried doing this on OnAfterUpdateComments
jQuery(document).ready(function($) { this.prepend( "<span class=\"new-comment-anchor\" id=\"nwcmt\"></span>" ); });
and added this css
.new-comment-anchor{ display: block; height: 115px; margin-top: -115px; visibility: hidden;}
but that doesn’t seem to do it.
Any ideas?Forum: Plugins
In reply to: [Contact Form 7 Star Rating with font Awesome] Star sizeWould it be possible to change the <i> tag that’s currently used for the star’s to <span> instead. That way it’s not set as italics.
Forum: Plugins
In reply to: [Stripe for WooCommerce] Metadatacool.. it seems to be working well in my test instance.
Excellent work!
Forum: Plugins
In reply to: [Stripe for WooCommerce] MetadataThanks – It was a silly mistake I was saving my functions file somewhere else.
Thanks much, I’ve put this plugin into production and it seems to working just fine.
I had a minor suggestion – Is it possible to move the credits.png into a template folder. I was hoping to use the color icons instead of the grey’d out ones and don’t want it to go away between updates.
And finally I’m eagerly looking forward to the ability to add multiple Stripe Metadata fields and get an automatic notification from Stripe – when ever those functions are available.
Thanks so much for making this plugin!
Forum: Plugins
In reply to: [Stripe for WooCommerce] Metadataok this is a stupid question, but I added this in my functions.php
add_filter(‘s4wc_charge_description’, ‘my_stripe_charge_desc’);
function my_stripe_charge_desc() {
return ‘laa dee laa —– This is my custom description’;
}but I don’t see any thing show up in stripe. am i doing something wrong?
Forum: Plugins
In reply to: [Stripe for WooCommerce] Configuring Description and Metadatathanks that seems to have worked.. I’ll keep testing and let you know if I find any other issues.
Forum: Plugins
In reply to: [Stripe for WooCommerce] Configuring Description and Metadatai just updated to 1.22 and tried to post a charge, am seeing this error.
Cannot use string offset as an array in /var/www/mysite/wp-content/plugins/stripe-for-woocommerce/classes/class-s4wc_gateway.php on line 358
Forum: Plugins
In reply to: [Stripe for WooCommerce] Configuring Description and Metadatasuper thanks so much.
Forum: Plugins
In reply to: [Stripe for WooCommerce] Configuring Description and MetadataWould it be possible somehow to bring the configuration string for the description out into a template file? So that I can configure that as I choose?
Metadata containing the list of products, quantity and any other custom parameters the product might have would be useful (I suppose).
At this time I only need Product Name and Quantity.
I second that feature request.. it would be great if there were an option to disable showing that checkbox (without having to edit the css)