Joe Hana
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] wpcf7_add_form_tag not workingAs far as I can tell: Yes. This is a change being made in Contact Form 7 v4.8 but @takayukister can answer this probably better.
- This reply was modified 7 years, 9 months ago by Joe Hana.
Forum: Plugins
In reply to: [Contact Form 7] wpcf7_add_form_tag not workingYou’re welcome Dan.
From your example code on line 9 it should also say:
$name = $tag->name;
instead of
$name = $tag['name'];
Forum: Plugins
In reply to: [Contact Form 7] wpcf7_add_form_tag not workingHey,
yes thats fine. That (object vs array) was basically anyway the main issue on the whole thing. However, you might also find a solution for swaping the wpcf7_add_shortcode with the wpcf7_add_form_tag just in order to be save for future updates of CF7.
On a sidenote: The wpcf7_add_shortcode doesn’t do anything other than only wrapping the wpcf7_add_form_tag (see contact-form-7/includes/shortcodes.php) – so the issue must be quite easy to solve.
Forum: Plugins
In reply to: [Contact Form 7] wpcf7_add_form_tag not workingHave you tried the modified code from above?
Forum: Plugins
In reply to: [Contact Form 7] wpcf7_add_form_tag not workingAnd if it is working try to use wpcf7_add_form_tag instead of wpcf7_add_shortcode and re-check again. This is because the wpcf7_add_shortcode is deprecated and will be removed soon anyway.
Forum: Plugins
In reply to: [Contact Form 7] wpcf7_add_form_tag not workingTry the following code instead and let me know if it is working for you:
wpcf7_add_shortcode('opt_out', 'wpcf7_opt_out_shortcode_handler', true); /*[opt_out opt_out]*/ function wpcf7_opt_out_shortcode_handler($tag) { if (!is_object($tag)) return ''; $name = $tag->name; if (empty($name)) return ''; $output = ""; $opt_out_text = get_field('opt_out_text', 'option'); $output .= "<div style='clear: both;'></div>"; $output .= "<div class='checkbox clearfix'>"; $output .= "<input type='checkbox' id='opt_out' name='opt_out' value='Opt out'>"; $output .= "<label class='round-check opt_out' for='opt_out'></label>"; $output .= "<p class='small'>".$opt_out_text."</p>"; $output .= '<input type="hidden" id="opt_out" name="opt_out" value="no" />'; $output .= "</div>"; return $output; }
Forum: Plugins
In reply to: [Contact Form 7] wpcf7_add_form_tag not workingHaving quite the same issue here and am currently inspecting it. Do you have a sample of your code available?
Forum: Plugins
In reply to: [WPCasa] Listing type orderHello Dan,
it is possible to change the order, but there is currently no option to group certain listing types (as I have understood your request).
With the release of WPCasa 1.1.0 (which should land in march) we will order listing types and listing locations in the search form, alphabetically by default. In the meantime you can use the following snippet to do this:
/** * Order Listing Types by Name in Search Form */ add_filter( 'wpsight_get_search_fields', 'custom_get_search_fields' ); function custom_get_search_fields( $fields ) { $fields['listing-type']['data']['orderby'] = 'name'; return $fields; }
See here how you can add custom snippets to your site.
All the best,
Joe [WPCasa]Forum: Plugins
In reply to: [EDD - FastBill Integration] Action Links MissingWell, I guess all those who have just started with EDD and had already some payments, but I can understant your point tough.
Is this a specific url with parameters to fire this “manually”?Forum: Plugins
In reply to: [EDD - FastBill Integration] Action Links MissingOh ok, then it seems I misunderstood something. So that process gets only fired automatically if a paymant has been made, but it won’t work to make this on a click on a link?
Forum: Plugins
In reply to: [EDD - FastBill Integration] Action Links MissingYes, at least for the last payment since the plugin is active. Thought I could fire it “manually” for the payments before the plugin was active in order to have everything in FastBill without manually generating each invoice there.
Forum: Plugins
In reply to: [EDD - FastBill Integration] Action Links MissingIn the payment history. See screenshot here https://drive.google.com/file/d/0BzbUw-VVZPVxR2dScUdIWlVIdWc/view?usp=sharing
As per the description I thought there should be additional links added from EDD FastBill?
Thanks for all your efforts.
Forum: Plugins
In reply to: [EDD - FastBill Integration] Fatal Error on Plugin ActivationHey again,
thanks for looking into this.
In the meantime I had a look by myself and found that it might be not so good to throw an Exception if the fastbill_email and the fastbill_api_key is missing, if there wasn’t even a chance to set it. So I commented that part within the fastbill-functions.php construct__
Further I found that on some parts in the fastbill-functions.php where an Exception gets thrown that the Backslash is missing before. (\Exception instead of just Exception).
I changed this too, and got the plugin working finally. Then went to the settings, entered my fastbill email and api key and then I could re-apply the check in the construct__ back again. Now everything is working fine for me.
Hope this helps to find a permanent solution.
All the best,
JoeForum: Plugins
In reply to: [WPCasa] Listings map infobox on click & close optionHello,
thank you for your kind words.
Unfortunately this is currently not possible but we plan to add some additional options in one of the next releases to choose between hover and click and optionally have an close button. Please allow us some more time until we can implement this.
For future questions about our premium plugins please refer to our premium support on https://wpcasa.com/support
All the best,
Joe [WPCasa]Forum: Plugins
In reply to: [Mailchimp List Subscribe Form] !!! Fatal Error