• Resolved carobell

    (@carobell)


    Map is glitching all over the page, scrolling makes it worse and I cannot figure out what I can do to make it right.

    There are no errors on the servers logs.

    I made the change to the “Single location page format” but it does not seem to have changed anything.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 16 through 24 (of 24 total)
  • Thread Starter carobell

    (@carobell)

    In that case, the theme seems to be the problem. I switched to twenty-nineteen and the map now shows up, no file editing needed.
    I am seeing how I can make it work in costum-community since that is the theme I am using.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Ah, well at least we finally found the problem… ??
    I have installed the Custom Community theme on my localhost and guess what? It completely screws up my map as well. Let me se if I can find the problem in the theme.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    I contacted the author of the theme. Waiting on a reply.
    It seems the theme is doing something to the_content(). So for now, you could do this little work-around.

    In themes/custom-community/content-single.php, go to line 52 and change:
    <?php the_content(); ?>

    to:

    <?php
    if(is_singular('event')) {
    	global $EM_Event;
    	$content = get_option('dbem_single_event_format');
    	echo $EM_Event->output( $content );
    } else {
    	the_content();
    }
    ?>

    That will bypass all other filters, except for the Events Manager output. The if statement will only make sure normal pages are left alone. ??

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Oh… and to get rid of the errors caused by Google Fonts, change three lines in the theme’s functions.php.

    Lines 234, 238 and 241, change https:// to https:// ??

    Thread Starter carobell

    (@carobell)

    Omg! You are amaizing!
    Works exactly as it should now ??

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    *blush* !!! ??
    Thanks. I’m just glad we got it working ??

    Be sure to check other EM generated pages as well. It seems the theme doesn’t handle the EM_Event Object very well.

    Thread Starter carobell

    (@carobell)

    I think there’s only the location page that also has maps on it, but I’m not really using it so (to me) it’s not that important that it works ??
    I’ll see if cc ever updates there code to make it work, but for now this is perfect for me ??

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    On my localhost it did not process the single event layout at all, only what was in the content section of the Edit Event page. So it might be that you will need to check it anyway.
    If you run into anything. you know where to find me ??

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    This is the reply I just received from the theme author:
    Thank you for reaching out to us!
    I apologize for the inconvenience, but unfortunately, Custom Community is no longer part of Macho Themes’ repository for a couple of years now. We no longer support or update it, I’m sorry.
    However, we appreciate the feedback, thank you.

    So, All I could do was reply that they should delete the theme from the WP repository then.

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘Broken map’ is closed to new replies.