• Resolved willow6

    (@willow6)


    Can anyone help me, i’m trying to get rid of all the dates on my site and the comment function. i downloaded a plugin to get rid of all dates – but it didnt work. I also tried getting rid of the html relating to time in my single.php file …but that didnt work either.

    In relation to the comments, I tried doing the above without any luck. I also have a comment.php file – I deleted the entire content – which made the comment function non-existant but on the post there is still a dead link to comment – which i cannot get rid of either.

    here are the links to the two files if you want to have a look at them:
    comment.php

    single.php

    any help would be vey much appreciated!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Looks like you have removed the right code from the single.php file. Perhaps it’s still in your page.php file and your index.php file.

    The index is the default, page.php is for pages, and single.php is for your single blog posts (in case you weren’t aware). You will find the date tags in all those files and in any other file your theme uses to call the wordpress loop.

    If none of that works, you might want to install the firebug extension for Firefox, and inspect the css elements of the areas you want to remove.

    You can then set the css element to display none.

    example css …

    .meta {
       color: #ffffff;
       font-size; 10px;
    }

    changing it to display none would look like this …

    .meta {
      display: none;
    }

    This workaround isn’t really the best solution, as it leave unused code in your files, but until you get familiar with the wordpress tags it may be your best shot.

    … Scott

    Thread Starter willow6

    (@willow6)

    Hi Scott, Thanks for the info (I’m a TOTAL novice! so all help/info is very hepfull!)

    I managed to find the relevant bits of html in the index.php file (nothing at all in the page file – i’d already checked there)

    So victory at last – no comments or dates on my page!

    Thanks very much! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting rid of dates on posts and all comment functions’ is closed to new replies.