Balders
Member
Posted 11 months ago #
Hi there,
when I use the wp inbuilt search function and enable the "Include in WordPress Searches? Yes" at em I get an error message like:
Warning: Invalid argument supplied for foreach() in /homepages/43/d409970327/htdocs/wp-content/themes/swagger/functions/oswc-post-types.php on line 878
When I switch to "Include in WordPress Searches? No" the error disappears.
Any ideas?
Cheers
http://wordpress.org/extend/plugins/events-manager/
agelonwl
Member
Posted 11 months ago #
hi,
can I know what's in this line ?
Warning: Invalid argument supplied for foreach() in /homepages/43/d409970327/htdocs/wp-content/themes/swagger/functions/oswc-post-types.php on line 878
Balders
Member
Posted 11 months ago #
Hi agelonwl,
of course you can, thanks for helping out.
Here we go:
foreach($meta_fields as $meta){
Cheers
agelonwl
Member
Posted 11 months ago #
Balders
Member
Posted 11 months ago #
Hi again,
is there a shortcode/widget for an event manager search only and leave the inbuilt wp search in peace?
Cheers
agelonwl
Member
Posted 11 months ago #
Balders
Member
Posted 11 months ago #
Thanks,
but I need a shortcode for the homepage - just a text field and a button. For the event list page the whole search form with categorys and date etc.
Is it possible to create a custom shortcode? Or how would I do that?
Cheers again for your patience
at the moment, you'd have to limit the fields you display on all search forms with Settings > Formats > Search form