Add class for By and Published by
-
Hey, this is a long going problem with wordpress.
Blog post “By” dont have class or id. You cannot remove it or replace the name with css. Please can wordpress add:
<p class=”posted-by”>By<p>
<p class=”meta-posted-by”>Published by</p>Or similar to source code?
That way we can hide or rename that by to Written by or Published at or Created or another localisation names via css replace.
Now only way to rename it is to go localisation files with poedit and replace the name and save a new mo file.
And when new them update comes the edited localisation file gets overwritten. and whole process again.
If they could have class we can display new post name like this:
.post p {
display: none;
}
.post:after {
content: ‘Created by’;
}`
- The topic ‘Add class for By and Published by’ is closed to new replies.