Support » Theme: Quark » removing author and date

  • Resolved catwingz


    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Anthony Hortin


    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.

    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.

    Theme Author Anthony Hortin


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘removing author and date’ is closed to new replies.