• Resolved axiomhoney

    (@axiomhoney)


    Hello,
    I wish to hide the author name and date from all the posts and pages of my site.
    Please guide me in detail, how can I do it?

    Kind Regards

    Axiom

Viewing 6 replies - 1 through 6 (of 6 total)
  • What theme are you using? Can you post a link to your site?

    Thread Starter axiomhoney

    (@axiomhoney)

    https://www.friendssociety.org

    I am using theme fBiz

    Hi.
    I think the easiest way is to just add a css something like this.

    .page-after-content {
        display: none;
    }

    or you can erase the php codes (not the files). It might be pretty hard but it’ll work out ok.

    Thread Starter axiomhoney

    (@axiomhoney)

    Dear Yuki
    Thanks for your reply.
    Actually I am new in WordPress, Can you please guide me in detail, where in CSS, I can add this code, or in which file, I should remove the code.
    Regards

    Editing the theme files to remove the code is probably overkill in this situation. Also, if you edit the theme files directly, you’ll lose all those changes if the theme is ever updated in the future, to fix security issues or bugs or to add new features.

    If your theme has a built-in custom CSS option, use it; otherwise, get a custom CSS plugin and use the code that Yuki suggested:

    .page-after-content {
        display: none;
    }
    Thread Starter axiomhoney

    (@axiomhoney)

    Hi,
    I have tried the built in custom CSS option but it didn’t work, Then I tried to remove the code

    <span class="author-icon">
    			<?php the_author_posts_link(); ?>
    		</span><!-- .author-icon -->

    and it works fine.
    My website is in trial period, so I will try the custome CSS Plugin too.
    Overall , my problem has been solved.
    Thanks to all the guys who supported me.
    Kind Regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to hide Author Name and date’ is closed to new replies.