Viewing 9 replies - 1 through 9 (of 9 total)
  • 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?

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    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

    https://codex.www.ads-software.com/WP_DEBUG

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

    Thread Starter igaf

    (@igaf)

    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…

    Thread Starter igaf

    (@igaf)

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    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.

    Thread Starter igaf

    (@igaf)

    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);
    _______________________________________

    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: https://thebathmag.co.uk/z-list-schools/

    Dulcie

    Plugin Support angelo_nwl

    (@angelo_nwl)

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

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How work it with Theme "Tribune" (WPZOOM)’ is closed to new replies.