Home Forums WordPress Themes – Premium Preferential Hiding Author Box

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #15416
    Judy Asman
    Participant

    Hi, 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!

    #20352
    Sushil Adhikari
    Moderator

    Hi 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;}
    #20353
    Judy Asman
    Participant

    Hi, 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.

    #20354
    Sushil Adhikari
    Moderator

    No 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.

    #20355
    Judy Asman
    Participant

    Ahh interesting. yes, I just added a new author. That would explain as I did not notice it before! Thank you again 🙂

    #20367
    Zdenka
    Member

    Hi 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?

    #20384
    Judy Asman
    Participant

    Hi, 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?

    #20385
    Zdenka
    Member

    Hi 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.

    #20387
    Judy Asman
    Participant

    Thanks 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!!

    #20389
    Sushil Adhikari
    Moderator

    I’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' ), '' ); ?>
    #20392
    Zdenka
    Member

    Thank you very much André! That worked perfectly!
    (.meta-author {display: none;} removed the text but leaving an empty line)

    #20393
    Sushil Adhikari
    Moderator

    You may need to modify the content-single.php then to remove the

    #15417
    Zdenka
    Member

    I 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!

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.