Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1488170

    On a category archive page, where the postslider is used, the display of the date is not consistent. I figured out it has to do with the excerpt.

    In:
    /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider/postslider.php: 1105

    if( ( $show_meta && ! empty( $excerpt ) ) || in_array( $show_meta_data_post, array( 'always', 'on_empty_content' ) ) )

    The excerpt sometimes seems empty, but is not. The excerpt sometimes only consist of spaces or newlines. Result: the date on some posts is displayed even if it shouldn’t.

    A small fix for a next update should to trim the excerpt: $excerpt = trim($excerpt);

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.