Alexander Herzog
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Google reCaptcha not workingSorry, I figured it out ….
in my case, the script was blocked by borlabs-cookie at first and when it was loaded, the DOMContentLoaded event was never fired – as the script is loaded after DOMContentLoaded event.
Added a dispatchEvent after “unblocking” the script and everything worked again 😀- This reply was modified 1 year, 2 months ago by Alexander Herzog.
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] Ignore custom GET parameterDear @emrevona
Thank you, for the update! The download you’ve provided works as expected.
First, I only update the plugin via WordPress updates user interface, but it didn’t work.
Then I used the link you’ve provided and it worked as expected.
Is this expected behaviour? It’s not mentioned in the changelog as well.Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] Ignore custom GET parameterThank you for your time and response.
I want utm params, fbclid, srsltid and other tracking params to be ignored in terms of creating the cache-filename.
So pages will be served from cache as if those params are not present at all. Pages will be served from main cache.
so https://ongema.com/?srsltid=abc should use the cached version of https://ongema.com/
and if possible, i’d like to set a list of params my self in case another tracker pops up.
- This reply was modified 1 year, 2 months ago by Alexander Herzog.
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] New Google product tags “srsltid”@emrevona I guess the question is: is it possible to add srsltid to the list of “ignored” query params like fbclid is?
What would really speed up serving these requests from google.the option[‘text’] holds the content of the Layer.
so, do_shortcode should do the trick.be aware, that learnpress 4.0 is here and that the LP_Certificate_Layer may not be available any longer….
class LP_Certificate_Shortcode_Layer extends LP_Certificate_Layer { public function apply( $data ) { $this->options['text'] = do_shortcode('[your-code course_id="' . $data['course_id'] . ']'); } }Hi @kitkaanka77
i tried:
add_filter( 'certificates/fields', function($fields) { $fields[] = array( 'name' => 'shortcode', 'icon' => 'dashicons-smiley', 'title' => __( 'Shortcode', 'learnpress-certificates' ) ); return $fields; }); if (class_exists('LP_Certificate_Layer')) { class LP_Certificate_Shortcode_Layer extends LP_Certificate_Layer { public function apply( $data ) { if (function_exists('get_field') && !empty( $data['course_id'] ) ) { $this->options['text'] = get_field('stundenanzahl', $data['course_id'] ); } else { $this->options['text'] = $this->options['text']; } } } }in functions.php of my child theme… i have not tested it enough, but seems to work for me
Forum: Themes and Templates
In reply to: [Hello Elementor] Conflict with LearnPress PluginNo problem – you might need to fiddle with archive-course.php
I just found sensei – I guess those guys at least know WordPress a little better 😆
Forum: Themes and Templates
In reply to: [Hello Elementor] Conflict with LearnPress PluginOK! After about an HOUR of debugging here is the solution:
* go to your hello-theme-folder (or childtheme).
* copy index.php (of hello-elementor) to single-course.php
* copy index.php (of hello-elementor) to archive-course.phpcheck results!
learnpess uses
if(get_option( 'template' ) == 'twentytwenty' ){ $template = get_singular_template(); }somewhere in the code – how crappy is that?
Forum: Themes and Templates
In reply to: [Hello Elementor] Conflict with LearnPress PluginDid you find any solution for that?
ok, can I see that board somewhere so I can check on the status, or will you reply here?
Forum: Plugins
In reply to: [Weight zone shipping for WooCommerce] Max weight does not applyFor 1) i had to change calculate_shipping function in
oik-weight-zone-shipping/class-oik-weight-zone-shipping.php
by adding the current weight to the ID of the rate. something like'id' => $this->id . "_" . $this->instance_id. '_' . ($weight*100)
i think this is a wc “feature”2) just add somehing like 1.91|12|EU Letter over 2000g
—
do you have WPML installed? check your string translations for the displayed term
- This reply was modified 9 years, 1 month ago by Alexander Herzog. Reason: WPML