WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. igaf
    Member
    Posted 1 year 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
    Urs

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 1 year ago #

    Hi,

    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 1 year 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

    http://codex.wordpress.org/WP_DEBUG

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

  4. igaf
    Member
    Posted 1 year 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;
    the_title();
    echo $currentAfter;
    _____________

    hmmm...

  5. igaf
    Member
    Posted 1 year ago #

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 10 months 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:
    wpzoom_is_featured
    wpzoom_post_template
    (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/

    Dulcie

  9. angelo
    NetWebLogic Support
    Posted 10 months ago #

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

  10. AlexGu777
    Member
    Posted 5 months ago #

    Hi!
    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

About this Topic