Forum Replies Created
-
AuthorPosts
-
Hi Günter,
Sorry, I interpreted “shortcut” as “shortcode“. Calling the filter “avf_breadcrumbs_output” or “avf_breadcrumbs_external” may be clearer.
Cheers,
GalHi Günter,
How would I use this filter? I’m not using a shortcut. I’m using a function.
Perhaps you can use
if ( ! empty( $args['output'] ) ) return $args['output'] ;
. This way, I can use the argument filter to add the output to the arguments. Seems cleaner and uses existing filters.What do you think?
Cheers,
GalAnd we’re back to square 1.
I’m already using the hook, but it basically just doubles the work. I throw away everything and start over, and that’s just a waste.
Please allow complete replacement of the function
avia_breadcrumbs()
usingfunction_exists()
or provide some other way to use a different function for breadcrumb generation, e.g. by using an action hook that can be unhooked.Hey Victoria,
That produces the following (which I expected):
PHP Fatal error: Cannot redeclare avia_breadcrumbs() (previously declared in /home2/supporthealth/public_html/wp-content/themes/enfold-child/functions.php:238) in /home2/supporthealth/public_html/wp-content/themes/enfold/framework/php/class-breadcrumb.php on line 175
Regards,
Gal (on behalf of Hugh)August 14, 2020 at 3:52 am in reply to: Too few arguments to function av_responsive_images::handler_wp_jpeg_quality() #1237642Yes. OK to close. Thank you.
August 14, 2020 at 2:17 am in reply to: Too few arguments to function av_responsive_images::handler_wp_jpeg_quality() #1237629The problem seems to be resolved in 4.7.6.2. Thank you.
For some reason, the changelog hasn’t been updated with this version. Was that intentional?
August 4, 2020 at 6:41 am in reply to: Too few arguments to function av_responsive_images::handler_wp_jpeg_quality() #1235045I’ve had a look at the code, and I thin the problem is with the
$context
argument, which is expected byhandler_wp_jpeg_quality()
, but isn’t available to thejpeg_quality
filter, so is never passed.To overcome this,
handler_wp_jpeg_quality()
should have a default value for$context
in the declaration or only have one argument and somehow figure out the context before applying theavf_jpeg_quality
filter.August 4, 2020 at 6:15 am in reply to: Too few arguments to function av_responsive_images::handler_wp_jpeg_quality() #1235040This reply has been marked as private.September 13, 2019 at 10:09 am in reply to: recaptcha not working on my site since update to 4.6 #1137880Yes, latest version.
September 13, 2019 at 3:13 am in reply to: recaptcha not working on my site since update to 4.6 #1137748@comelen If the checkbox is not related to reCAPTCHA, you should start a new thread for this issue, and post your page URL.
September 12, 2019 at 4:58 am in reply to: recaptcha not working on my site since update to 4.6 #1137356I’m having the same problem. Both v2 and v3 work at the back end, but not on the contact form, although no error messages appear in the browser console.
My site is actually only targeting people in Australia, where there’s no need to opt-in to receive cookies, so cookie consent messages are all disabled and should remain disabled.
Minor thing: the container class for the error message is “avia-disabled-forn” (with CSS to match) and should be “avia-disabled-form”.
- This reply was modified 5 years, 2 months ago by supporthealthclinic.
-
AuthorPosts