Viewing 4 replies - 1 through 4 (of 4 total)
  • radektj

    (@radektj)

    WP tags? Position?

    Thread Starter miramare

    (@miramare)

    Yes,under excerpt.

    radektj

    (@radektj)

    wp-content/plugins/recent-posts-widget-extended/includes/functions.php and extra code below line 204, excerpt section:

    if ( $args['excerpt'] ) :
    	$html .= '<div class="rpwe-summary">';
    		$html .= wp_trim_words( apply_filters( 'rpwe_excerpt', get_the_excerpt() ), $args['length'], ' &hellip;' );
    		if ( $args['readmore'] ) :
    			$html .= '<a href="' . esc_url( get_permalink() ) . '" class="more-link">' . $args['readmore_text'] . '</a>';
    		endif;
    	$html .= '</div>';
    endif;
    

    tags (extra code):

    $html .= '<span class="rpwe-tags">' . get_the_tag_list('<p>Tags: ',', ','</p>') . '</span>';

    and additional css:

    .rpwe-tags {
      font-size: 12px;
    }
    Thread Starter miramare

    (@miramare)

    Thank you very much. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How can I display Tags in each post’ is closed to new replies.