• Alexandria

    (@leemilesonline)


    I’ve thought about using a plugin, but the few I’ve used so far have simply hidden one or the other, and not both.

    The site I’m working on at the moment with Hatch is alexandragrey.com. Looking to hide everything as seen here:
    https://alexandragrey.com/mos/
    Date: July 28, 2015
    Author: Alexandra Grey
    Category: 2015, Portfolios
    Tags: boston, exhibit, museum of science, pixar, science of pixar

    Just wanted to reach out and double check before I start messing with the themes code on what the best method would be for this. Should i alter the functions.php? I tried editing what I believed was the proper code in singular.php, but it didn’t make any difference on the FOS. Site is heavily cached through CloudFlare and W3, but even purging the cache and waiting didn’t allow for the changes to show so I reverted the file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there Alexandria,

    Hope you’re well today ??

    Editing theme files is not a good practice as all changes you do will be lost once you update the theme. In case you want to do that the best way would be to create a child theme.

    However, the easiest way to do something like this would be to use custom CSS. If you’re not looking to create a child theme you can use plugins such as this one https://www.ads-software.com/plugins/simple-custom-css

    Once the plugin is installed and activated you can add this code to Appearance -> Custom CSS:

    .singular .byline, .singular .entry-meta {
        display: none;
    }

    This should remove what you’ve mentioned above only on single pages.

    Hope this helps and have a great weekend ??

    Cheers,
    Bojan

    Dear,

    I have the same question.

    Objective: Hide Author and Date which is currently visible for all the posts and thumbnails on the right carousal of my website.

    Website: https://maureensweddinggowns.com

    Attemps so far:
    1. I have added this piece of code in the style.css but there was no effect. Both Author and Date were still visible. So I removed it
    Code used:
    .post-meta {
    display: none;
    }
    2. I have then added this code in custom.css and no result either. So I removed it
    3. I added the plug-in WordPress “WP Author, Date and Meta Remover”. Which by itself would hide Author and Date. But no result so I removed it

    Can someone help and let me know what am I missing. This task is supposedly quite easy but me being using a custom theme “Interstellar” has made it difficult.

    My website is given above. Any help is appreciated

    – Banna

    Hey @bannabannabanna,

    I’m not exactly sure where to find the author and date that you’re referring to, the only place where I could see it is on single post pages and I’m not sure what do you mean on right carousal of your website?

    Could you please point out this on a screenshot and post link to the page where I can see this and I’ll help you with the CSS code to remove this ??

    Cheers,
    Bojan

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide Author, Date, Time and Tags’ is closed to new replies.