Jacob Dubail
Forum Replies Created
-
Thanks @yward!
I’ve updated the code so only the xfbml.customerchat.js file loads. My challenge is that now I don’t get our fb-like button or customer chat loading. We no longer load sdk.js anywhere on the site. Any ideas? The fb-like code looks like:
<div class=”fb-like” data-href=”<?php the_permalink(); ?>” data-layout=”button_count” data-size=”large” data-action=”like” data-share=”false” data-show-faces=”false”></div>
1. use something like Advanced Custom Fields to add a checkbox option to posts/pages. I use a true/false field.
2. Then, in the plugin, don’t let it auto-insert the script. Copy that script into your footer.php (probably) and
3. only output it if the current post/page/whatever has the checkbox checked.Forum: Plugins
In reply to: [Math Captcha] Undefined Constant AUTH_KEYoh duh! Too early in the morning for me. I’m in a local dev environment so didn’t have my salts setup. oops.
Thanks for the wake up call ??
Forum: Plugins
In reply to: [W3 Total Cache] exclude body_class from cacheCould really use a response here. I’ve lost all of my context-specific styles. thanks!
Forum: Plugins
In reply to: [WP Customer Reviews] Pro VersionSame question.
Forum: Plugins
In reply to: [WP-OAuth] I have an error with GoogleI get a very similar error, only for Google login: “Sorry, we couldn’t log you in. Malformed access token result detected. Please notify the admin or try again later.”
Did you ever get your issue figured out?
Forum: Plugins
In reply to: [ScrapeAZon] Review order different in Scrapeazon vs Amazon product pageThanks James!
Forum: Plugins
In reply to: [ScrapeAZon] Product Reviews from different countryThanks James!
I’ll check with the site owner about the origin of the Keys. I did select UK from the global settings, as well as set it to “—” to auto-detect, both of which resulted in 400 Bad Request errors.
Forum: Plugins
In reply to: [Greenhouse Job Board] jobs iframe displays below job listingsThanks for the reply!
I’ll uncheck that as soon as we cut over to the new site.
Forum: Plugins
In reply to: [Admin Command Palette] Custom FieldsThanks jhned!
I’ll move the convo over there, but using the REST API sounds like a grand idea.
I have a client need for custom field value lookup. Just one key, but need to be able to find posts quickly by a custom field value. Would be nice if there was a filter where I can add custom fields by key to the index.
Forum: Plugins
In reply to: [WP Store Locator] Custom Post Type for StoresThanks Tijmen!
I appreciate your speedy reply to my non-issue ?? I’d love an early peak at the 2.0 beta. I’ll shoot over an email now.
I needed some custom stuff done in the current version and was happy to see the wpsl_templates filter. I was able to setup my own template for the locator display. I then added mustache.js for a simple template engine and tweaked the wpsl-gmap.js file, which obviously isn’t upgrade proof. I was thinking of folding this code directly into my theme, but couldn’t find a way to wp_dequeue_script a script that is added from a shortcode. Oh well.
Cheers,
JacobForum: Plugins
In reply to: [Infusionsoft Gravity Forms Add-on] IP access not allowedAny ideas?
Forum: Plugins
In reply to: [Advanced Custom Fields: Validated Field] Repeater Field errorThanks for the quick reply! I totally understand. I found an alternative method that is a bit more manual, but seems to work for my repeater field needs ??
-Jacob
Forum: Plugins
In reply to: [WordPress Popular Posts] "Custom HTML Markup" inserting anchor automaticallyIt looks like around line 1234 of wordpress-popular-posts.php you need to add ENT_HTML5 to the htmlspecialchars_decode call.
$content .= htmlspecialchars_decode( $this->format_content($instance['markup']['post-html'], $data, $instance['rating']), ENT_HTML5 | ENT_QUOTES ) . "\n";
This allows us to wrap anchors around other block level elements.
-J