harjapaa
Forum Replies Created
-
Forum: Plugins
In reply to: [The SEO Framework – Fast, Automated, Effortless.] Featured image as og:imageIt turned out the code had some issues/mistyped function names we had to switch to get it working
We had to change the second function name to “my_custom_tsf_acf_singular_image_generator” (since that is what is referenced in the first function).
And in the second function had to change:
$image = get_field( 'post-image', $args['id'] ?? tsf()->query()->get_the_real_id() );
to$image = get_field( 'post-image', $args['id'] ?? the_seo_framework()->get_the_real_ID() );
since the original tsf()->query() returned null and therefore gave fatal errorWith these changes seems to now work perfectly.
Forum: Plugins
In reply to: [The SEO Framework – Fast, Automated, Effortless.] Featured image as og:imageHi Sybre,
thank you, I can confirm it works perfectly! In my snippet plugin, I needed to set this code to work in front-end only, as it somehow broke the adding of the image in back-end, but that’s ok.
Thanks a lot, and have a great week too!
Forum: Plugins
In reply to: [The SEO Framework – Fast, Automated, Effortless.] Featured image as og:imageHi!
Brilliant, thank you! If you could help with building the filter, that would be great!
It’s an ACF image field, Return Format: Image Array, Field Name: “post-image”. Thank you very much! Below is a screenshot from that particular field’s settings.
Forum: Plugins
In reply to: [The SEO Framework – Fast, Automated, Effortless.] Featured image as og:imageSorry, I accidentally gave you wrong information. I’m working on behalf of my client, and it turned out it’s not an actual “Featured image” per se, it’s an ACF field to serve a similar purpose. Is there a chance to somehow use that one instead?
Forum: Plugins
In reply to: [Product Price History for WooCommerce] VAT issueThanks for your super quick response, and for the fix! After applying the fix, it works as expected.
Thank you!
Forum: Plugins
In reply to: [Product Price History for WooCommerce] VAT issueThe problem only seems to occur in Variable Products. Simple products don’t have the problem.
Here is an example of a simple product, where the lowest price is as expected: https://www.yozendesign.com/tuote/art-deco-nappikorvakorut-viininpunainen/
Forum: Plugins
In reply to: [Product Price History for WooCommerce] VAT issueTax options haven’t been touched since plugin installation, so they were established prior to activating the plugin.
Price History for this product says:
“No pricing data recorded since plugin activation – This message indicates that no pricing data has been saved in the database since the activation of the plugin. This can occur if the plugin was recently installed or if the product price has not changed since the activation of the plugin.”