WordPress.org

Ready to get started?Download WordPress

Forums

Freedream 2010 Date Removal (5 posts)

  1. algreg
    Member
    Posted 3 years ago #

    Hey guys. I'm having a really difficult time trying to remove author and date from my blog. The name of the site is http://can-i-save-my-relationship.com. I tried a date exclusion SEO plugin but it didn't work no matter how I configured it.

    I also tried going through the theme editor files and searching for code with date and/or time. I found some stuff but nothing that looks like the code in the other posts. It's supposed to be something like ?<php_the time> and there's a little more to it but that's the gist.

    Can't find anything with the proper syntax to remove. Please let me know if you have any ideas. I like the theme and don't want to change it. I just want the date and author to disappear.

    I've got a capture page at the main site so you may have to go in through /articles at the end of the URL.

    Thanks in advance,
    Allen

  2. Dave
    Member
    Posted 3 years ago #

    If you're using posts, then the code should be in single.php.
    The code will be just underneath the <h1> tags, and will look something like this: <?php the_time('l, F jS, Y') ?>

  3. algreg
    Member
    Posted 3 years ago #

    Hey Dave. Thanks for replying. I looked through all my templates and did a Ctrl+F search for the terms time and date. Functions.php and attachment.php had items that I thought were similar to the code you gave me.

    I deleted them and tried different ways to delete them with and without surrounding code but none of them looked like your code and none of the "fixes" worked. I broke my site 3 times and repaired it with the code editor in my cPanel. I did all this and wasted four hours and still have dates on my site.

    I even deleted the post2page plugin I had and then tried again. Still...nothing.

    I tried the date exclusion SEO plugin and that didn't work either.

    This seems like such a common problem, it should be easy to fix without me having to change the theme. I really hope it is. This is a big pain in the butt.

  4. alchymyth
    Forum Moderator
    Posted 3 years ago #

    try and add

    .entry-meta {display:none;}

    to style.css of your theme.

  5. algreg
    Member
    Posted 3 years ago #

    Thanks Sweeper. I had to fumble around a bit inside the stylesheet to find the correct location but it worked.

    For those who want to reference this, I have the Freedream2010 theme. And by using Sweeper's suggestion to enter his code above, I found a way to delete dates off my site.

    You're going to need to go to the stylesheet and go under the heading Content. You will see quite a few headings like Content, Menu, Header, Global Elements etc. Each of these heading are underlined by a series of about 50 dashes or so. When you get under the Content one you need to scroll down a bit to where you find similar code to what's above.

    Use Sweeper's code and it will work. My surrounding code is:

    .entry-meta a:link,
    .entry-meta {display:none;}
    .entry-meta a:visited {
    	color: #B404AE;

    That's what I did and it worked like a charm.

    Thanks Sweeper.

Topic Closed

This topic has been closed to new replies.

About this Topic