Daedalon
Forum Replies Created
-
Here’s the translation found in contact-form-7-fi.po, which is not applied here:
: modules/select.php:88
msgid “—Please choose an option—”
msgstr “—Valitse vaihtoehto—”The dash, as it’s rendered here, is
& #8212;in the file, minus the space.A few more related ones:
6. The default frontend template’s Location element doesn’t work correctly for virtual elements. It just displays the title, but the event URL. It’s also not making use of the event URL text that EM just forced me to type 🙁
As it is, this empty “Location” header would be better left undisplayed; but the real goal should be to display the link to the website. Although, as I argue in my other post, event website shouldn’t be confused with location, as all events can have a separate website, whether they have a location or not.
7. “Categories: No Categories” is also something that should be left off from the default template. Anything that adds visual heaviness to the UI and requires brain-time to read and interpret needs to be justified with information value, which this doesn’t provide. I’d suggest leaving this one as not displayed at all when there are no categories selected.
8. “Date/Time” is a weird header. It literally means “either or”, whereas the default content displays both. The correct header in this case would be just “Time”.
9. The subheader “Date(s) – ” is also redundant, and would be best removed from the default template. A date is recognizable from its formatting. Alternatively an icon can be used, like many WordPress themes do by default, taking less space and requiring no reading.
Upon updating to 13.0.4 today, I received the following at the bottom of the plugin update screen:
Disabling Maintenance mode… <strong>Fatal error:</strong> Uncaught Error: Class 'WP_Statistics_Updates' not found in /home/[account]/public_html/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics-welcome.php:78 Stack trace: #0 /home/[account]/public_html/wp-includes/class-wp-hook.php(287): WP_Statistics_Welcome::do_welcome(Object(Plugin_Upgrader), Array) #1 /home/[account]/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #2 /home/[account]/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/[account]/public_html/wp-admin/includes/class-plugin-upgrader.php(371): do_action('upgrader_proces...', Object(Plugin_Upgrader), Array) #4 /home/[account]/public_html/wp-admin/update.php(51): Plugin_Upgrader->bulk_upgrade(Array) #5 {main} thrown in /home/[account]/public_html/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics-welcome.php on line 78 There has been a critical error on your website. Please check your site admin email inbox for instructions.Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Creating Front End Submission forms@tatai1985, you can use the Pods shortcode. Create a new page and add
[pods name="pod" form="1"]where “pod” is the name of your custom pod. You can also use the shortcode generator right above the WordPress post/page editor.More info on the shortcode: https://pods.io/docs/learn/shortcodes/pods/
Regarding forms, the one thing I haven’t yet found out is how to include attached custom taxonomies in this form. https://ww.wp.xz.cn/support/topic/display-taxonomies-in-pods-form/ discusses that WP default taxonomies can’t be attached, which is almost but not exactly the same. Will look into it a bit more to see if it makes sense to open a separate thread about that.
- This reply was modified 6 years, 1 month ago by Daedalon.
Forum: Plugins
In reply to: [Search & Filter] Search / filter by custom fieldsTested with a field created using Pods, and it didn’t work. It seems that custom fields are not yet supported: https://github.com/rmorse/search-filter/issues/54
Forum: Plugins
In reply to: [Search & Filter] Change the type from dropdown to checkbox, not workingIf you have a bit more details to post, it may help someone figure out a solution for you 🙂 For example copy-pasting the shortcode you’re using could be helpful.
Forum: Plugins
In reply to: [Search & Filter] Search / filter by custom fieldsThe
fieldsparameter works for taxonomies and fields – hopefully also for custom fields. In http://docs.designsandcode.com/search-filter/:fieldsComma seperated list of any field names and Public Taxonomies:search
post_date
post_types
*public taxonomy names[searchandfilter fields="search,category,post_tag,taxonomyone,taxonomytwo"]- This reply was modified 6 years, 2 months ago by Daedalon.
Ok, thanks!
Thanks, @angelo_nwl. Figured this would be the case.
Is there any way to add a category to event before it’s saved?
Or does Events Manager do it internally so that when a new event with a category is created, you’re saving the event first without the categories, then adding the categories and then saving the event again?
Thanks for this, @angelo_nwl! It seems that this needs the event to have a post_id though. Is there a way to make this work before saving the event for the first time? Or is it mandatory to first save the event, then get its post_id, add categories with the above code, and then save it again?
Hi Angelo, thanks for this. No, I haven’t used that, only the above code. Would it be possible for you to share example code for how to create an event an add a category to it with a category ID number? That would be golden. Thanks in advance!
Hi @caimin_nwl, would you happen to have time to look at the issue? It’s still not resolved in 5.9.2.
The question is: what’s the recommended way to attach a category to an event in PHP?
The above code has worked well for years, with 5.7.3 being the last version it works in, and not working in anything from 5.8 onwards.
Hi, apologies for the delay. We’ve downgraded to 5.7.3 in the meanwhile and the import is working as it used to. Of course we’re now missing the performance and other improvements in EM 5.8 and after. Unfortunately we’re having less time to investigate these kinds of surprise issues as we would like to, and don’t exactly know what to describe more.
Would it be the best way forward if you could share example code how to create an event and add two categories to it in PHP so that it can be saved EM 5.8 and later? This would allow me to find differences in what we’re doing differently, and to run that code on our server to see if it gives errors in itself (meaning something else on our end is interfering with it). Thanks!
Still getting the same error with the dev version 5.8.1.21.