delete "This entry was posted in"
-
Hey,
After each post I have something like this: “This entry was posted in…”
i found post in forum how remove it but i have different code and i don’t know how i can remove it.
In functions.php i found function and I have:Template function posted in * * * * loop.php * */ if ( ! function_exists( 'raindrops_posted_in' ) ) { function raindrops_posted_in( ) { global $post; if( is_sticky() ){ return; } $format = get_post_format( $post->ID ); $tag_list = get_the_tag_list( '', ' ' ); if ( $format === false ) { if ( $tag_list ) { $posted_in = '<span class="this-posted-in">'. esc_html__( 'This entry was posted in','Raindrops' ). '</span> %1$s <span class="tagged">'. esc_html__( 'and tagged', 'Raindrops' ). '</span> %2$s <span class="bookmark-the">'. esc_html__( 'Bookmark the', 'Raindrops' ). '</span>'; } elseif ( is_object_in_taxonomy( get_post_type( ), 'category' ) ) { $posted_in = '<span class="this-posted-in">'. esc_html__( 'This entry was posted in', 'Raindrops' ). '</span> %1$s '; } else { $posted_in = ''; } $result = $format.sprintf( $posted_in, get_the_category_list( ' ' ), $tag_list ); echo apply_filters( "raindrops_posted_in", $result ); } else{ if ( $tag_list ) { $posted_in = '<span class="this-posted-in">'. esc_html__( 'This entry was posted in','Raindrops' ). '</span> %1$s <span class="tagged">'. esc_html__( 'and tagged', 'Raindrops' ). '</span> %2$s '. ' <span class="post-format-text">%4$s</span> <a href="%3$s"> <span class="post-format">%5$s</span></a>'; } elseif ( is_object_in_taxonomy( get_post_type( ), 'category' ) ) { $posted_in = '<span class="this-posted-in">'. esc_html__( 'This entry was posted in', 'Raindrops' ). '</span> %1$s %2$s'. ' <span class="post-format-text">%4$s</span><a href="%3$s"> <span class="post-format">%5$s</span></a>'; } else { $posted_in = '<a href="%3$s"> <span class="post-format-text">%4$s</span> <span class="post-format">%5$s</span></a>'; } $result = printf( $posted_in, get_the_category_list( ' ' ), $tag_list, esc_url( get_post_format_link( $format ) ), esc_html( 'Format', 'Raindrops' ), get_post_format_string( $format ) ); echo apply_filters( "raindrops_posted_in", $result ); } } } /**what should I do to remove “This entry was posted in…”
please help me
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
The topic ‘delete "This entry was posted in"’ is closed to new replies.
