WordPress.org

Ready to get started?Download WordPress

Forums

Spun
Time stamp the post (18 posts)

  1. fatiyhaj
    Member
    Posted 7 months ago #

    Note: This is regarding Spun version 1

    http://www.writethetownred.com

    I want to time stamp each post by placing the date under the circles is this possible?

  2. Andrew
    Forum Moderator
    Posted 7 months ago #

    Looks doable.

    First set up a Child Theme: http://codex.wordpress.org/Child_Themes

  3. fatiyhaj
    Member
    Posted 7 months ago #

    Ok I have one installed

  4. Andrew
    Forum Moderator
    Posted 7 months ago #

    Copy "content-home.php" from the Spun theme and paste it into your Child Theme folder

  5. Andrew
    Forum Moderator
    Posted 7 months ago #

    Then try replacing all of the code from that file with the code in this PasteBin page: http://pastebin.com/WZKW1EvW

  6. Andrew
    Forum Moderator
    Posted 7 months ago #

    Then add this to the bottom of your Child Theme style.css file:

    /* Date under circles */
    .blog .hentry {
        margin-bottom: 2em;
        text-align: center;
    }
    
    .hentry.no-thumbnail {
        overflow: visible;
        opacity: 1;
        background: none;
    }
    
    .hentry.no-thumbnail a {
        opacity: .2;
        background: #444;
        -webkit-border-radius: 100%;
        -moz-border-radius: 100%;
        border-radius: 100%;
    }
    
    .hentry.no-thumbnail a:hover {
        opacity: 1;
    }
    
    .hentry .date {
        display: block;
        margin-top: .3em;
        color: #666;
        white-space: nowrap;
    }
  7. fatiyhaj
    Member
    Posted 7 months ago #

    Not sure if I'm doing something wrong but it doesn't work it
    just made my red circles gray

  8. Andrew
    Forum Moderator
    Posted 7 months ago #

    Could you link to a page with the issue?

  9. Andrew
    Forum Moderator
    Posted 7 months ago #

    Oh in your case add this to the bottom of your Child Theme style.css file instead of the CSS I recommended above:

    /* Date under circles */
    .blog .hentry {
        margin-bottom: 2em;
        text-align: center;
    }
    
    .hentry.no-thumbnail {
        overflow: visible;
        opacity: 1;
        background: none;
    }
    
    .hentry.no-thumbnail a {
        background: #F70202;
        -webkit-border-radius: 100%;
        -moz-border-radius: 100%;
        border-radius: 100%;
    }
    
    .hentry.no-thumbnail a:hover {
        background: #444;
    }
    
    .hentry .date {
        display: block;
        margin-top: .3em;
        color: #666;
        white-space: nowrap;
    }

    Note: You can use either a Child Theme style.css file or Custom CSS plugin to hold your CSS modifications.

  10. Andrew
    Forum Moderator
    Posted 7 months ago #

    As you've created a Child Theme you need to copy over the "inc" folder to your Child Theme folder. That's just so that Spun can find the "desaturate.svg" file that's needed to help Firefox understand some CSS.

  11. fatiyhaj
    Member
    Posted 7 months ago #

    ok sorry I'm a little confused. Thanks for the code to insert the date under the circle for when the post was published but I'm confused at the steps. Do I just copy and paste the code or based on your responses do I have to do something prior to that? I ask because when I pasted the code it's not working

  12. Andrew
    Forum Moderator
    Posted 7 months ago #

    These are all the steps you need to take after you've set your Child Theme up, in order:

    1. Copy "content-home.php" from the Spun theme and paste it into your Child Theme folder
    2. Replace all of the code in your "content-home.php" Child Theme file with the code from this PasteBin page: http://pastebin.com/WZKW1EvW
    3. Add the CSS from this post to the bottom of your Child Theme style.css file
  13. fatiyhaj
    Member
    Posted 6 months ago #

    I followed the steps but it only time stamped one of the circles. Instead am I able to place the word "recent" with a small arrow pointing toward the right. My most recent post is death to the old me.

  14. fatiyhaj
    Member
    Posted 6 months ago #

    Oh one more thing I still have the older version of spun 1.0.7

  15. Andrew
    Forum Moderator
    Posted 6 months ago #

    Can you activate your Child Theme again?

  16. fatiyhaj
    Member
    Posted 6 months ago #

    My child theme is active

  17. Andrew
    Forum Moderator
    Posted 6 months ago #

    Sorry I can't see your Child Theme activated on your site.

  18. fatiyhaj
    Member
    Posted 6 months ago #

    That's strange, it is activated. The way my blog looks is because of the changes I made using the custom CSS/child theme

Reply

You must log in to post.

About this Theme

About this Topic