How to erase date in blogposts and how to translate "View post"-button

Where can I work on the button text (should be german), or even remove it.
And where can I remove the date from the posts.

Hi There,

Please add the following code under functions.php file locates in your child theme:

add_filter( 'gettext', 'x_edit_texts' );
function x_edit_texts($translation){
	$translation = str_ireplace('View Post', 'Your German Text', $translation);
	return $translation;
}

To remove the date in the posts, please add this CSS under Customizer > Custom > Global CSS:

p.p-meta>span:nth-child(2) {
    display: none;
}

Hope it helps :slight_smile:

Thanks for helping.
Sorry, but I am not a programmer and I don´t know where is the functions.php file in the child theme (?)!
Could you explain a little more or send screenshot.
Thanks.
Another question: what will be the consequence of this code? will there be a possibilit to put my own german text in the button? And where will be the field for it?
Would there be also a possibility to remove the button completely?

Hi there,

You can find some detailed information about child themes here:

You can simple download it and install and activate it.

Once you got it activated, you may login through FTP and go to wp-content/themes/x-child and you will see the functions.php there.

If you want to get rid of it, please update the previous CSS to:

.featured-view,
p.p-meta>span:nth-child(2) {
    display: none;
}

Hope this helps.

Thanks, I just got rid of it, so I didn´t need to install child theme.
I have many more questions.
Let´s begin with the first ones:

  • is there any way to NOT display a post in the index featured posts, while the post is placed in the carussel and in the slider.
  • is there any way to have a
    or

    within the teasertext, which is visible in the index featured posts?

  • is there any way to display a link in this teasertext?
  • is there any way to change the hoover text “view post” on the images in the index featured posts? (german: zum Beitrag)

Thanks for your help!

Hi There,

Those changes could be done with custom development but would fall out of the scope of our support.

Thanks for understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.