eddt
Forum Replies Created
-
Thanks for the feedback. I was able to get the DB to replicate correctly via PhpMyAdmin by tweaking some settings when exporting and importing. I’ve speculated that the “view” created in question might be from the ACF/Yoast tool but I’m not sure.
In answer to your suggestion, the DB without the “view” did seem to work just fine, and didn’t seem to cause errors on the staging site, so it probably can be removed. I’d just assumed that because it was populated with Yoast data, it was a Yoast view.
Forum: Plugins
In reply to: [Easy Testimonials] ‘Read More’ going to dead linksNot my thread, but +1 Internets for you for following up!
Forum: Reviews
In reply to: [SharpSpring Wordpress] Oh holy crap but this is an excellent plugin!You know what would be great? Being able to “wrapper” large blocks of HTML with the shortcodes by using two “echo do_shortcode()” statements for the
[sswp-if-is-contact]and[/sswp-if-is-contact]codes.I’ve read that you can’t use the “slash” closing code to correctly “end” the code when you’re wrappering large blocks of content (several DIV tags), we’d need something like
[sswp-if-is-contact]and[sswp-if-is-contact-close].Any chance to add that “alternate” closing method? I’m going to try to hook it myself…
if anyone still needs such a thing, you can use my fork of David Paulsson’s original function – https://gist.github.com/eddt/ee1018f26f8fc195629a – and setting the ‘any-post-type’ value to ‘ccf_form’ in the get_id_by_slug function will return the ID, which can be dropped in your code like so:
if ( function_exists( 'ccf_output_form' ) ) { $form_id = get_id_by_slug('main-contact-form', 'ccf_form'); ccf_output_form( $form_id ); } else { echo 'contact form unavailable'; }Forum: Plugins
In reply to: [WP Store Locator] Multilple ZIP per locationThanks for the ideas here Tijmen. I’ve investigated further and it looks like setting a KML may not be the right approach, because they’re complicated to define in my case (some service providers cover 30-40 zip codes), and I don’t think they can be applied to the geolocation component of Google Maps.
I LOVE this plugin for its simplicity, even though I KNOW what its doing behind the scenes is very complex. It probably just isn’t ideal for this particular need.
But please, keep up the GREAT work you’re doing on this one – and I for one appreciate your commitment to your users!
Forum: Plugins
In reply to: [WP Store Locator] How to add a search input button to my home page ?Nice bit of kit, leowebdev, and works great until we get an official way to do this with a shortcode!
The ONLY problem I had was that my “find a location” page where I have my shortcode triggering was always submitting NULL whenever I loaded it, and removing the “view all locations” after it submitted NULL!
I fixed it by slightly changing your last bit of code to this:
if ($.urlParam('zip')) { // set the default value of a text input field $('#wpsl-search-input').val(decodeURIComponent($.urlParam('zip'))); // delay and click button setTimeout(function(){ $('#wpsl-search-btn').click(); },2000); }This way, when you go to http://www.yourdomain.com/find-a-location/ your javascript doesn’t trigger – it will ONLY trigger when the urlParam is set.