daymobrew
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] PLL_Model does not have method get__language warningI scanned the support topics without clicking through. Thanks for the link.
I can see the tag (‘hotel’) referenced at http://corkentertainmentdev.com/events/tags/ though I get a 404 when I click on ‘hotel’
I enabled tags for locations via:
function ce_add_location_taxonomy() { // create a new taxonomy register_taxonomy_for_object_type(EM_TAXONOMY_TAG, EM_POST_TYPE_LOCATION); } add_action( 'init', 'ce_add_location_taxonomy' );When I look at the $taxonomies_array via ’em_object_taxonomies’ filter I see:
array ( 'category' => array ( 'name' => 'event-categories', 'slug' => 'events/categories', 'ms' => 'event-category', 'context' => array ( 0 => 'event', ), 'query_var' => 'event-categories', ), 'tag' => array ( 'name' => 'event-tags', 'slug' => 'events/tags', 'context' => array ( 0 => 'event', 1 => 'location', ), 'query_var' => 'event-tags', ), 'event_types' => array ( 'name' => 'event_types', 'context' => array ( 0 => 'event', ), 'slug' => 'event/event_types', 'query_var' => 'event_types', ), )I don’t think that this applies here because EM does not use WP_Query to retrieve the list of locations – it uses direct SQL.
I use the ‘tax_name’ field because I saw it mentioned in the EM_Object::build_sql_conditions() method.
See: http://plugins.svn.wordpress.org/events-manager/trunk/classes/em-object.php
and search for “START TAXONOMY FILTERS”Forum: Plugins
In reply to: [Contact Form 7] French translation missing at least 3 stringsThe German file did not need to be updated.
Forum: Plugins
In reply to: [Contact Form 7] French translation missing at least 3 stringsI used POEdit 1.7.5 to update the French PO file:
http://pastebin.com/RLKQgPWD
I translated a few of the language strings e.g. French (France) using existing strings and a bit of French knowledge. I left other new strings in English.Forum: Plugins
In reply to: [Contact Form 7] French translation missing at least 3 stringsWhat do you suggest? Should I contact the translation team listed in the file?
That sounds like an issue with those themes – maybe they are doing something wrong too.
Do you know some of the themes that break? I would like to try to debug them too.
Forum: Themes and Templates
In reply to: [Customizr] Notice: Undefined index: tc_slider_default_heightFixed by @d4z_cOnf in github.
Forum: Themes and Templates
In reply to: [Customizr] Notice: Undefined index: tc_slider_default_heightI didn’t set the slider height but the customiser shows it as 500px.
See: http://imgur.com/9IoJz1mI will submit my patch via a pull-request when I get a chance.
Forum: Themes and Templates
In reply to: [Customizr] Notice: Undefined index: tc_slider_default_heightAnd I have WP_DEBUG set to true.
Forum: Themes and Templates
In reply to: [Customizr] Notice: Undefined index: tc_slider_default_height3.2.17.
I am using it on a Multisite installation.I think that I found a solution that Marcus recommends: https://wordpress.org/support/topic/submit-eventslocations-through-api?replies=10
I will try that later.
Here is the code I was using to create from a CSV file (with pipe delimiters rather than commas).
http://pastebin.com/CMHCBStdThe address/city/town etc info (the “Where” meta box in the Events/Locations/Edit Location admin page).
I think that I have worked around it by running a script to call wp_insert_post() to set the title/content/slug and then the appropriate update_post_meta() to include the _location_longitude type post meta. This works, with the locations now listed under Events/Locations.
The only thing that concerns me is that my posts are all in the wp_posts table but locations entered via Events/Locations are in the wp_em_locations table.
I thought that Locations was regular custom post type (it’s registered via register_post_type) but then the info goes into a different table!??I have managed to get the locations imported – the code that I used to generate the xml file did not update the wp:post_id field. I fixed that.
Now the metadata is not showing up with each location though it is in the database.