Home › Forums › WordPress Themes – Premium › Preferential › Meta data
- This topic has 5 replies, 12 voices, and was last updated 9 years, 2 months ago by
Sushil Adhikari.
-
AuthorPosts
-
July 3, 2014 at 4:21 pm #15324
Zdenka
MemberIs it possible to
1) only hide the meta data under the header, but display those at the bottom?
2) remove the author line (unnecessary when there is only one author)
3) add “Last modifed” line?July 3, 2014 at 7:58 pm #20196Sushil Adhikari
ModeratorYou can hide the meta data by doing some custom CSS to hide the div container that info content shows up in as:
.entry-meta {display: none;}
Everything else is going to be the same. You can look at the html source code of your page to see where and what you want to hide, but basically this is where a person needs to now do as mentioned above by seeing the container that something is in, look at the ID or class of it, and use that to display:none; in a custom CSS stylesheet.
July 3, 2014 at 9:59 pm #20204Zdenka
MemberOh, yes, I understand that. I might have not written it clearly. When
.entry-meta {display: none;}
is added to CSS stylesheet, it affects both the “top” and the footer.entry-meta. I just can’t figure out how to maintain the one called “footer” and remove only the “top”. The basic setting in the customizer offers only to hide the footer.
BTW it seems like the footer.entry-meta includes the bottom “edit” link. So when the code above is applied, the edit link in individual posts disappears as well.Ok.
.meta-author {display: none}
But how to remove the gap that appears there, the
tag?
As for “Last modified” I guess it can’t be done in a simple CSS…
I’m just staring at that part:…having no idea where to apply there something from here: http://codex.wordpress.org/Function_Reference/the_modified_date without destroing the structure.
How about adding Last modified (option?) to the theme in an update? Just a suggestion.
July 4, 2014 at 1:45 am #20207Sushil Adhikari
ModeratorUnfortunately as the code is, your display none will affect it all, but it’s possible to do some creative CSS to target only the page that exists on. To be honest, this is where you need to have some CSS experience. It’s a bit difficult to really do a tutorial here if you are not familiar with this. As for the modified date, yes, you have to dig into the php code as well if you want that in there….something I am guessing you won’t want to do.
July 4, 2014 at 8:15 am #20220Zdenka
MemberThanks. You understand very well.
Why does “The basic setting” in the customizer includes the option to hide the footer post info but not the option to hide the top post info?
It seems like the footer.entry-meta includes the bottom “edit” link. So when the the option to hide footer post info is chosen, the edit the post link disappears also. Is that intended?
How about adding Last modified (option?) to the theme in an update? Just a suggestion.
July 4, 2014 at 11:25 pm #15325Sushil Adhikari
ModeratorI will definitely give that some thought on the next update…more likely I will.
-
AuthorPosts
- You must be logged in to reply to this topic.