Adam Blodgett
Forum Replies Created
-
Hi PC –
Thanks for the reply.
Can you please ensure that you are running the latest version of the OptinMonster plugin?
Yes, I updated to the latest version: 2.13.2
…your web host is not blocking your connection to a.omappapi.com using a firewall?
I checked in with WP Engine and this is what they said:
From how the URL is being referenced no, if it was a block from our origin server it would be a white nginx 403 page but looking at the script url it references the url a.omappapi.com/app/js/api.min.js with a 403 which means its trying to pull from that URL but its being denined. I would suggest to reach out to the plugin developer and see if there is anything on our end we need to white list. Its an API so most likely there could be an IP we have to set up to be whitelisted.
Also, can you please share a link to a page where I can see that error in the console?
The issue seems to be coming from the word ‘defer’ which is being included in the URL. I’ve turned off all plugins and this error still happens when it’s only OptinMonster:
<script type="text/javascript" src="https://a.omappapi.com/app/js/api.min.js' defer " async="" id="omapi-script"></script>
It may be a theme issue. When I switch themes, this specific error goes away, so I’ll dig into a theme conflict as well.
Forum: Reviews
In reply to: [Shortcodes Finder] Works Great, but Not on PHP 8@scribit thanks so much for the responsiveness and the timely update!
I really appreciate your dedication to the project. Thank you!
Forum: Plugins
In reply to: [Social Media Feather | social media sharing] PHP 8 Conflict with YoastI was able to resolve this error by turning off and turning on again the ‘Shortcodes in Widgets’ settings on the plugin.
Thanks,
AdamForum: Plugins
In reply to: [Social Media Feather | social media sharing] PHP 8 Conflict with YoastAbsolutely.
Social Media Feather: Version 2.1.1
Yoast: Version 18.9Thanks!
AdamForum: Plugins
In reply to: [PDF Forms Filler for CF7] “certificate has expired at pdf-ninja.php”@maximumsoftware and @fierevere thanks to you both!
The error for my host is here: https://letsencrypt.status.io/
They’re currently engaged in updating it.
Forum: Plugins
In reply to: [PDF Forms Filler for CF7] “certificate has expired at pdf-ninja.php”Awesome. Thanks for the reco. I’ll give it a shot.
A.
Forum: Plugins
In reply to: [Image Carousel Module for Divi] Can’t Find Autoplay OptionThanks for the directions.
I don’t have that option on my carousel?
I only have “Slide Animation Speed”.
Is that due to other settings?
Thanks,
AdamHey,
Thanks for the update. I’m using Acrobat pro, but I’ll test on reader.
And I hear you on the stack switch. Starting from scratch is a lot of work.
Thanks!
AdamThanks Darren.
I contacted Media.net and they switched my ads from synchronous to asynchronous and this solved the conflict with the plugin.
For anyone else who might encounter this problem: once the switch has been made on your account, you have to update the ad code by recopying it from your media.net dashboard.
Forum: Plugins
In reply to: [CMB2] Output radio button value in repeatable groupI do have the code for the images in place, I simply didn’t include it.
I checked it this morning and everything is working fine. I have no idea what changed.
Thank you for your feedback and help!
Adam
Forum: Plugins
In reply to: How to get url of attached Image from CMB2 'file' Field typeConfirmed. Thank you for the explanation Justin.
Forum: Plugins
In reply to: How to get url of attached Image from CMB2 'file' Field typeJustin, thank you for the explanation. It worked perfectly.
I’m following up on the second part of the original post:
. I’m having this field in a metabox that only shows on a certain page template. That means that I don’t want to supply a fixed ID to the wp_get_attachment_image method because the field will be used on many pages as that share the same template.
What I found after about an hour of playing around is that CMB2 will not recognize templates outside of the main theme directory. I use FoundationPress (https://github.com/olefredrik/FoundationPress) as a base theme, which organizes page templates into a sub-folder of the main theme. When my page templates are stored in this folder, CMB2 won’t recognize them.
To solve my problem I moved my templates into the main theme, then I deactivated and reactivated CMB2 and the “show_on” filter worked perfectly.
Forum: Plugins
In reply to: How to get url of attached Image from CMB2 'file' Field typeBump. I’m running into exactly the same two issues.
I’ve tried deactivating all other plugins to no luck. I’ve also tried older versions of CMB2 that didn’t work.
WP v4.6
CMB2 v2.2.2.1Forum: Plugins
In reply to: [Polylang] Polylang [Development] Preferred Language for WP BackendBrilliant, worked perfectly. Thank you for all your help.
For others, here’s the code I ended up using:
function cmb_only_show_for_spanish( $cmb ) { global $post_ID; if (function_exists('pll_get_post_language')) { $lang = pll_get_post_language( $post_ID ); // Only show if status is 'es' return 'es' === $lang; } }
Forum: Plugins
In reply to: [Polylang] Polylang [Development] Preferred Language for WP BackendThanks for the quick reply.
I tried the information you provided, but I wasn’t able to get it to work. The pll_current_language() returns an empty variable in the WP dashboard.
I’d like to access the information in this metabox: https://imgur.com/13LDafO and then output it into a conditional for another metabox.
I’m building a CMB2 show_on_cb, but I’d like to use the Polylang data instead of CMB2 data.
Here’s an example of the CMB2 show_on_cb that I’m using: https://github.com/WebDevStudios/CMB2/wiki/Adding-your-own-show_on-filters#example-using-the-show_on_cb-to-limit-the-display-of-a-metabox-unless-metadata-exists
Thanks!