mw247
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] reCaptcha not working with UserCentricsSite is behind a firewall and not publicly accessible.
I’m able to use add_filter to change the script type to “text/plain” and add the UserCentrics data-usercentrics=”reCaptcha v3″ attribute but not able to get a consistent _wpcf7_recaptcha_response token.
add_filter( 'script_loader_tag', 'usercentrics_cf7_google_recaptcha', 10, 3 );
function usercentrics_cf7_google_recaptcha( $tag, $handle, $src ) {
if ( 'google-recaptcha' == $handle ) {
$tag = '<script type="text/plain" src="' . $src . '" id="' . $handle . '-js" data-usercentrics="reCaptcha v3"></script>';
}
return $tag;
}
add_filter( 'script_loader_tag', 'usercentrics_cf7_wpcf7_recaptcha', 10, 3 );
function usercentrics_cf7_wpcf7_recaptcha( $tag, $handle, $src ) {
if ( 'wpcf7-recaptcha' == $handle ) {
$tag = '<script type="text/plain" src="' . $src . '" id="' . $handle . '-js" data-usercentrics="reCaptcha v3"></script>';
}
return $tag;
}FAQs were not assigned to the parent category, only to the child category.
Assigning an FAQ to both the parent & child category does not work either.
I think the issue might be with using a parent category. The shortcode does not work if I use a parent category as the value for include_category. It does work though if I add the comma separated child categories. Using the parent category was working until I updated from 1.9.10 to 2.1.6.
Could you share the exact shortcode you’re using, including the value?
[ultimate-faqs include_category=’getting-started’ post_count=4]
Please note that the include_category attribute takes the category slug as its value (not the ID or the name, etc.).
Correct, I am using the slug.
What happens if you use the Gutenberg block instead of the shortcode?
Shortcode works if using a Gutenberg block.
I am passing the shortcode from an Advanced Custom Field input then displaying using do_shortcode().
[ultimate-faqs include_category=’xxxxxxx’] in Version 2.1.6 not working for me. Is there an admin panel setting I need to change?
Forum: Fixing WordPress
In reply to: Problems with common.min.css in 5.8Also having an issue with common.min.css. The following snippet is overwriting paragraph styles. Perhaps the comma should be removed.
.wp-die-message, p { font-size: 13px; line-height: 1.5; margin: 1em 0; }- This reply was modified 4 years, 6 months ago by mw247.
Forum: Plugins
In reply to: [Split Test For Elementor] Conversion tracking not working on ProdConfirmed that pro version works with Amazon Cloudfront.
Forum: Plugins
In reply to: [Split Test For Elementor] Conversion tracking not working on ProdThanks, I’ll purchase the pro version to try it out.
Forum: Plugins
In reply to: [Price Based on Country for WooCommerce] Geolocation not workingThanks, this was user error on my part. I did not see the “General options | Pricing zones” navigation above the “General Options” headline. In my defense, the Zone Pricing nav is really small text and gets lost in the view.
Forum: Plugins
In reply to: [Duplicate Page] Not working on home pageTested on a fresh WP install and everything works as intended. There must be some sort of conflict on the site I’m working on that is causing the issue. If I track it down, I’ll post an update.
Forum: Plugins
In reply to: [Easy Foundation Shortcode] Rows broken in mobileResolved.
Forum: Installing WordPress
In reply to: White screen in admin area after adding widgetFound the problem. 2.7(not sure if version matters) preferred this…
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(Farright) ) : else : ?>Instead of this…
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(Farright) ) : ?>Forum: Fixing WordPress
In reply to: Change page URL name, not just category/post URLThanks for the help so far…
There is a pretty permalink to edit on the edit page for the page. I guess it’s not working for the pages for some reason. I did have to add the changes for the permalinks to the .htaccess file. I wonder if that had something to do with it?