WordPress.org

Ready to get started?Download WordPress

Forums

Quark
[resolved] removing author and date (4 posts)

  1. catwingz
    Member
    Posted 5 months ago #

    I tried following the instructions from
    this thread, substituting the name of the child theme. There has been no noticeable change. The site in progress is here. What else do I need to do? or what should I do instead?

    Thank you

  2. ahortin
    Member
    Theme Author

    Posted 5 months ago #

    You haven't followed the instsructions in that post correctly. You haven't actually removed that line from the various template files.

    It looks like you've simply tried to comment it out and you're not using a valid html comment. You can see on your page, just above and below the post date/author section where '/*' and '*/' has been printed out on the page.

    As that post mentions, if you wish to stop the Date, Author, Category & No. Comments from displaying, then you'll need to remove the following line...

    <?php quark_posted_on(); ?>

    From all the template files that start with 'content'.
    ie. Remove it from content.php, content-video.php, content-status.php etc.

  3. catwingz
    Member
    Posted 5 months ago #

    That must have been a bad day. I know better!

    It's all good now, thanks

    What would I do different to just remove the author, or to just remove the author and date? I wasn't quite planning on the whole bar disappearing. For this site it will work, but there is another I would like to be more selective about if it is possible.

  4. ahortin
    Member
    Theme Author

    Posted 5 months ago #

    In that case, edit the function quark_posted_on() to remove the bits you don't want. If you're using a child theme, add a copy of the function in your child theme functions.php file and then edit it.

Reply

You must log in to post.

About this Theme

About this Topic