Home › Forums › WordPress Themes – Premium › Preferential › Hiding Author Box
- This topic has 12 replies, 32 voices, and was last updated 9 years, 1 month ago by
Zdenka.
-
AuthorPosts
-
August 6, 2014 at 9:18 pm #15416
Judy Asman
ParticipantHi, Andre,
Can you please tell me how I can hide the author box on posts for Preferential. I’m using the Starbox plugin but the author box is repeating. Is this a function of your template or the Yoast SEO feature? If the latter, I will take care of it with the Yoast plugin.http://judyasman.com/how-to-do-a-blog/
Thank you!
August 6, 2014 at 9:40 pm #20352Sushil Adhikari
ModeratorHi Judy…. if you are referring to the “Author: Judy Asman” below the post heading, you can, but requires a display: none; with CSS.
dd.meta-author {display: none;}
August 6, 2014 at 9:54 pm #20353Judy Asman
ParticipantHi, Andre,
Thank you — actually, I’m referring to the author box below the post itself and above comments section. It has an author thumbnail and bio.August 6, 2014 at 9:58 pm #20354Sushil Adhikari
ModeratorNo worries..thanks for the clarification…. the container you can then hide is an ID of author-info
#author-info
Do you have more than one author in the site? This is usually when that author info shows up.
August 6, 2014 at 10:03 pm #20355Judy Asman
ParticipantAhh interesting. yes, I just added a new author. That would explain as I did not notice it before! Thank you again 🙂
August 18, 2014 at 7:29 am #20367Zdenka
MemberHi Judy,
I noticed you managed to remove the author line without any remnant gap from the meta data below the post and replace Published: by Last Modified. Please, would you help me do that?
And for fonts, are you using a plugin or have you changed them manually?
August 24, 2014 at 8:57 pm #20384Judy Asman
ParticipantHi, Zdenka,
I apologize for delay. I just got back in from out of town. I used the Starbox plugin for authors. I didn’t have to change the fonts as it reads from my child theme style.css.
Are you using Starbox? Do you have a link you can share?August 24, 2014 at 10:58 pm #20385Zdenka
MemberHi Judy,
thank you very much for your reply.
No, I don’t mean Starbox plugin but rather the post footer info which is like this:
Posted in:
Tagged:
Last Modified:This is different from the default Preferential footer info (tagged / posted in / author / published)
I’d love to have the “Last modified” date instead of “Published” and leave out the author.I’m using the Preferential child theme so I can easily add any custum CSS there. However I’m not so skilled in coding. I’ll be very grateful for any help.
August 25, 2014 at 6:33 pm #20387Judy Asman
ParticipantThanks Zdenka. I’m actually not using Preferential for this site but Preference — the older version of it. Maybe Andre can help you with this in the Preferential forum…I didn’t make any CSS adjustments to the section you are referring to. I hope this helps!!
August 25, 2014 at 11:40 pm #20389Sushil Adhikari
ModeratorI’d love to have the “Last modified” date instead of “Published” and leave out the author.
You will need to copy the content-single.php file into your child theme and then look for this:
Then change it to this:
On the line of code, make sure you change the “Published:” part to be “Modified”
As for removing the author from the post footer area, normally I would say do this custom CSS:
.meta-author {display: none;}
Or, with the copied content-single.php file in your child theme, you can remove this batch of code:
<?php printf( __( 'Articles by: %s', 'preferential' ), '' . get_the_author() . '' ); ?>
August 26, 2014 at 7:18 am #20392Zdenka
MemberThank you very much André! That worked perfectly!
(.meta-author {display: none;} removed the text but leaving an empty line)August 26, 2014 at 7:24 am #20393Sushil Adhikari
ModeratorYou may need to modify the content-single.php then to remove the
August 26, 2014 at 2:20 pm #15417Zdenka
MemberI just removed all the code about the author, just as you advised above. So far it’s sufficient for my needs. Thank you very, very much!
-
AuthorPosts
- You must be logged in to reply to this topic.