fungus
Forum Replies Created
-
Hello, I see from the status that this issue was resolved. What VC version fixes it? Thanks!
Forum: Plugins
In reply to: [Ajax Login/Register for WooCommerce] Session errors break page in debug modeMy pleasure, thanks for the quick reply!
Forum: Plugins
In reply to: [Polylang] Edit String Translation ProgrammaticallyNormally, if you insert the terms using WP’s wp_insert_term(), you are returned a term ID and it’s corresponding taxonomy ID:
https://codex.wordpress.org/Function_Reference/wp_insert_term
So if you use it like this:
$inserted_term = wp_insert_term( $args );
.. you can find your term ID (provided WP did not return an error) in:
$inserted_term[‘term_id’] or something like that.[[ although after re-reading your question, I am not sure you are working with strings or WordPress terms ]]
- This reply was modified 6 years, 5 months ago by fungus.
Ok you killed it 🙂
Actually, it worked in showing the non public ones only, not all of them. Anything I may have missed?
Michael,
That worked like the devil! 🙂
Thanks for the prompt reply, the working solution, and having thought way ahead.
Best regards,
WallyForum: Plugins
In reply to: [WP Go Maps (formerly WP Google Maps)] Translate custom strings[update to my own questions above: no, markers, maps, categories and all wp-google-maps data are in custom tables, so polylang or other multilingual plugins will not be able to translate these entries].
Forum: Plugins
In reply to: [WP Go Maps (formerly WP Google Maps)] Translate custom stringsAnother question that I hope remains borderline on topic is, how compatible is wp-google-maps with polylang?
Polylang allows translation of custom post types and taxonomies. But I suppose markers on a map are not cpts?
A workaround I am prospecting at the moment is to create a JSON output directly from a custom query, which I should be able to parse in angular to get the app to display upcoming events.
I am using these tutes:
http://www.codechewing.com/library/output-wp-post-as-json-in-new-page/
https://webdevstudios.com/2015/07/09/creating-simple-json-endpoint-wordpress/Still, allowing us to control certains fields’ output in the REST API will be helpful for so many further things, like controlling bookings from the app etc…