ID ) . '" '; post_class( 'post-list-div' . ( ( SHAPESHIFTER_IS_MOBILE || esc_attr( $shapeshifter_theme_mods[ 'archive_page_post_list_animation_hover_select' ] ) == 'none' ) ? '' : ' hover-animated' ) . ( ( SHAPESHIFTER_IS_MOBILE || esc_attr( $shapeshifter_theme_mods[ 'archive_page_post_list_animation_enter_select' ] ) == 'none' ) ? '' : ' enter-animated shapeshifter-hidden' ), absint( $post->ID ) ); echo ' data-animation-enter="' . esc_attr( $shapeshifter_theme_mods[ 'archive_page_post_list_animation_enter_select' ] ) . '"'; echo ' data-animation-hover="' . esc_attr( $shapeshifter_theme_mods[ 'archive_page_post_list_animation_hover_select' ] ) . '"'; echo '>'; echo '
'; echo '

'; echo ''; $the_title = the_title( '', '', false ); echo ( ! empty( $the_title ) ? $the_title : esc_html__( '( No Title )', 'shapeshifter' ) ); echo ''; echo '

'; echo '
'; echo '
'; echo '
'; echo ''; $thumbnailURL = esc_url( wp_get_attachment_url( get_post_thumbnail_id() ) ); $alt = $post_title = wp_strip_all_tags( get_the_title( $post->ID ) ); if ( $thumbnailURL ) { $id = esc_attr( 'post-list-thumbnail' . $post->ID ); $class = esc_attr( 'post-list-thumbnail' ); $atts = array( 'class' => $class, 'alt' => ( $alt ? $alt : sprintf( esc_html__( 'No Titles - %s', 'shapeshifter' ), SHAPESHIFTER_SITE_NAME ) ), 'title' => ( $post_title !== '' ? $post_title : sprintf( esc_html__( 'No Titles - %s', 'shapeshifter' ), esc_html( SHAPESHIFTER_SITE_NAME ) ) ), 'data-style' => 'width: ' . absint( $shapeshifter_theme_mods[ 'archive_page_post_thumbnail_width' ] ) . 'px; height: ' . absint( $shapeshifter_theme_mods[ 'archive_page_post_thumbnail_height' ] ) . 'px; background-size: ' . absint( $shapeshifter_theme_mods[ 'archive_page_post_thumbnail_width' ] ) . 'px ' . absint( $shapeshifter_theme_mods[ 'archive_page_post_thumbnail_height' ] ) . 'px; background-position: center center; background-repeat: no-repeat;' ); echo get_the_post_thumbnail( $post->ID, absint( $shapeshifter_theme_mods[ 'archive_page_post_thumbnail_width' ] ) . 'px ' . absint( $shapeshifter_theme_mods[ 'archive_page_post_thumbnail_height' ] ) . 'px', $atts ); unset( $atts ); } else { $id = 'post-list-def-thumbnail' . absint( $post->ID ); $class ='post-list-def-thumbnail'; $default_cat_thumbnail = ShapeShifter_Frontend_Methods::shapeshifter_get_the_default_thumbnail_url( $post ); ShapeShifter_Frontend_Methods::shapeshifter_default_thumbnail_img_tag( $class, array( 'width' => absint( $shapeshifter_theme_mods[ 'archive_page_post_thumbnail_width' ] ) . 'px', 'height' => absint( $shapeshifter_theme_mods[ 'archive_page_post_thumbnail_height' ] ) . 'px' ), $alt, esc_url( $default_cat_thumbnail ) ); unset( $default_cat_thumbnail ); } unset( $thumbnailURL, $alt, $id, $class ); echo ''; echo '
'; echo '
'; if ( current_user_can( 'edit_others_posts' ) ) { echo '

' . esc_html__( 'Edit This Page', 'shapeshifter' ) . '

'; } if ( ! SHAPESHIFTER_IS_SEARCH ) { echo '

'; echo '' . esc_html( get_the_author() ) . ''; echo '

'; echo '

'; echo ''; echo '

'; } if ( get_post_type( $post ) === 'post' ) { echo '

'; echo ''; echo ''; the_category( ',' . SHAPESHIFTER_NBSP ); echo ''; echo '

'; } if ( get_the_terms( absint( $post->ID ), 'post_tag' ) ) { echo '

'; echo ''; echo ''; the_tags( '', ',' . SHAPESHIFTER_NBSP ); echo ''; echo '

'; } shapeshifter_archive_read_later( esc_url( get_the_permalink() ), esc_html( get_the_title() ) ); echo '
'; echo '
'; $excerpt = get_the_excerpt(); $excerpt_length = absint( apply_filters( 'shapeshifter_filter_excerpt_length', 200 ) ); if ( $excerpt != '' ) { echo wp_strip_all_tags( $excerpt ); } else { shapeshifter_the_excerpt( $post->post_content, $excerpt_length ); } unset( $excerpt, $excerpt_length ); echo ''; esc_html_e( 'Read More', 'shapeshifter' ); echo ''; echo '
'; echo '
'; echo '';