Title: Maps not rendering
Last modified: August 31, 2016

---

# Maps not rendering

 *  [gorbacheff](https://wordpress.org/support/users/gorbacheff/)
 * (@gorbacheff)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/maps-not-rendering/)
 * Hi Bastien,
 * thanks for your hard work at developing this plugin!
    I experience problem with
   map rendering on front end. The address is entered correctly and found by the
   script, $lat $long are stored in custom fields. But when I try to call [events_map]
   or [events_details], no map is shown.
 * — When i use [events_map], it renders me a list of events, like it’s [events_list],
   these the DIVs of events are wrapped with the following DIV (as my inspector 
   tells):
    <div class=”event_loop event_geolist ” id=”event_geolist1″ data-tile
   =”toner” data-data-disabled-interactions=””> I believe this is not a browser-
   related issue. More, when using a map widget – it works!! But I don’t need any
   widget, everything is managed via main content area (content lists, map,…).
 * — When I use [events_details], it gives me grey box with some event details but
   shows no map.
 * – More, the setting “show above or below content” does not work, I had to hardcode
   do_shortcode(‘events_details’) in my theme file, otherwise the box is not shown.
 * – what is %event_thumbnail%, how do I set it, and why don’t you allow us use 
   post featured images?
 * How can I make it work? Plugin looks simple, but fires many questions..
    Maybe
   that’s a typical issue I’m experiencing, or something in the core functionality
   I’m missing?
 * PS I’m using a paid theme, quite customized by me to adapt to my needs, fresh
   install from scratch over my older database. I’ve adjusted schema a bit in plugin
   settings, but there’s nothing special related to map.
 * PPS by the way, please consider adding any sort of pagination in the future releases!
 * [https://wordpress.org/plugins/event-post/](https://wordpress.org/plugins/event-post/)

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [Bastien Ho](https://wordpress.org/support/users/bastho/)
 * (@bastho)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/maps-not-rendering/#post-7081932)
 * Hi,
 * thank you for taking time to write this long report.
 * The map issue looks like a javascript bug. do you have anything in the console
   which could help ?
 * quickly for other questions :
 * – event_thumbnail is option to display the post thumbnail
    – pagination is in
   the roadmap
 *  Thread Starter [gorbacheff](https://wordpress.org/support/users/gorbacheff/)
 * (@gorbacheff)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/maps-not-rendering/#post-7081935)
 * No errors in the console (
    I have nothing that could help finding the problem
   point..
 *  Plugin Author [Bastien Ho](https://wordpress.org/support/users/bastho/)
 * (@bastho)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/maps-not-rendering/#post-7082037)
 * Could you at least give me an URL where the problem occurs ?
 *  Thread Starter [gorbacheff](https://wordpress.org/support/users/gorbacheff/)
 * (@gorbacheff)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/maps-not-rendering/#post-7082038)
 * Bastien, looks like the plugin is broken overall on my site.
 * 1) The link to special page, which you can use
    [http://dev.infographer.ru/karta-sobytij/](http://dev.infographer.ru/karta-sobytij/)
   It is a ‘page’ type page, filled with shortcodes, the whole contents is:
 * START MAP // these texts in caps are for seeing where module work starts and 
   ends visually.
    [events_map nb=”-1″ future=”1″ past=”1″] END MAP, START LIST [
   events_list undefined=”list” nb=”5″ future=”1″ past=”1″ geo=”1″] END LIST, START
   CAL [events_cal] END CAL
 * 2) If you check [http://dev.infographer.ru/sobytie-4/](http://dev.infographer.ru/sobytie-4/),
   it has empty map
    The address is geo-coded correctly, I can even use lat and 
   long custom values if I want to build my own map..
 * 3) On the right sidebar, down there, you see list of events, but it is… MAP WIDGET.
   
   I don’t get, why the _map_ shows List of events instead..
 * PS tried reinstalling plugin. Looks like I have to try to make a fresh install
   of WP to identify the problem.
 *  Plugin Author [Bastien Ho](https://wordpress.org/support/users/bastho/)
 * (@bastho)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/maps-not-rendering/#post-7082039)
 * can you try to remove the “tagcloud” widget please ?
 *  Thread Starter [gorbacheff](https://wordpress.org/support/users/gorbacheff/)
 * (@gorbacheff)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/maps-not-rendering/#post-7082040)
 * whhoooops… It works.
 * It was a custom function that I wrote to get the list of tags related to specific
   post category. Simple code, I can’t identify where the problem comes from…
 * The code is below, for your reference. For sure, there is a conflict. As far 
   as I see maps now, I’ll try to rework my tags function..
 * Howerver, as for the single post page, the problem still exists, have a look 
   [http://dev.infographer.ru/event-5/](http://dev.infographer.ru/event-5/) . Removing
   the function from functions.php makes no difference.
 *     ```
       function get_category_tags($category){
       	query_posts('cat='.$category);
       	if (have_posts()) : while (have_posts()) : the_post();
               $posttags = get_the_tags();
       		if ($posttags) {
       			foreach($posttags as $tag) {
       				$all_tags_arr[] = $tag -> term_id;
       			}
       		}
       	endwhile; endif; 
   
       	$tags_arr = array_unique($all_tags_arr);
       }
       ```
   
 *  Plugin Author [Bastien Ho](https://wordpress.org/support/users/bastho/)
 * (@bastho)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/maps-not-rendering/#post-7082041)
 * No matters
 * for your information, your bug is in **jquery.st.js** around here:
 *     ```
       st('.tagcloud a').each(function(){
           var number = st(this).attr('title').split(' ');
           number = '<span>' + number[0] + '</span>';
           st(this).append(number).attr('title','');
       });
       ```
   
 * I mark this topic has “not a bug” 😉
 *  Plugin Author [Bastien Ho](https://wordpress.org/support/users/bastho/)
 * (@bastho)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/maps-not-rendering/#post-7082042)
 * `st(this).attr('title')` returns a jQuery object, not a string, so you can’t 
   split it.
 *  Thread Starter [gorbacheff](https://wordpress.org/support/users/gorbacheff/)
 * (@gorbacheff)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/maps-not-rendering/#post-7082044)
 * Okay, that’s clear. Still, as I noted above, for the single post page the problem
   still exists..
    Have a look [http://dev.infographer.ru/event-5/](http://dev.infographer.ru/event-5/)(
   no tagcloud is fired there)
 *  Thread Starter [gorbacheff](https://wordpress.org/support/users/gorbacheff/)
 * (@gorbacheff)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/maps-not-rendering/#post-7082057)
 * Bastien,
 * In addition to msg above (re: post map issue), fresh update to 4.2.1 now results
   in error
    `Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter
   1 is not of type 'Node'.` For your reference, check the same page [http://dev.infographer.ru/karta-sobytij/](http://dev.infographer.ru/karta-sobytij/)(
   map was working well).
 *  Plugin Author [Bastien Ho](https://wordpress.org/support/users/bastho/)
 * (@bastho)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/maps-not-rendering/#post-7082067)
 * Is it better with the last version ?
 *  Thread Starter [gorbacheff](https://wordpress.org/support/users/gorbacheff/)
 * (@gorbacheff)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/maps-not-rendering/#post-7082068)
 * _updated 4.2.1 -> 4.2.2_
    — Map is working, confirmed ([http://dev.infographer.ru/karta-sobytij/](http://dev.infographer.ru/karta-sobytij/))—
   Event details is not working (see [http://dev.infographer.ru/event-5/](http://dev.infographer.ru/event-5/)).
   Console shows no errors. Any ideas?
 * It might be of importance to mention the fact that, for a single post, the event
   details box is NOT starting automatically (I suppose it should be, for every 
   of the “event” posts?). I had to hard-code it in single.php, firing the event_details
   shortcode, in the place you see it now (otherwise, nothing shows). I suppose 
   hard-coding is not the way it should be, as it makes the “Event bar position 
   for single posts” setting pretty useless.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Maps not rendering’ is closed to new replies.

 * ![](https://ps.w.org/event-post/assets/icon.svg?rev=2678301)
 * [Event post](https://wordpress.org/plugins/event-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/event-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/event-post/)
 * [Active Topics](https://wordpress.org/support/plugin/event-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/event-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/event-post/reviews/)

 * 12 replies
 * 2 participants
 * Last reply from: [gorbacheff](https://wordpress.org/support/users/gorbacheff/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/maps-not-rendering/#post-7082068)
 * Status: not a support question