community events list page – source code on frontend

Home Forums Calendar Products Community Events community events list page – source code on frontend

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #971661
    Jacob
    Participant

    Hello Team,

    After the 3.10 update my “community events list page” page appears to show some source code. I’m not a developer by far and can’t really say if this is due to the update or anything else on my page. I’m lost and would appreciate your help:

    Source code displayed:
    “class Tooltips_Walker extends Walker_Nav_Menu { function start_el(&$output, $item, $depth, $args) { $classes = empty ( $item->classes ) ? array () : (array) $item->classes; $class_names = join( ‘ ‘ , apply_filters( ‘nav_menu_css_class’ , array_filter( $classes ), $item ) ); ! empty ( $class_names ) and $class_names = ‘ class=”‘. esc_attr( $class_names ) . ‘”‘; $attributes = ”; if(strstr($class_names, ‘tooltips’)) { $attributes = ‘ class=”tooltips”‘; } $class_names = str_replace(‘tooltips’, ”, $class_names); $output .= ”
    “; ! empty( $item->attr_title ) and $attributes .= ‘ title=”‘ . esc_attr( $item->attr_title ) .'”‘; ! empty( $item->target ) and $attributes .= ‘ target=”‘ . esc_attr( $item->target ) .'”‘; ! empty( $item->xfn ) and $attributes .= ‘ rel=”‘ . esc_attr( $item->xfn ) .'”‘; ! empty( $item->url ) and $attributes .= ‘ href=”‘ . esc_attr( $item->url ) .'”‘; // insert description for top level elements only // you may change this $description = ( ! empty ( $item->description ) and 0 == $depth ) ? esc_attr( $item->description ) : ”; $title = apply_filters( ‘the_title’, $item->title, $item->ID ); $item_output = $args->before . “” . $args->link_before . $title . ‘ ‘ . $args->link_after . $args->after; // Since $output is called by reference we don’t need to return anything. $output .= apply_filters( ‘walker_nav_menu_start_el’ , $item_output , $item , $depth , $args ); } } function get_avatar_url($author_id, $size){ $get_avatar = get_avatar( $author_id, $size ); preg_match(“/src='(.*?)’/i”, $get_avatar, $matches); return ( $matches[1] ); }”

    After switching themes I’ve seen that is related with the theme. Probably my custom header.php. However, it worked before the 3.10 update.

    Hope you have an idea!

    Best wishes,
    Jacob

    #971685
    Jacob
    Participant

    Hey folks,

    Issue is resolved and nothing to do with your update at all:)

    Soooorryyy!!
    Jacob

    #971723
    Brian
    Member

    I am glad to see you were able to figure it out.

    I am going to go ahead and close this ticket. If you have a similar issue or another in the future, please do not hesitate to create a new ticket.

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘community events list page – source code on frontend’ is closed to new replies.