Mohammad Sabbagh
Forum Replies Created
-
I found a solution
if (empty($_POST)) {} //indicates its not search result
Thanks Angelo.
The problem is I have featured events section in homepage (which is the same events page) so i want take them off when someone do search.
Is there any flag that indicate its search result ?
Thanks again
Forum: Reviews
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Jalali CalendarCan you explain more please
Thanks you all, Philipjohn found the problem 🙂
it works well now
here is another test site with the latest wp version 3.9 and EM Version 5.5.2
http://globaleyelive.com/test/
the same results
WordPress 3.8.3
EM Version 5.5.2the thing is it shows on the calendar as 1 day event (only 22nd aprill)
but its a multiple days event that should shows in (22,23 and 24th of Aprill)I hope my explanation is clear
Please let me know if its not clear enough 🙂
Many thanks for your help
Thank you Caimin
here is the link of the event
http://www.globaleye.com/events/cityscape/
is there anything i should in the setting? or in the event page ?
can you try this it works for me
if ( function_exists( 'wpcf7_add_shortcode' ) ) { wpcf7_add_shortcode( 'guest', 'wpcf7_text_shortcode_handler', true ); }anyway this error shows only when you update the plugin
so for now you can comment this line while updating
//wpcf7_add_shortcode( ‘guest’, ‘wpcf7_text_shortcode_handler’, true );
Sorry it seems my solution is not correct
i will be back if i found good solution
in “function.php” template file
explaining:
before few versions of this plugin we used to write for example:
wpcf7_add_shortcode( 'guest', 'wpcf7_text_shortcode_handler', true );or
add_action( 'init', 'xxxxx_wpcf7_add_shortcode' ); function xxxxx_wpcf7_add_shortcode() { wpcf7_add_shortcode( 'guest', 'wpcf7_text_shortcode_handler', true ); }Later on this code cause error when u update or disable the plugin
so i found checking if the plugin is active will solve the issue
as followingif ( is_plugin_active( 'contact-form-7/contact-form-7.php' ) ) { wpcf7_add_shortcode( 'guest', 'wpcf7_text_shortcode_handler', true ); }Thanks Takayuki
i think i found the cause of the problem is when i update or deactivate the plugin, the error show because
wpcf7_add_shortcode function wont be there
THE SOLUTION i found
if ( is_plugin_active( ‘contact-form-7/contact-form-7.php’ ) ) {
wpcf7_add_shortcode(…
}Forum: Plugins
In reply to: [Contact Form 7] Sending submissions to text number