tomasir
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Raindrops Theme: Remove This entry was posted in:Hello,
I tried to do the same. But unfortunately unsuccesfully ??
I earlier remove part “Bookmarks the permalink”. Now I tried from my forum remove: “Posted on by tomasir ” which I see on my web: https://www.meteoryty.org
I found:
/**
* Echo posted in block
*
*
* loop.php
*
*/
if (!function_exists(‘raindrops_posted_in’)) {
function raindrops_posted_in() {
// Retrieves tag list of current post, separated by commas.
$tag_list = get_the_tag_list( ”, ‘, ‘ );
if ( $tag_list ) {
$posted_in = __( ‘This entry was posted in %1$s and tagged %2$s. Bookmark the permalink.’, ‘Raindrops’ );
} elseif ( is_object_in_taxonomy( get_post_type(), ‘category’ ) ) {
$posted_in = __( ‘This entry was posted in %1$s. Bookmark the permalink.’, ‘Raindrops’ );
} else {
$posted_in = __( ‘Bookmark the permalink.’, ‘Raindrops’ );
}// Prints the string, replacing the placeholders.
printf(
$posted_in,
get_the_category_list( ‘, ‘ ),
$tag_list,
the_title_attribute( ‘echo=0’ )
);
}
}And removing all – causes that I see only one news on my page. Removing:
$tag_list = get_the_tag_list( ”, ‘, ‘ );
if ( $tag_list ) {
$posted_in = __( ‘This entry was posted in %1$s and tagged %2$s. Bookmark the permalink.’, ‘Raindrops’ );
} elseif ( is_object_in_taxonomy( get_post_type(), ‘category’ ) ) {
$posted_in = __( ‘This entry was posted in %1$s. Bookmark the permalink.’, ‘Raindrops’ );
} else {
$posted_in = __( ‘Bookmark the permalink.’, ‘Raindrops’ );
}causes, that I see nothing.
The second part:
/* printf(
$posted_in,
get_the_category_list( ‘, ‘ ),
$tag_list,
get_permalink(),
the_title_attribute( ‘echo=0’ )
);*/I didn’t manage to find anywhere ??
Hoping for your help