• Resolved howtobalancemyself

    (@howtobalancemyself)


    Hello ??
    I would like to know how I can remove the auto author, date and category links on each post. Thank you

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • the quickest is to hide them with CSS, via ‘Appearance’ – ‘Customize’ – ‘Additional CSS’:

    .entry-categories-inner, .post-meta-single-top { display: none; }

    do you want to keep the tag links below the post?
    to hide them also, add:

    .post-meta-single-bottom { display: none; }

    Thread Starter howtobalancemyself

    (@howtobalancemyself)

    Thank you very much! It worked.

    I hid only the author and date display.

    Great,
    How would I do, if i just wanted to remove the author?
    Thank you!

    Moderator James Huff

    (@macmanx)

    Via Additional CSS in your Customizer, add this:

    .post-author.meta-wrapper {
        display: none;
    }

    How to i can do this from PHP code?

    Because that hide the metas, but no remove.

    @evasquez07 to do it from PHP…at least in the Twenty-Twenty theme just remove the line that reads:

    twentytwenty_the_post_meta( get_the_ID(), 'single-top' );

    This is a temporary solution that would likely get overwritten if you update your Twenty-Twenty template. For a more permanent solution, you should a create a child theme (see instructions here: https://kinsta.com/blog/twenty-twenty-theme/#child-theming).

    • This reply was modified 4 years, 8 months ago by sshakir.
    • This reply was modified 4 years, 8 months ago by sshakir.

    I use twenty twenty theme…i have tried the above written css code… it’s not working..pl tell me how I can remove the author name..I have tried yoast seo plugin also by disabling author archives, still it’s not working.

    Moderator James Huff

    (@macmanx)

    This still works: https://www.ads-software.com/support/topic/remove-author-date-category/#post-12798495

    Are you using any sort of caching plugin, or do you see a “Clear/Purge Cache” button in your Dashboard or admin bar? If so, would you please try clearing the cache?

    Note: You do not need to install a caching plugin at this point just to clear a cache you don’t have. If you don’t have a caching plugin or a way to clear a server-level cache, just say so and let us know the URL of the site with the problem. ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Remove Author, Date & Category’ is closed to new replies.