Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1373214

    i have the postlsider testet with show the category, but it does not work.
    the cats are not shown.. i dont know why
    this is the code
    `if( ! empty( $title ) || in_array( $show_meta_data, array( ‘always’, ‘on_empty_title’ ) ) )
    {
    if( $show_meta )
    {
    $taxonomies = get_object_taxonomies( get_post_type( $the_id ) );
    $cats = ”;
    $excluded_taxonomies = array_merge( get_taxonomies( array( ‘public’ => false ) ), array( ‘post_tag’, ‘post_format’ ) );
    $excluded_taxonomies = apply_filters( ‘avf_exclude_taxonomies’, $excluded_taxonomies, get_post_type( $the_id ), $the_id );

    if( ! empty( $taxonomies ) )
    {
    foreach( $taxonomies as $taxonomy )
    {
    if( ! in_array( $taxonomy, $excluded_taxonomies ) )
    {
    $cats .= get_the_term_list( $the_id, $taxonomy, ”, ‘, ‘, ” ) . ‘ ‘;
    }
    }
    }
    if( ! empty( $cats ) )
    {
    $meta_out .= ‘<span class=”blog-categories minor-meta”> ‘;
    $meta_out .= $cats;
    $meta_out .= ‘</span>’;
    }
    }

    #1373215

    i have got. when i change the general layout for the blog it works!

    #1373235

    Hi,
    Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘postslider’ is closed to new replies.