Events Manager
[resolved] How work it with Theme "Tribune" (WPZOOM) (10 posts)

  1. igaf
    Posted 3 years ago #

    Good morning.

    With the Standard Theme it works. But with my Tribune-Theme it didn't works. I can set up an event. But after that, it appears nothing.
    I check different Permalinks settings, but nothing works.

    An Event:
    e.g. http://www.antifeministenzeitung.ch/events/vater-im-hungerstreik

    Did anybody have an idea? (I m a beginner)

    Thanks a lot


  2. agelonwl
    Posted 3 years ago #


    I found this error on your site which I think is the problem

    Uncaught ReferenceError: fix is not defined vater-im-hungerstreik:106
    onload vater-im-hungerstreik:106

    can you also try to disable all other plugins?

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    looks to me like you have a PHP error here. You'll need to check your php error logs or alternatively turn on WP_DEBUG


    you'll probably want to contact your theme maker about this and point them to this thread if need be.

  4. igaf
    Posted 3 years ago #

    Thanks. Now I have the error:
    You are here: Home ยป Notice: Undefined offset: 0 in .....wordpress/wp-content/themes/tribune/functions/theme/functions.php on line 183 Catchable fatal error: Object of class WP_Error could not be converted to string in ...../wordpress/wp-content/themes/tribune/functions/theme/functions.php on line 184

    But it ist difficult the line 183 and 184 in the functions.php:
    /* Breadcrumbs
    ==================================== */

    } elseif ( is_single() ) {
    $cat = get_the_category(); $cat = $cat[0];
    echo get_category_parents($cat, TRUE, ' ' . $delimiter . ' ');
    echo $currentBefore;
    echo $currentAfter;


  5. igaf
    Posted 3 years ago #

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    We can't publicly access the forums of wpzoom

    But I can already tell you more or less the problem your theme has... it assumes that every custom post type has normal post categories associated with it. That's not a requirement, and your theme doesn't account for it.

  7. igaf
    Posted 3 years ago #

    OH. Sorry.
    The Problem is solved: I will copy the solution here.

    I had to paste in the functions.php:
    function my_em_posttype_cat_default($EM_Object){
    global $post;
    if( $post->post_type == EM_POST_TYPE_EVENT || $post->post_type == EM_POST_TYPE_LOCATION ){
    $categories = get_the_category();
    if( count($categories) == 0 ){
    //assign a category to this
    wp_set_object_terms($post->ID, 'uncategorized','category');
    add_action('template_redirect','my_em_posttype_cat_default', 1,1);

  8. DulciePanda
    Posted 2 years ago #

    I am currently editing an education page so that relevant information is seen before clicking on the school for the full profile.

    I'm doing this using the_meta() within the loop, all very new to me.

    I've created the relevant custom fields, however whenever I try to remove the fields:
    (Which were there when I took over, and I don't know where they come from etc)
    Then they just come back. Are they important? How can I remove them, or at least hide them?

    Thank you - you can see the page I'm currently working on here: http://thebathmag.co.uk/z-list-schools/


  9. angelo_nwl
    NetWebLogic Support
    Posted 2 years ago #

    can you re-post this in a new thread since this post is quite old and to avoid confusion also.

  10. AlexGu777
    Posted 2 years ago #

    As in the head to add another icon YouTube, for example?
    thank you

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic