• maudie-muddled

    (@maudie-muddled)


    I am “playing” with the template Master-Suite. It’s a learning experience for me.

    I want to remove all dates and I’ve read a few suggestions on this forum. I looked at the code in this template and I don’t see anything that looks like what I’ve seen suggested for removal on the forum.

    I see this code that appears to refer to dates:

    .post-date {
    background: #99957B url(images/datebg.gif) no-repeat bottom center;
    float: left;
    width: 60px;
    height: 60px;
    margin: 0px 5px 0 0;
    }

    .post-date em {
    display: block;
    font-family: arial, verdana, sans-serif;
    color: #D6D7B4;
    font-weight: bold;
    text-align: center;
    }

    .post-date em.dateday {
    color: #FFF9CE;
    padding: 1px;
    font-size: 22px;
    }

    .post-date em.monthyear {
    padding: 1px;
    font-size: 16px;
    }

    .post-date em.year {
    padding: 1px;
    font-size: 12px;

    Is this what I would delete from the template to avoid dates?

    MM

Viewing 12 replies - 1 through 12 (of 12 total)
  • tafts

    (@tafts)

    You need to remove the below code from post.php, dont worry about anything in the style.css file.

    <div class="post-date"> 
    
        <em class="monthyear"><?php the_time('M'); ?> </em>
        <em class="dateday"><?php the_time('j'); ?> </em>
        <em class="year"><?php the_time('Y'); ?> </em>
    </div>
    Thread Starter maudie-muddled

    (@maudie-muddled)

    Oh dear! Here’s where I show my abysmal ignorance.

    Where do I find post.php?

    Sorry I sound so … dumb? New frontier! Once I get things set up the way I want them I’ll stop asking silly questions πŸ˜‰ Google Blogger this aint!

    MM

    tafts

    (@tafts)

    That’s ok we all have to start somewhere.

    It would be in the same place you found style.css, there will be a list of different .php files such as index.php, header.php, etc. and in that list you will find post.php, this is the code for how each of your posts will look.

    Thread Starter maudie-muddled

    (@maudie-muddled)

    Dear Tafts:

    Well, I went into the theme editor and I found that list down the right side of the page with post.php.

    I hit “select” on the page and selected Master-suite.

    I highlighted the appropriate words in post.php. I deleted them and took a look at the blog … and there it was … the date.

    Hmmm?

    When I went back to check out post.php, there it was, right back where I’d deleted it.

    Hmmm?

    Your student appears to have failed the test.

    MM

    tafts

    (@tafts)

    Did you make sure you updated/saved the post.php file after you made the change?

    Thread Starter maudie-muddled

    (@maudie-muddled)

    Dear Tafts:

    I have looked everywhere on that templates editor page where the post.php files appear along the right side of the page and I don’t see any words like “update” on the screen. Am I looking in the wrong spot?

    tafts

    (@tafts)

    There should be an update button just under the text box with all the code. If there is no button is there a line of text saying you do not have permission to edit this file. If so you will need to change the permission on the files. To do this go to: http://codex.wordpress.org/Changing_File_Permissions

    Thread Starter maudie-muddled

    (@maudie-muddled)

    <div class=”main_con_time”>by <?php the_author_link(); ?>γ€€<?php edit_post_link(‘[Edit]’); ?>γ€€<?php the_date(”) ?> <?php the_time(”) ?></div>

    I have switched to tarimon-notse 1.1 template.

    Are the codes above the ones that I would delete if I wanted to delete dates and author on my posts?

    http://mrsmuddled.com

    tafts

    (@tafts)

    Yes, you will need to delete it from both index.php and single.php

    Thread Starter maudie-muddled

    (@maudie-muddled)

    Thank you for your reply.

    I understand what you are saying – however – I notice at the bottom of all the HTML there is a note re altering the code. Can you tell me in just a few words what exactly I have to do so that when I change the template it will alter my blog. I’ve clicked on the codex word and … I really don’t understand what I’m reading.

    Thanks in advance for your attention.

    Thread Starter maudie-muddled

    (@maudie-muddled)

    By the way, I am on WP via FTP. … if that makes a difference to your answer.

    tafts

    (@tafts)

    Well if your unable to edit any of the page in WordPress it probably has something to do with the permissions as I mentioned earlier. But you can always try editing the files in another program like notepad, uploading the changed files should do the trick to the theme, and you wont have to edit anything through WordPress.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Removing dates from Master-Suite template’ is closed to new replies.